summaryrefslogtreecommitdiff
path: root/data/event_scripts.s
diff options
context:
space:
mode:
Diffstat (limited to 'data/event_scripts.s')
-rw-r--r--data/event_scripts.s15
1 files changed, 5 insertions, 10 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s
index c6d6a5fa2..edab4987f 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -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