mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 05:00:12 +00:00
use ASM_MATCH_TRICK in ShowFieldMenu
This commit is contained in:
parent
db22b0a484
commit
ec922a6776
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user