From ec922a6776111c14d3b4ef017650a25d3071662f Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Fri, 18 Oct 2024 09:08:33 +0200 Subject: [PATCH] use ASM_MATCH_TRICK in ShowFieldMenu --- src/code_805D8C8_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code_805D8C8_1.c b/src/code_805D8C8_1.c index 15418c61..f9c004f4 100644 --- a/src/code_805D8C8_1.c +++ b/src/code_805D8C8_1.c @@ -2074,7 +2074,7 @@ void ShowFieldMenu(u8 a0_, bool8 a1) var_30.a0_32 = 1; if (sub_805FD74(GetLeader(), &var_30)) { // This actually doesn't do anything, it's just there to make the code match as the compiler does a `lsl r0, r0, #0x10, mov r0, r4` - leader = 0; leader = leader; + ASM_MATCH_TRICK(leader); } if (sub_805FD3C(&var_30) && sub_805FD74(GetLeader(), &var_30)) { sub_8044C10(1);