summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattleFactoryBattleRoom
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_BattleFactoryBattleRoom
parentb2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff)
update applymovement to remove magic numbers
Diffstat (limited to 'data/maps/BattleFrontier_BattleFactoryBattleRoom')
-rw-r--r--data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
index ab3ea4d7c..4298f7579 100644
--- a/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
@@ -55,7 +55,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
closemessage
applymovement 2, BattleFrontier_BattleFactoryBattleRoom_Movement_25B18B
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
- applymovement 255, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
+ applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
waitmovement 0
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B1B4
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7
@@ -65,7 +65,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
compare VAR_TEMP_F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
- applymovement 255, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
+ applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
waitmovement 0
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B1B4
setvar VAR_0x8004, 11