summaryrefslogtreecommitdiff
path: root/data/maps/SlateportCity
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/SlateportCity
parentb2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff)
update applymovement to remove magic numbers
Diffstat (limited to 'data/maps/SlateportCity')
-rw-r--r--data/maps/SlateportCity/scripts.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/maps/SlateportCity/scripts.inc b/data/maps/SlateportCity/scripts.inc
index dc3a81650..f8e1dc454 100644
--- a/data/maps/SlateportCity/scripts.inc
+++ b/data/maps/SlateportCity/scripts.inc
@@ -56,7 +56,7 @@ SlateportCity_MapScript2_1DCD12: @ 81DCD12
SlateportCity_EventScript_1DCD1C:: @ 81DCD1C
lockall
addobject 35
- applymovement 255, SlateportCity_Movement_1DCDA8
+ applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Movement_1DCDA8
applymovement 35, SlateportCity_Movement_1DCDAC
waitmovement 0
msgbox SlateportCity_Text_1DF032, MSGBOX_DEFAULT
@@ -576,7 +576,7 @@ SlateportCity_EventScript_1DD1F8:: @ 81DD1F8
waitmovement 0
delay 25
applymovement 11, SlateportCity_Movement_1DD33C
- applymovement 255, SlateportCity_Movement_1DD34A
+ applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Movement_1DD34A
applymovement 10, SlateportCity_Movement_1DD319
applymovement 9, SlateportCity_Movement_1DD326
waitmovement 0
@@ -608,7 +608,7 @@ SlateportCity_EventScript_1DD1F8:: @ 81DD1F8
msgbox SlateportCity_Text_1DE8A0, MSGBOX_DEFAULT
closemessage
applymovement 11, SlateportCity_Movement_1DD337
- applymovement 255, SlateportCity_Movement_1DD344
+ applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Movement_1DD344
waitmovement 0
removeobject 11
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_CAPTAIN_STERN
@@ -892,19 +892,19 @@ SlateportCity_EventScript_1DD5CE:: @ 81DD5CE
SlateportCity_EventScript_1DD5DC:: @ 81DD5DC
lockall
- applymovement 255, SlateportCity_Movement_2725B2
+ applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Movement_2725B2
waitmovement 0
opendoor 10, 12
waitdooranim
addobject 35
- applymovement 255, SlateportCity_Movement_1DD630
+ applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Movement_1DD630
applymovement 35, SlateportCity_Movement_1DD637
waitmovement 0
closedoor 10, 12
waitdooranim
msgbox SlateportCity_Text_1DF28C, MSGBOX_DEFAULT
closemessage
- applymovement 255, SlateportCity_Movement_1DD634
+ applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Movement_1DD634
applymovement 35, SlateportCity_Movement_1DD63A
waitmovement 0
removeobject 35