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
@@ -1064,7 +1064,7 @@ void Special_DrawElevatorCurrentFloorWindow(void)
{
const u8 *floorname;
u32 strwidth;
if (sub_81119D4(sub_809D6D4) != TRUE)
if (QuestLog_ScheduleRoutineIfNotInPlaybackMode(sub_809D6D4) != TRUE)
{
sElevatorCurrentFloorWindowId = AddWindow(&sElevatorCurrentFloorWindowTemplate);
TextWindow_SetStdFrame0_WithPal(sElevatorCurrentFloorWindowId, 0x21D, 0xD0);
@@ -1137,7 +1137,7 @@ void Special_ListMenu(void)
{
u8 taskId;
struct Task * task;
if (sub_81119D4(sub_809D6D4) != TRUE)
if (QuestLog_ScheduleRoutineIfNotInPlaybackMode(sub_809D6D4) != TRUE)
{
taskId = CreateTask(Task_CreateScriptListMenu, 8);
task = &gTasks[taskId];