summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattlePyramidTop
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-24 16:31:24 -0500
committerMelody <melody@pallet.town>2018-12-24 16:31:24 -0500
commit38293d429335648119a16b31482c53260a23be3f (patch)
tree31ae81ca116e39bb125169cbf6eeaafcf65fe6f0 /data/maps/BattleFrontier_BattlePyramidTop
parent370b1093cd40235951f0d1b6762006b085565499 (diff)
use player constant in obj script commands
Diffstat (limited to 'data/maps/BattleFrontier_BattlePyramidTop')
-rw-r--r--data/maps/BattleFrontier_BattlePyramidTop/scripts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc b/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc
index 1dc58363e..d04fe23f2 100644
--- a/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc
@@ -19,7 +19,7 @@ BattleFrontier_BattlePyramidTop_MapScript2_2550CE: @ 82550CE
BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8
setvar VAR_TEMP_1, 1
- turnobject 255, 2
+ turnobject EVENT_OBJ_ID_PLAYER, 2
compare VAR_TEMP_C, 0
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2550F3
setobjectxyperm 2, 0, 0