diff options
| author | Melody <melody@pallet.town> | 2018-12-19 14:08:01 -0500 |
|---|---|---|
| committer | Melody <melody@pallet.town> | 2018-12-19 14:08:01 -0500 |
| commit | 5e6ceeb631f038556da9daa24bcb2ccd5bcfa368 (patch) | |
| tree | a4e32295e18a557d1fcf8fdfb7ef63ca265c4b63 /data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc | |
| parent | b2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff) | |
update applymovement to remove magic numbers
Diffstat (limited to 'data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc')
| -rw-r--r-- | data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc b/data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc index 0a0df3636..7793fcbc2 100644 --- a/data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc +++ b/data/maps/BattleFrontier_BattlePikeCorridor/scripts.inc @@ -18,14 +18,14 @@ BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786 setvar VAR_0x8004, 24 setvar VAR_0x8005, 1 special CallBattlePikeFunction - applymovement 255, BattleFrontier_BattlePikeCorridor_Movement_25C80B + applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80B applymovement 1, BattleFrontier_BattlePikeCorridor_Movement_25C812 waitmovement 0 lockall msgbox BattleFrontier_BattlePikeCorridor_Text_25C817, MSGBOX_DEFAULT closemessage releaseall - applymovement 255, BattleFrontier_BattlePikeCorridor_Movement_25C80E + applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80E waitmovement 0 setvar VAR_0x8004, 2 setvar VAR_0x8005, 0 |
