summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattlePyramidTop
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-06 02:34:54 -0500
committerGitHub <noreply@github.com>2019-12-06 02:34:54 -0500
commitc51e0f3bae824a4c099bdcb0f938e298ef49fdcb (patch)
tree8825791d67d44b905e63ea59311c3d85711ac140 /data/maps/BattleFrontier_BattlePyramidTop
parentcb90f22c5e632cf8161ae2c3246d8d1f205ce39f (diff)
parent7beddd16dd81d79ee886183053037e68910e01d5 (diff)
Merge branch 'master' into fix-eventobj
Diffstat (limited to 'data/maps/BattleFrontier_BattlePyramidTop')
-rw-r--r--data/maps/BattleFrontier_BattlePyramidTop/scripts.inc12
1 files changed, 3 insertions, 9 deletions
diff --git a/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc b/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc
index 00a30b0e7..faf0ba288 100644
--- a/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePyramidTop/scripts.inc
@@ -6,10 +6,7 @@ BattleFrontier_BattlePyramidTop_MapScripts:: @ 82550A1
.byte 0
BattleFrontier_BattlePyramidTop_MapScript1_2550B6: @ 82550B6
- setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_UPDATE_LIGHT
- setvar VAR_0x8005, 200
- setvar VAR_0x8006, 0
- special CallBattlePyramidFunction
+ pyramid_updatelight 200, PYRAMID_LIGHT_SET_RADIUS
setvar VAR_TEMP_F, 1
end
@@ -64,13 +61,10 @@ BattleFrontier_BattlePyramidTop_EventScript_25518A:: @ 825518A
end
BattleFrontier_BattlePyramidTop_EventScript_255193:: @ 8255193
- setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_3
- setvar VAR_0x8005, 1
- special CallBattlePyramidFunction
+ pyramid_save CHALLENGE_STATUS_SAVING
special SavePlayerParty
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
- setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT_TRAINERS
- special CallBattlePyramidFunction
+ pyramid_inittrainers
frontier_setpartyorder FRONTIER_PARTY_SIZE
setvar VAR_TEMP_F, 1
end