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
@@ -55,10 +55,10 @@ ViridianCity_Mart_EventScript_16A268:: @ 816A268
lock
faceplayer
compare_var_to_value VAR_MAP_SCENE_VIRIDIAN_CITY_MART, 1
goto_if 1, EventScript_16A2A4
goto_if_eq EventScript_16A2A4
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if 1, EventScript_1A7AE0
goto_if_eq EventScript_1A7AE0
message Text_1A6211
waitmessage
pokemart Items_16A298