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
+3 -3
View File
@@ -5,10 +5,10 @@ VermilionCity_House1_EventScript_16B3A7:: @ 816B3A7
lock
faceplayer
checkflag FLAG_GOT_OLD_ROD
goto_if_eq EventScript_16B3CF
goto_if TRUE, EventScript_16B3CF
msgbox gUnknown_8193EC1, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_16B3D9
goto_if eq, EventScript_16B3D9
msgbox gUnknown_8194028
release
end
@@ -21,7 +21,7 @@ EventScript_16B3CF:: @ 816B3CF
EventScript_16B3D9:: @ 816B3D9
checkitemspace ITEM_OLD_ROD, 1
compare_var_to_value VAR_RESULT, 0
goto_if_eq EventScript_16B41A
goto_if eq, EventScript_16B41A
additem ITEM_OLD_ROD, 1
msgbox gUnknown_8193F2A
giveitemfanfaremsg gUnknown_8193F81, ITEM_OLD_ROD