goto_if_eq and switch/case in scripts

This commit is contained in:
PikalaxALT
2019-05-16 13:30:03 -04:00
parent 006881415d
commit a2d1b854d6
150 changed files with 999 additions and 1231 deletions
+2 -2
View File
@@ -5,11 +5,11 @@ SafariZone_SecretHouse_EventScript_162453:: @ 8162453
lock
faceplayer
checkflag FLAG_0x239
goto_if 1, EventScript_1624A9
goto_if_eq EventScript_1624A9
msgbox gUnknown_8177DC1
checkitemspace ITEM_HM03, 1
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_16249F
goto_if_eq EventScript_16249F
additem ITEM_HM03, 1
giveitemfanfaremsg gUnknown_8177E92, ITEM_HM03
msgbox gUnknown_8177EB7