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
@@ -4,7 +4,7 @@ SevenIsland_SevaultCanyon_House_MapScripts:: @ 8172182
SevenIsland_SevaultCanyon_House_EventScript_172183:: @ 8172183
lock
checkflag FLAG_0x002
goto_if 1, EventScript_172211
goto_if_eq EventScript_172211
playbgm BGM_FRLG_CHANSEY_DANCE, 0
applymovement 1, Movement_172231
waitmovement 0
@@ -16,7 +16,7 @@ SevenIsland_SevaultCanyon_House_EventScript_172183:: @ 8172183
textcolor 3
msgbox gUnknown_81A4DAF, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_172225
goto_if_eq EventScript_172225
msgbox gUnknown_81A4DD8
closemessage
call EventScript_1A6675