Use 'goto_if_eq VAR, value, Script' syntax
This commit is contained in:
@@ -52,14 +52,10 @@ Route16_NorthEntrance_1F_EventScript_NeedBikeTrigger::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
delay 20
|
||||
compare VAR_0x8008, 1
|
||||
call_if_eq Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterMidTop
|
||||
compare VAR_0x8008, 2
|
||||
call_if_eq Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterMid
|
||||
compare VAR_0x8008, 3
|
||||
call_if_eq Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterMidBottom
|
||||
compare VAR_0x8008, 4
|
||||
call_if_eq Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterBottom
|
||||
call_if_eq VAR_0x8008, 1, Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterMidTop
|
||||
call_if_eq VAR_0x8008, 2, Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterMid
|
||||
call_if_eq VAR_0x8008, 3, Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterMidBottom
|
||||
call_if_eq VAR_0x8008, 4, Route16_NorthEntrance_1F_EventScript_PlayerWalkToCounterBottom
|
||||
msgbox Route16_NorthEntrance_1F_Text_NoPedestriansOnCyclingRoad
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route16_NorthEntrance_1F_Movement_WalkRight
|
||||
|
||||
Reference in New Issue
Block a user