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
@@ -20,13 +20,13 @@ SaffronCity_House1_2F_EventScript_16EB70:: @ 816EB70
SaffronCity_House1_2F_EventScript_16EB7B:: @ 816EB7B
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if 1, EventScript_1A7AE0
goto_if_eq EventScript_1A7AE0
special sub_8112364
lock
faceplayer
checkitem ITEM_POKE_DOLL, 1
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_1C4CF6
goto_if_eq EventScript_1C4CF6
checkplayergender
compare_var_to_value VAR_RESULT, 0
call_if 1, EventScript_16EBB7