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
@@ -5,7 +5,7 @@ Route18_EastEntrance_1F_MapScripts:: @ 8170378
Route18_EastEntrance_1F_MapScript1_17037E:: @ 817037E
clearflag FLAG_0x830
checkflag FLAG_0x271
call_if 1, EventScript_17038B
call_if eq, EventScript_17038B
end
EventScript_17038B:: @ 817038B
@@ -54,13 +54,13 @@ EventScript_1703D6:: @ 81703D6
waitmovement 0
delay 20
compare_var_to_value VAR_0x8008, 1
call_if 1, EventScript_17042F
call_if eq, EventScript_17042F
compare_var_to_value VAR_0x8008, 2
call_if 1, EventScript_17043A
call_if eq, EventScript_17043A
compare_var_to_value VAR_0x8008, 3
call_if 1, EventScript_170445
call_if eq, EventScript_170445
compare_var_to_value VAR_0x8008, 4
call_if 1, EventScript_170450
call_if eq, EventScript_170450
msgbox gUnknown_819FD0C
closemessage
applymovement 255, Movement_170469