summaryrefslogtreecommitdiff
path: root/data/maps/Route119_WeatherInstitute_2F
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/Route119_WeatherInstitute_2F
parentb2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff)
update applymovement to remove magic numbers
Diffstat (limited to 'data/maps/Route119_WeatherInstitute_2F')
-rw-r--r--data/maps/Route119_WeatherInstitute_2F/scripts.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/Route119_WeatherInstitute_2F/scripts.inc b/data/maps/Route119_WeatherInstitute_2F/scripts.inc
index 35dd538df..1feda2f60 100644
--- a/data/maps/Route119_WeatherInstitute_2F/scripts.inc
+++ b/data/maps/Route119_WeatherInstitute_2F/scripts.inc
@@ -51,7 +51,7 @@ Route119_WeatherInstitute_2F_EventScript_26FFC8:: @ 826FFC8
closemessage
addobject 7
applymovement 7, Route119_WeatherInstitute_2F_Movement_270170
- applymovement 255, Route119_WeatherInstitute_2F_Movement_27017C
+ applymovement EVENT_OBJ_ID_PLAYER, Route119_WeatherInstitute_2F_Movement_27017C
waitmovement 0
msgbox Route119_WeatherInstitute_2F_Text_270568, MSGBOX_DEFAULT
closemessage
@@ -73,7 +73,7 @@ Route119_WeatherInstitute_2F_EventScript_26FFC8:: @ 826FFC8
removeobject 3
removeobject 8
removeobject 7
- applymovement 255, Route119_WeatherInstitute_2F_Movement_270184
+ applymovement EVENT_OBJ_ID_PLAYER, Route119_WeatherInstitute_2F_Movement_270184
waitmovement 0
fadescreen 0
applymovement 5, Route119_WeatherInstitute_2F_Movement_270187