Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -583,12 +583,9 @@ EventScript_WhiteOut::
|
||||
end
|
||||
|
||||
EventScript_ResetMrBriney::
|
||||
compare VAR_BRINEY_LOCATION, 1
|
||||
goto_if_eq EventScript_MoveMrBrineyToHouse
|
||||
compare VAR_BRINEY_LOCATION, 2
|
||||
goto_if_eq EventScript_MoveMrBrineyToDewford
|
||||
compare VAR_BRINEY_LOCATION, 3
|
||||
goto_if_eq EventScript_MoveMrBrineyToRoute109
|
||||
goto_if_eq VAR_BRINEY_LOCATION, 1, EventScript_MoveMrBrineyToHouse
|
||||
goto_if_eq VAR_BRINEY_LOCATION, 2, EventScript_MoveMrBrineyToDewford
|
||||
goto_if_eq VAR_BRINEY_LOCATION, 3, EventScript_MoveMrBrineyToRoute109
|
||||
end
|
||||
|
||||
EventScript_MoveMrBrineyToHouse::
|
||||
@@ -801,10 +798,8 @@ Movement_UnusedBoardFerry:
|
||||
step_end
|
||||
|
||||
Common_EventScript_FerryDepartIsland::
|
||||
compare VAR_FACING, DIR_SOUTH
|
||||
call_if_eq Ferry_EventScript_DepartIslandSouth
|
||||
compare VAR_FACING, DIR_WEST
|
||||
call_if_eq Ferry_EventScript_DepartIslandWest
|
||||
call_if_eq VAR_FACING, DIR_SOUTH, Ferry_EventScript_DepartIslandSouth
|
||||
call_if_eq VAR_FACING, DIR_WEST, Ferry_EventScript_DepartIslandWest
|
||||
delay 30
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
call Common_EventScript_FerryDepart
|
||||
|
||||
Reference in New Issue
Block a user