summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattleTowerCorridor
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/BattleFrontier_BattleTowerCorridor
parentb2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff)
update applymovement to remove magic numbers
Diffstat (limited to 'data/maps/BattleFrontier_BattleTowerCorridor')
-rw-r--r--data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc b/data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc
index 9ff6bbc59..b0a9624f8 100644
--- a/data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc
+++ b/data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc
@@ -24,13 +24,13 @@ BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
- applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B39
+ applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B39
waitmovement 0
goto BattleFrontier_BattleTowerCorridor_EventScript_241B27
BattleFrontier_BattleTowerCorridor_EventScript_241B16:: @ 8241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B37
- applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B36
+ applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B36
waitmovement 0
BattleFrontier_BattleTowerCorridor_EventScript_241B27:: @ 8241B27