use TRUE and FALSE for flag conditionals; more story flags

This commit is contained in:
PikalaxALT
2019-10-20 21:24:16 -04:00
parent 6b503e306d
commit 9aa5709329
166 changed files with 1167 additions and 1165 deletions
@@ -4,14 +4,14 @@ FiveIsland_ResortGorgeous_House_MapScripts:: @ 8171EBD
FiveIsland_ResortGorgeous_House_EventScript_171EBE:: @ 8171EBE
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
checkflag FLAG_TEMP_2
goto_if_eq EventScript_172043
goto_if TRUE, EventScript_172043
compare_var_to_value VAR_STORAGE_UNKNOWN, 65535
goto_if_eq EventScript_171F0B
goto_if eq, EventScript_171F0B
compare_var_to_value VAR_STORAGE_UNKNOWN, 0
goto_if ne, EventScript_171F19
msgbox gUnknown_81A42A0
@@ -33,7 +33,7 @@ EventScript_171F19:: @ 8171F19
copyvar VAR_0x8004, VAR_STORAGE_UNKNOWN
specialvar VAR_RESULT, sub_80CC48C
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_171F34
goto_if eq, EventScript_171F34
goto EventScript_171EFE
end
@@ -64,7 +64,7 @@ EventScript_171F34:: @ 8171F34
msgbox gUnknown_81A458E
giveitem VAR_0x403B
compare_var_to_value VAR_RESULT, 0
goto_if_eq EventScript_172025
goto_if eq, EventScript_172025
setflag FLAG_TEMP_2
setvar VAR_STORAGE_UNKNOWN, 0
release