Finish script_menu code decomp

This commit is contained in:
PikalaxALT
2019-10-25 11:10:08 -04:00
parent 283084cce4
commit 0a440d658b
15 changed files with 800 additions and 1694 deletions
+2 -2
View File
@@ -1835,7 +1835,7 @@ bool8 ScrCmd_showmoneybox(struct ScriptContext *ctx)
u8 y = ScriptReadByte(ctx);
u8 ignore = ScriptReadByte(ctx);
if (!ignore && sub_81119D4(sub_809D6D4) != TRUE)
if (!ignore && QuestLog_ScheduleRoutineIfNotInPlaybackMode(sub_809D6D4) != TRUE)
DrawMoneyBox(GetMoney(&gSaveBlock1Ptr->money), x, y);
return FALSE;
}
@@ -1865,7 +1865,7 @@ bool8 ScrCmd_showcoinsbox(struct ScriptContext *ctx)
u8 x = ScriptReadByte(ctx);
u8 y = ScriptReadByte(ctx);
if (sub_81119D4(sub_809D6D4) != TRUE)
if (QuestLog_ScheduleRoutineIfNotInPlaybackMode(sub_809D6D4) != TRUE)
ShowCoinsWindow(GetCoins(), x, y);
return FALSE;
}