Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -7,8 +7,7 @@ Route112_CableCarStation_MapScripts::
|
||||
|
||||
Route112_CableCarStation_OnTransition:
|
||||
setescapewarp MAP_ROUTE112, 28, 28
|
||||
compare VAR_CABLE_CAR_STATION_STATE, 2
|
||||
call_if_eq Route112_CableCarStation_EventScript_MoveAttendantAside
|
||||
call_if_eq VAR_CABLE_CAR_STATION_STATE, 2, Route112_CableCarStation_EventScript_MoveAttendantAside
|
||||
end
|
||||
|
||||
Route112_CableCarStation_EventScript_MoveAttendantAside::
|
||||
@@ -35,10 +34,8 @@ Route112_CableCarStation_EventScript_Attendant::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox Route112_CableCarStation_Text_CableCarReadyGetOn, MSGBOX_YESNO
|
||||
compare VAR_RESULT, YES
|
||||
goto_if_eq Route112_CableCarStation_EventScript_RideCableCar
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq Route112_CableCarStation_EventScript_DeclineRide
|
||||
goto_if_eq VAR_RESULT, YES, Route112_CableCarStation_EventScript_RideCableCar
|
||||
goto_if_eq VAR_RESULT, NO, Route112_CableCarStation_EventScript_DeclineRide
|
||||
end
|
||||
|
||||
Route112_CableCarStation_EventScript_RideCableCar::
|
||||
|
||||
Reference in New Issue
Block a user