summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc
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_BattleDomePreBattleRoom/scripts.inc
parentcb90f22c5e632cf8161ae2c3246d8d1f205ce39f (diff)
parent7beddd16dd81d79ee886183053037e68910e01d5 (diff)
Merge branch 'master' into fix-eventobj
Diffstat (limited to 'data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc')
-rw-r--r--data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc27
1 files changed, 8 insertions, 19 deletions
diff --git a/data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc
index 320f81933..b8614fa3f 100644
--- a/data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleDomePreBattleRoom/scripts.inc
@@ -82,17 +82,13 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377:: @ 824B377
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3A9:: @ 824B3A9
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 9
- special CallBattleDomeFunction
+ dome_resolvewinners 9
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24BE9A
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
message BattleFrontier_BattleDomePreBattleRoom_Text_24BAD3
waitmessage
- setvar VAR_0x8004, 13
- setvar VAR_0x8005, 2
- special CallBattleDomeFunction
+ dome_save CHALLENGE_STATUS_PAUSED
playse SE_SAVE
waitse
fadescreen 1
@@ -102,16 +98,14 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD:: @ 824B3DD
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9B5, MSGBOX_DEFAULT
fadescreen 1
- setvar VAR_0x8004, 6
- special CallBattleDomeFunction
+ dome_showopponentinfo
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5:: @ 824B3F5
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A
fadescreen 1
- setvar VAR_0x8004, 7
- special CallBattleDomeFunction
+ dome_showtourneytree
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
@@ -153,13 +147,9 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
frontier_resetsketch
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 8
- special CallBattleDomeFunction
- setvar VAR_0x8004, 18
- special CallBattleDomeFunction
- setvar VAR_0x8004, 9
- special CallBattleDomeFunction
+ dome_set DOME_DATA_8
+ dome_reduceparty
+ dome_setopponent
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B748, MSGBOX_DEFAULT
closemessage
applymovement 1, BattleFrontier_BattleDomePreBattleRoom_Movement_24B64F
@@ -238,8 +228,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
special HealPlayerParty
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600
fadescreen 1
- setvar VAR_0x8004, 11
- special CallBattleDomeFunction
+ dome_showstatictourneytree
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F