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,18 +4,18 @@ FiveIsland_WaterLabyrinth_MapScripts:: @ 816884D
FiveIsland_WaterLabyrinth_EventScript_16884E:: @ 816884E
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_0x2DA
goto_if_eq EventScript_1688E3
goto_if TRUE, EventScript_1688E3
checkflag FLAG_0x2DB
goto_if_eq EventScript_16892C
goto_if TRUE, EventScript_16892C
msgbox gUnknown_818A80D
specialvar VAR_RESULT, sub_80CA76C
compare_var_to_value VAR_RESULT, 6
goto_if_eq EventScript_1688AC
goto_if eq, EventScript_1688AC
msgbox gUnknown_818A88F
release
end
@@ -34,7 +34,7 @@ EventScript_1688AC:: @ 81688AC
EventScript_1688BA:: @ 81688BA
countpokemon
compare_var_to_value VAR_RESULT, 6
goto_if_eq EventScript_16891F
goto_if eq, EventScript_16891F
setflag FLAG_0x2DA
giveegg SPECIES_TOGEPI
textcolor 3
@@ -51,12 +51,12 @@ EventScript_1688E3:: @ 81688E3
setvar VAR_0x8004, 175
specialvar VAR_RESULT, sub_80CD0F4
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_168895
goto_if eq, EventScript_168895
getspeciesname 1, SPECIES_TOGETIC
setvar VAR_0x8004, 176
specialvar VAR_RESULT, sub_80CD0F4
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_168895
goto_if eq, EventScript_168895
msgbox gUnknown_818A9C0
release
end