summaryrefslogtreecommitdiff
path: root/data/maps/SouthernIsland_Interior
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-19 14:08:01 -0500
committerMelody <melody@pallet.town>2018-12-19 14:08:01 -0500
commit5e6ceeb631f038556da9daa24bcb2ccd5bcfa368 (patch)
treea4e32295e18a557d1fcf8fdfb7ef63ca265c4b63 /data/maps/SouthernIsland_Interior
parentb2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff)
update applymovement to remove magic numbers
Diffstat (limited to 'data/maps/SouthernIsland_Interior')
-rw-r--r--data/maps/SouthernIsland_Interior/scripts.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/SouthernIsland_Interior/scripts.inc b/data/maps/SouthernIsland_Interior/scripts.inc
index b21fdecab..ff1425196 100644
--- a/data/maps/SouthernIsland_Interior/scripts.inc
+++ b/data/maps/SouthernIsland_Interior/scripts.inc
@@ -66,8 +66,8 @@ SouthernIsland_Interior_EventScript_242AD0:: @ 8242AD0
goto_if 0, SouthernIsland_Interior_EventScript_242B9A
setflag FLAG_0x0CE
setflag FLAG_TEMP_2
- special SpawnScriptEventObject
- applymovement 127, SouthernIsland_Interior_Movement_242BCA
+ special SpawnCameraObject
+ applymovement EVENT_OBJ_ID_CAMERA, SouthernIsland_Interior_Movement_242BCA
waitmovement 0
delay 50
waitse
@@ -76,11 +76,11 @@ SouthernIsland_Interior_EventScript_242AD0:: @ 8242AD0
waitmoncry
addobject 2
delay 30
- applymovement 127, SouthernIsland_Interior_Movement_242BCE
+ applymovement EVENT_OBJ_ID_CAMERA, SouthernIsland_Interior_Movement_242BCE
applymovement 2, SouthernIsland_Interior_Movement_242BDA
waitmovement 0
delay 50
- special RemoveScriptEventObject
+ special RemoveCameraObject
setvar VAR_LAST_TALKED, 2
compare VAR_0x40D5, 0
call_if 1, SouthernIsland_Interior_EventScript_242BA4