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
@@ -47,7 +47,7 @@ RocketHideout_B4F_EventScript_161363:: @ 8161363
removeobject 2
giveitem ITEM_SILPH_SCOPE
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_1A6BF9
goto_if_eq EventScript_1A6BF9
release
end
@@ -71,7 +71,7 @@ RocketHideout_B4F_EventScript_1613AD:: @ 81613AD
removeobject 4
giveitem ITEM_LIFT_KEY
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_1A6BF9
goto_if_eq EventScript_1A6BF9
release
end