goto_if_eq and switch/case in scripts

This commit is contained in:
PikalaxALT committed 2019-05-16 13:30:03 -04:00
1 parent 006881415d
commit a2d1b854d6
150 files changed
+999 -1231

No files matched your search

+2 -2
View File
@@ -7,13 +7,13 @@ PokemonTower_6F_EventScript_1634B8:: @ 81634B8
msgbox gUnknown_817A2F8
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if 1, EventScript_1A7AE0
goto_if_eq EventScript_1A7AE0
setwildbattle SPECIES_MAROWAK, 30, ITEM_NONE
special sub_807F904
waitstate
special sub_8112364
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_1634F5
goto_if_eq EventScript_1634F5
applymovement 255, Movement_163512
waitmovement 0
releaseall