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
@@ -18,7 +18,7 @@ CeladonCity_Condominiums_3F_EventScript_16C3F6:: @ 816C3F6
faceplayer
specialvar VAR_RESULT, sub_8088F58
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_16C412
goto_if_eq EventScript_16C412
msgbox gUnknown_8196356
release
end
@@ -33,7 +33,7 @@ EventScript_16C418:: @ 816C418
delay 60
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if 1, EventScript_1A7AE0
goto_if_eq EventScript_1A7AE0
special sub_80CA618
waitstate
release