script switch/case; name script conditionals
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user