script switch/case; name script conditionals

This commit is contained in:
PikalaxALT
2019-10-20 20:38:23 -04:00
parent 2aeefdc5de
commit 6b503e306d
132 changed files with 1559 additions and 1789 deletions
@@ -21,10 +21,10 @@ Route18_EastEntrance_2F_EventScript_17047E:: @ 817047E
goto_if_eq EventScript_1704D8
call EventScript_1A8CBD
compare_var_to_value VAR_0x8004, 6
goto_if 4, EventScript_1704D8
goto_if ge, EventScript_1704D8
call EventScript_1A8CC9
compare_var_to_var VAR_RESULT, VAR_0x8009
goto_if 5, EventScript_1704E2
goto_if ne, EventScript_1704E2
call EventScript_1A8CD9
msgbox gUnknown_81A59DA
setflag FLAG_0x257