Merge pull request #949 from GriffinRichards/doc-dome
Document Battle Dome and add facility party constants
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,48 +1,48 @@
|
||||
BattleFrontier_BattleDomeCorridor_MapScripts:: @ 824B0FE
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeCorridor_MapScript2_24B104
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeCorridor_OnFrame
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_MapScript2_24B104: @ 824B104
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeCorridor_EventScript_24B10E
|
||||
BattleFrontier_BattleDomeCorridor_OnFrame: @ 824B104
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_EventScript_24B10E:: @ 824B10E
|
||||
BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor:: @ 824B10E
|
||||
delay 16
|
||||
setvar VAR_TEMP_0, 1
|
||||
frontier_get FRONTIER_DATA_LVL_MODE
|
||||
compare VAR_RESULT, FRONTIER_LVL_OPEN
|
||||
goto_if_eq BattleFrontier_BattleDomeCorridor_EventScript_24B161
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1B2
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1A1
|
||||
goto_if_eq BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50
|
||||
waitmovement 0
|
||||
opendoor 13, 3
|
||||
waitdooranim
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1BE
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1AE
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLv50
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLv50
|
||||
waitmovement 0
|
||||
closedoor 13, 3
|
||||
waitdooranim
|
||||
goto BattleFrontier_BattleDomeCorridor_EventScript_24B18F
|
||||
goto BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_EventScript_24B161:: @ 824B161
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1D6
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1C1
|
||||
BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen:: @ 824B161
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen
|
||||
waitmovement 0
|
||||
opendoor 37, 3
|
||||
waitdooranim
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_24B1E6
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_24B1D2
|
||||
applymovement 1, BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLvOpen
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLvOpen
|
||||
waitmovement 0
|
||||
closedoor 37, 3
|
||||
waitdooranim
|
||||
BattleFrontier_BattleDomeCorridor_EventScript_24B18F:: @ 824B18F
|
||||
BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom:: @ 824B18F
|
||||
waitmovement 0
|
||||
setvar VAR_0x8006, 0
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM, 255, 5, 7
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1A1: @ 824B1A1
|
||||
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50: @ 824B1A1
|
||||
walk_up
|
||||
walk_left
|
||||
walk_left
|
||||
@@ -57,13 +57,13 @@ BattleFrontier_BattleDomeCorridor_Movement_24B1A1: @ 824B1A1
|
||||
walk_in_place_fastest_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1AE: @ 824B1AE
|
||||
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLv50: @ 824B1AE
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1B2: @ 824B1B2
|
||||
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50: @ 824B1B2
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
@@ -77,12 +77,12 @@ BattleFrontier_BattleDomeCorridor_Movement_24B1B2: @ 824B1B2
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1BE: @ 824B1BE
|
||||
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLv50: @ 824B1BE
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1C1: @ 824B1C1
|
||||
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen: @ 824B1C1
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
@@ -101,13 +101,13 @@ BattleFrontier_BattleDomeCorridor_Movement_24B1C1: @ 824B1C1
|
||||
walk_in_place_fastest_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1D2: @ 824B1D2
|
||||
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLvOpen: @ 824B1D2
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1D6: @ 824B1D6
|
||||
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen: @ 824B1D6
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
@@ -125,12 +125,13 @@ BattleFrontier_BattleDomeCorridor_Movement_24B1D6: @ 824B1D6
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1E6: @ 824B1E6
|
||||
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLvOpen: @ 824B1E6
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeCorridor_Movement_24B1E9: @ 824B1E9
|
||||
@ Unused
|
||||
BattleFrontier_BattleDomeCorridor_Movement_WalkToBattleRoomMidRight: @ 824B1E9
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249A35",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249E10",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249DFE",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_Lass",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249E07",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_FatMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249DED",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_Maniac",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -89,7 +89,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249A47",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -117,7 +117,7 @@
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249D52"
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -125,7 +125,7 @@
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249D84"
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -133,7 +133,7 @@
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249D6B"
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -141,7 +141,7 @@
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_249E34"
|
||||
"script": "BattleFrontier_BattleDomeLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,171 +1,168 @@
|
||||
BattleFrontier_BattleDomeLobby_MapScripts:: @ 82497E2
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeLobby_MapScript1_2497F2
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeLobby_MapScript2_24980F
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeLobby_OnResume
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomeLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleDomeLobby_MapScript1_2497F2: @ 82497F2
|
||||
dome_21
|
||||
BattleFrontier_BattleDomeLobby_OnResume: @ 82497F2
|
||||
dome_initresultstree
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_OnWarp: @ 82497FB
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomeLobby_EventScript_249805
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomeLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249805:: @ 8249805
|
||||
BattleFrontier_BattleDomeLobby_EventScript_TurnPlayerNorth:: @ 8249805
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_MapScript2_24980F: @ 824980F
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeLobby_EventScript_249839
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleDomeLobby_EventScript_249842
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleDomeLobby_EventScript_2499F9
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleDomeLobby_EventScript_24989B
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleDomeLobby_EventScript_249940
|
||||
BattleFrontier_BattleDomeLobby_OnFrame: @ 824980F
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleDomeLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleDomeLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleDomeLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleDomeLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249839:: @ 8249839
|
||||
BattleFrontier_BattleDomeLobby_EventScript_GetChallengeStatus:: @ 8249839
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249842:: @ 8249842
|
||||
BattleFrontier_BattleDomeLobby_EventScript_QuitWithoutSaving:: @ 8249842
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A45F, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
dome_set DOME_DATA_WIN_STREAK, 0
|
||||
dome_set DOME_DATA_WIN_STREAK_ACTIVE, FALSE
|
||||
dome_set DOME_DATA_6, 1
|
||||
dome_set DOME_DATA_ATTEMPTED_CHALLENGE, TRUE
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
|
||||
BattleFrontier_BattleDomeLobby_EventScript_WonChallenge:: @ 824989B
|
||||
call BattleFrontier_EventScript_IncrementWinStreak
|
||||
lockall
|
||||
frontier_isbrain
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_DefeatedAce
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_CongratsForWinningTourney, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_GiveBattlePoints
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_2498C1:: @ 82498C1
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AD67, MSGBOX_DEFAULT
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_2498C9:: @ 82498C9
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24ADB1, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_DefeatedAce:: @ 82498C1
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_CongratsDefeatedTucker, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_GiveBattlePoints:: @ 82498C9
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_AwardTheseBattlePoints, MSGBOX_DEFAULT
|
||||
frontier_givepoints
|
||||
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
|
||||
message BattleFrontier_BattleDomeLobby_Text_24A5D6
|
||||
message BattleFrontier_BattleDomeLobby_Text_RecordWillBeSaved
|
||||
waitmessage
|
||||
special LoadPlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
frontier_checkairshow
|
||||
dome_set DOME_DATA_6, 1
|
||||
dome_set DOME_DATA_7, 1
|
||||
dome_set DOME_DATA_ATTEMPTED_CHALLENGE, TRUE
|
||||
dome_set DOME_DATA_HAS_WON_CHALLENGE, TRUE
|
||||
dome_set DOME_DATA_WIN_STREAK_ACTIVE, TRUE
|
||||
special LoadPlayerParty
|
||||
special HealPlayerParty
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249991
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_AskRecordBattle
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
|
||||
BattleFrontier_BattleDomeLobby_EventScript_LostChallenge:: @ 8249940
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A5BF, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattleDomeLobby_Text_24A5D6
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ThankYouForPlaying, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattleDomeLobby_Text_RecordWillBeSaved
|
||||
waitmessage
|
||||
special LoadPlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
frontier_checkairshow
|
||||
dome_set DOME_DATA_WIN_STREAK_ACTIVE, FALSE
|
||||
dome_set DOME_DATA_6, 1
|
||||
dome_set DOME_DATA_ATTEMPTED_CHALLENGE, TRUE
|
||||
special LoadPlayerParty
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
|
||||
BattleFrontier_BattleDomeLobby_EventScript_AskRecordBattle:: @ 8249991
|
||||
dome_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
call BattleFrontier_EventScript_GetCantRecordBattle
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
|
||||
message BattleFrontier_BattleDomeLobby_Text_24AE17
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_EndChallenge
|
||||
message BattleFrontier_BattleDomeLobby_Text_RecordLastMatch
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleDomeLobby_EventScript_2499E9
|
||||
case 0, BattleFrontier_BattleDomeLobby_EventScript_2499E4
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_2499E9
|
||||
case 1, BattleFrontier_BattleDomeLobby_EventScript_EndChallenge
|
||||
case 0, BattleFrontier_BattleDomeLobby_EventScript_RecordBattle
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_EndChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_2499E4:: @ 82499E4
|
||||
BattleFrontier_BattleDomeLobby_EventScript_RecordBattle:: @ 82499E4
|
||||
call BattleFrontier_EventScript_SaveBattle
|
||||
BattleFrontier_BattleDomeLobby_EventScript_2499E9:: @ 82499E9
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_249F74, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_EndChallenge:: @ 82499E9
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_2499F9:: @ 82499F9
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ResumeChallenge:: @ 82499F9
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A5FE, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattleDomeLobby_Text_24A61A
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_WeveBeenWaitingForYou, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge2
|
||||
waitmessage
|
||||
dome_save CHALLENGE_STATUS_SAVING
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249BC2
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_EnterChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249A35:: @ 8249A35
|
||||
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant:: @ 8249A35
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_DOME
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249A59
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249A47:: @ 8249A47
|
||||
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant:: @ 8249A47
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_DOME
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249A59
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59
|
||||
BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome:: @ 8249A59
|
||||
special SavePlayerParty
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CFD
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_WelcomeSingles
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D06
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_WelcomeDoubles
|
||||
BattleFrontier_BattleDomeLobby_EventScript_AskTakeChallenge:: @ 8249A72
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D0F
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_TakeSinglesChallenge
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D15
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_TakeDoublesChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleDomeLobby_EventScript_249ABF
|
||||
case 1, BattleFrontier_BattleDomeLobby_EventScript_249BFA
|
||||
case 2, BattleFrontier_BattleDomeLobby_EventScript_249C64
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C64
|
||||
case 0, BattleFrontier_BattleDomeLobby_EventScript_TryEnterChallenge
|
||||
case 1, BattleFrontier_BattleDomeLobby_EventScript_ExplainChallenge
|
||||
case 2, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
|
||||
message BattleFrontier_BattleDomeLobby_Text_24A210
|
||||
BattleFrontier_BattleDomeLobby_EventScript_TryEnterChallenge:: @ 8249ABF
|
||||
message BattleFrontier_BattleDomeLobby_Text_WhichLevelMode
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleDomeLobby_EventScript_249C64
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C64
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A26E, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
@@ -173,14 +170,14 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, MSGBOX_YESNO
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattleDomeLobby_EventScript_249C61
|
||||
case YES, BattleFrontier_BattleDomeLobby_EventScript_249B60
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C61
|
||||
case NO, BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
|
||||
case YES, BattleFrontier_BattleDomeLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
|
||||
BattleFrontier_BattleDomeLobby_EventScript_SaveBeforeChallenge:: @ 8249B60
|
||||
setvar VAR_TEMP_0, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
dome_init
|
||||
@@ -192,137 +189,135 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_CancelChallengeSaveFailed
|
||||
dome_inittrainers
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
|
||||
BattleFrontier_BattleDomeLobby_EventScript_EnterChallenge:: @ 8249BC2
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
dome_settrainers
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A437, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ShowYouToBattleDome, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call BattleFrontier_BattleDomeLobby_EventScript_249C6E
|
||||
call BattleFrontier_BattleDomeLobby_EventScript_WalkToDoor
|
||||
special HealPlayerParty
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR, 255, 23, 6
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ExplainChallenge:: @ 8249BFA
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D1B
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_ExplainSinglesChallenge
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D24
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249A72
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_ExplainDoublesChallenge
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_AskTakeChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C15:: @ 8249C15
|
||||
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMons:: @ 8249C15
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_50, BattleFrontier_BattleDomeLobby_EventScript_249C30
|
||||
case FRONTIER_LVL_OPEN, BattleFrontier_BattleDomeLobby_EventScript_249C3D
|
||||
case FRONTIER_LVL_50, BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLv50
|
||||
case FRONTIER_LVL_OPEN, BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLvOpen
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C30:: @ 8249C30
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A353, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249C6C
|
||||
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLv50:: @ 8249C30
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C3D:: @ 8249C3D
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A2AB, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249C6C
|
||||
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8249C3D
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C4A:: @ 8249C4A
|
||||
BattleFrontier_BattleDomeLobby_EventScript_CancelChallengeSaveFailed:: @ 8249C4A
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249C64
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C61:: @ 8249C61
|
||||
BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge:: @ 8249C61
|
||||
special LoadPlayerParty
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C64:: @ 8249C64
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_249F74, MSGBOX_DEFAULT
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C6C:: @ 8249C6C
|
||||
BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge:: @ 8249C64
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge:: @ 8249C6C
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E
|
||||
BattleFrontier_BattleDomeLobby_EventScript_WalkToDoor:: @ 8249C6E
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CDD
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantWalkToDoor
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CE5
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D45
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantWalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_WalkToDoor
|
||||
waitmovement 0
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D2D
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_OpenSinglesDoor
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D33
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_OpenDoublesDoor
|
||||
waitdooranim
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CED
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantEnterDoor
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CF5
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D4E
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D39
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_CloseSinglesDoor
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D3F
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_CloseDoublesDoor
|
||||
waitdooranim
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249CDD:: @ 8249CDD
|
||||
applymovement 1, BattleFrontier_BattleDomeLobby_Movement_249D45
|
||||
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantWalkToDoor:: @ 8249CDD
|
||||
applymovement 1, BattleFrontier_BattleDomeLobby_Movement_WalkToDoor
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249CE5:: @ 8249CE5
|
||||
applymovement 6, BattleFrontier_BattleDomeLobby_Movement_249D45
|
||||
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantWalkToDoor:: @ 8249CE5
|
||||
applymovement 6, BattleFrontier_BattleDomeLobby_Movement_WalkToDoor
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249CED:: @ 8249CED
|
||||
applymovement 1, BattleFrontier_BattleDomeLobby_Movement_249D4B
|
||||
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantEnterDoor:: @ 8249CED
|
||||
applymovement 1, BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249CF5:: @ 8249CF5
|
||||
applymovement 6, BattleFrontier_BattleDomeLobby_Movement_249D4B
|
||||
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantEnterDoor:: @ 8249CF5
|
||||
applymovement 6, BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249CFD:: @ 8249CFD
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_249EB7, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_WelcomeSingles:: @ 8249CFD
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_WelcomeSingleBattle, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D06:: @ 8249D06
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A664, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_WelcomeDoubles:: @ 8249D06
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_WelcomeDoubleBattle, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D0F:: @ 8249D0F
|
||||
message BattleFrontier_BattleDomeLobby_Text_249F3A
|
||||
BattleFrontier_BattleDomeLobby_EventScript_TakeSinglesChallenge:: @ 8249D0F
|
||||
message BattleFrontier_BattleDomeLobby_Text_TakeSinglesChallenge
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D15:: @ 8249D15
|
||||
message BattleFrontier_BattleDomeLobby_Text_24A6E7
|
||||
BattleFrontier_BattleDomeLobby_EventScript_TakeDoublesChallenge:: @ 8249D15
|
||||
message BattleFrontier_BattleDomeLobby_Text_TakeDoublesChallenge
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D1B:: @ 8249D1B
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_249F8E, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ExplainSinglesChallenge:: @ 8249D1B
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainSinglesChallenge, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D24:: @ 8249D24
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A721, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ExplainDoublesChallenge:: @ 8249D24
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainDoublesChallenge, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D2D:: @ 8249D2D
|
||||
BattleFrontier_BattleDomeLobby_EventScript_OpenSinglesDoor:: @ 8249D2D
|
||||
opendoor 5, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D33:: @ 8249D33
|
||||
BattleFrontier_BattleDomeLobby_EventScript_OpenDoublesDoor:: @ 8249D33
|
||||
opendoor 17, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D39:: @ 8249D39
|
||||
BattleFrontier_BattleDomeLobby_EventScript_CloseSinglesDoor:: @ 8249D39
|
||||
closedoor 5, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D3F:: @ 8249D3F
|
||||
BattleFrontier_BattleDomeLobby_EventScript_CloseDoublesDoor:: @ 8249D3F
|
||||
closedoor 17, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Movement_249D45: @ 8249D45
|
||||
BattleFrontier_BattleDomeLobby_Movement_WalkToDoor: @ 8249D45
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -330,18 +325,18 @@ BattleFrontier_BattleDomeLobby_Movement_249D45: @ 8249D45
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Movement_249D4B: @ 8249D4B
|
||||
BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor: @ 8249D4B
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Movement_249D4E: @ 8249D4E
|
||||
BattleFrontier_BattleDomeLobby_Movement_PlayerEnterDoor: @ 8249D4E
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D52:: @ 8249D52
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults:: @ 8249D52
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_DOME, FRONTIER_MODE_SINGLES
|
||||
waitbuttonpress
|
||||
@@ -349,7 +344,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249D52:: @ 8249D52
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D6B:: @ 8249D6B
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults:: @ 8249D6B
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_DOME, FRONTIER_MODE_DOUBLES
|
||||
waitbuttonpress
|
||||
@@ -357,119 +352,121 @@ BattleFrontier_BattleDomeLobby_EventScript_249D6B:: @ 8249D6B
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249D84:: @ 8249D84
|
||||
dome_get DOME_DATA_9
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree:: @ 8249D84
|
||||
dome_get DOME_DATA_PREV_TOURNEY_TYPE
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DC9
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DD2
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DDB
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen
|
||||
compare VAR_RESULT, 3
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DE4
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showresultstree
|
||||
dome_showprevtourneytree
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249DC9:: @ 8249DC9
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A966, MSGBOX_SIGN
|
||||
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50:: @ 8249DC9
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLv50, MSGBOX_SIGN
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249DD2:: @ 8249DD2
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A9A9, MSGBOX_SIGN
|
||||
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50:: @ 8249DD2
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLv50, MSGBOX_SIGN
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249DDB:: @ 8249DDB
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A9EC, MSGBOX_SIGN
|
||||
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen:: @ 8249DDB
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLvOpen, MSGBOX_SIGN
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249DE4:: @ 8249DE4
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AA31, MSGBOX_SIGN
|
||||
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen:: @ 8249DE4
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLvOpen, MSGBOX_SIGN
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249DED:: @ 8249DED
|
||||
BattleFrontier_BattleDomeLobby_EventScript_Maniac:: @ 8249DED
|
||||
dome_getwinnersname
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AA76, MSGBOX_NPC
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249DFE:: @ 8249DFE
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AB94, MSGBOX_NPC
|
||||
BattleFrontier_BattleDomeLobby_EventScript_Lass:: @ 8249DFE
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_WinnersGainReputation, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249E07:: @ 8249E07
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AC76, MSGBOX_NPC
|
||||
BattleFrontier_BattleDomeLobby_EventScript_FatMan:: @ 8249E07
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_TrashedInFirstRound, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249E10:: @ 8249E10
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24ACD3, MSGBOX_NPC
|
||||
BattleFrontier_BattleDomeLobby_EventScript_Man:: @ 8249E10
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_NeedToCheckOpponentCarefully, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@ A few OutsideWest event scripts are inserted here instead, two of which are unused
|
||||
BattleFrontier_OutsideWest_EventScript_Man3:: @ 8249E19
|
||||
msgbox BattleFrontier_OutsideWest_Text_24AB06, MSGBOX_NPC
|
||||
msgbox BattleFrontier_OutsideWest_Text_LongDreamedAboutBattleFrontier, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@ Unused
|
||||
BattleFrontier_OutsideWest_EventScript_BattleDomeSign2:: @ 8249E22
|
||||
msgbox BattleFrontier_OutsideWest_Text_BattleDomeSign2, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@ Unused
|
||||
BattleFrontier_OutsideWest_EventScript_UnderConstructionSign:: @ 8249E2B
|
||||
msgbox BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249E34:: @ 8249E34
|
||||
BattleFrontier_BattleDomeLobby_EventScript_RulesBoard:: @ 8249E34
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AE63, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249E43:: @ 8249E43
|
||||
message BattleFrontier_BattleDomeLobby_Text_24AE8B
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard:: @ 8249E43
|
||||
message BattleFrontier_BattleDomeLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 17, 4, MULTI_BATTLE_DOME_RULES, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleDomeLobby_EventScript_249E8B
|
||||
case 1, BattleFrontier_BattleDomeLobby_EventScript_249E99
|
||||
case 2, BattleFrontier_BattleDomeLobby_EventScript_249EA7
|
||||
case 3, BattleFrontier_BattleDomeLobby_EventScript_249EB5
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249EB5
|
||||
case 0, BattleFrontier_BattleDomeLobby_EventScript_RulesMatchup
|
||||
case 1, BattleFrontier_BattleDomeLobby_EventScript_RulesTourneyTree
|
||||
case 2, BattleFrontier_BattleDomeLobby_EventScript_RulesDoubleKO
|
||||
case 3, BattleFrontier_BattleDomeLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249E8B:: @ 8249E8B
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AEAE, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
|
||||
BattleFrontier_BattleDomeLobby_EventScript_RulesMatchup:: @ 8249E8B
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainMatchupRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249E99:: @ 8249E99
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24AF4C, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
|
||||
BattleFrontier_BattleDomeLobby_EventScript_RulesTourneyTree:: @ 8249E99
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainTourneyTree, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249EA7:: @ 8249EA7
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24B073, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
|
||||
BattleFrontier_BattleDomeLobby_EventScript_RulesDoubleKO:: @ 8249EA7
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainDoubleKORules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_EventScript_249EB5:: @ 8249EB5
|
||||
BattleFrontier_BattleDomeLobby_EventScript_ExitRules:: @ 8249EB5
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_249EB7: @ 8249EB7
|
||||
BattleFrontier_BattleDomeLobby_Text_WelcomeSingleBattle: @ 8249EB7
|
||||
.string "Where the strategies of TRAINERS\n"
|
||||
.string "are put to the test!\p"
|
||||
.string "Welcome to the BATTLE DOME!\p"
|
||||
.string "I am your guide to the SINGLE BATTLE\n"
|
||||
.string "Tournament.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_249F3A: @ 8249F3A
|
||||
BattleFrontier_BattleDomeLobby_Text_TakeSinglesChallenge: @ 8249F3A
|
||||
.string "Would you like to challenge\n"
|
||||
.string "the SINGLE BATTLE Tournament?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_249F74: @ 8249F74
|
||||
BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain: @ 8249F74
|
||||
.string "We hope to see you again.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_249F8E: @ 8249F8E
|
||||
BattleFrontier_BattleDomeLobby_Text_ExplainSinglesChallenge: @ 8249F8E
|
||||
.string "The SINGLE BATTLE Tournament\n"
|
||||
.string "is exactly as the name suggests--\l"
|
||||
.string "a tournament of SINGLE BATTLES.\p"
|
||||
@@ -490,20 +487,20 @@ BattleFrontier_BattleDomeLobby_Text_249F8E: @ 8249F8E
|
||||
.string "If you don't save before interrupting,\n"
|
||||
.string "you will be disqualified.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A1C6: @ 824A1C6
|
||||
BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge: @ 824A1C6
|
||||
.string "Before I show you to the BATTLE DOME,\n"
|
||||
.string "I must save the data. Is that okay?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A210: @ 824A210
|
||||
BattleFrontier_BattleDomeLobby_Text_WhichLevelMode: @ 824A210
|
||||
.string "The tournament offers two levels\n"
|
||||
.string "of challenge, Level 50 and Open Level.\l"
|
||||
.string "Which is your choice?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A26E: @ 824A26E
|
||||
BattleFrontier_BattleDomeLobby_Text_SelectThreeMons: @ 824A26E
|
||||
.string "Now select the three POKéMON that\n"
|
||||
.string "you wish to enter, please.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A2AB: @ 824A2AB
|
||||
BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLvOpen: @ 824A2AB
|
||||
.string "Excuse me!\p"
|
||||
.string "You don't have three eligible POKéMON.\p"
|
||||
.string "Also, the POKéMON must be holding\n"
|
||||
@@ -511,7 +508,7 @@ BattleFrontier_BattleDomeLobby_Text_24A2AB: @ 824A2AB
|
||||
.string "EGGS{STR_VAR_1} ineligible.\p"
|
||||
.string "Please come see me when you are ready.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A353: @ 824A353
|
||||
BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLv50: @ 824A353
|
||||
.string "Excuse me!\p"
|
||||
.string "You don't have three eligible POKéMON.\p"
|
||||
.string "You must have three different POKéMON\n"
|
||||
@@ -521,25 +518,27 @@ BattleFrontier_BattleDomeLobby_Text_24A353: @ 824A353
|
||||
.string "EGGS{STR_VAR_1} ineligible.\p"
|
||||
.string "Please come see me when you are ready.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A437: @ 824A437
|
||||
BattleFrontier_BattleDomeLobby_Text_ShowYouToBattleDome: @ 824A437
|
||||
.string "I will now show you to\n"
|
||||
.string "the BATTLE DOME.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A45F: @ 824A45F
|
||||
BattleFrontier_BattleDomeLobby_Text_DidntSaveBeforeQuitting: @ 824A45F
|
||||
.string "Excuse me!\p"
|
||||
.string "You didn't save before you quit your\n"
|
||||
.string "challenge last time.\p"
|
||||
.string "Because of that, your challenge so far\n"
|
||||
.string "has been disqualified. Sorry!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A4E9: @ 824A4E9
|
||||
BattleFrontier_BattleDomeLobby_Text_CongratsForWinningTourney: @ 824A4E9
|
||||
.string "Congratulations for winning\n"
|
||||
.string "your Battle Tournament!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A51D: @ 824A51D
|
||||
@ Unused
|
||||
BattleFrontier_BattleDomeLobby_Text_HereIsYourPrize: @ 824A51D
|
||||
.string "Here is your prize for your Battle\n"
|
||||
.string "Tournament victory.$"
|
||||
|
||||
@ Used by Verdanturf Tent
|
||||
BattleFrontier_BattleDomeLobby_Text_ReceivedPrize: @ 824A554
|
||||
.string "{PLAYER} received the prize\n"
|
||||
.string "{STR_VAR_1}.$"
|
||||
@@ -550,32 +549,32 @@ BattleFrontier_BattleDomeLobby_Text_BagFullMakeRoom: @ 824A56E
|
||||
.string "Please make room in your BAG, then come\n"
|
||||
.string "see me.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A5BF: @ 824A5BF
|
||||
BattleFrontier_BattleDomeLobby_Text_ThankYouForPlaying: @ 824A5BF
|
||||
.string "Thank you for playing!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A5D6: @ 824A5D6
|
||||
BattleFrontier_BattleDomeLobby_Text_RecordWillBeSaved: @ 824A5D6
|
||||
.string "Your record will be saved.\n"
|
||||
.string "Please wait.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A5FE: @ 824A5FE
|
||||
BattleFrontier_BattleDomeLobby_Text_WeveBeenWaitingForYou: @ 824A5FE
|
||||
.string "We've been waiting for you!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A61A: @ 824A61A
|
||||
BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge2: @ 824A61A
|
||||
.string "Before I show you to the BATTLE DOME,\n"
|
||||
.string "I must save the data. Is that okay?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A664: @ 824A664
|
||||
BattleFrontier_BattleDomeLobby_Text_WelcomeDoubleBattle: @ 824A664
|
||||
.string "Where the strategies of TRAINERS\n"
|
||||
.string "are put to the test!\p"
|
||||
.string "Welcome to the BATTLE DOME!\p"
|
||||
.string "I am your guide to the DOUBLE BATTLE\n"
|
||||
.string "Tournament.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A6E7: @ 824A6E7
|
||||
BattleFrontier_BattleDomeLobby_Text_TakeDoublesChallenge: @ 824A6E7
|
||||
.string "Would you like to challenge\n"
|
||||
.string "the DOUBLE BATTLE Tournament?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A721: @ 824A721
|
||||
BattleFrontier_BattleDomeLobby_Text_ExplainDoublesChallenge: @ 824A721
|
||||
.string "The DOUBLE BATTLE Tournament\n"
|
||||
.string "is exactly as the name suggests--\l"
|
||||
.string "a tournament of DOUBLE BATTLES.\p"
|
||||
@@ -596,23 +595,23 @@ BattleFrontier_BattleDomeLobby_Text_24A721: @ 824A721
|
||||
.string "If you don't save before interrupting,\n"
|
||||
.string "you will be disqualified.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A966: @ 824A966
|
||||
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLv50: @ 824A966
|
||||
.string "They're the results of the last\n"
|
||||
.string "Level 50 SINGLE BATTLE Tournament.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A9A9: @ 824A9A9
|
||||
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLv50: @ 824A9A9
|
||||
.string "They're the results of the last\n"
|
||||
.string "Level 50 DOUBLE BATTLE Tournament.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24A9EC: @ 824A9EC
|
||||
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLvOpen: @ 824A9EC
|
||||
.string "They're the results of the last\n"
|
||||
.string "Open Level SINGLE BATTLE Tournament.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AA31: @ 824AA31
|
||||
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLvOpen: @ 824AA31
|
||||
.string "They're the results of the last\n"
|
||||
.string "Open Level DOUBLE BATTLE Tournament.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AA76: @ 824AA76
|
||||
BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough: @ 824AA76
|
||||
.string "Did you see it?\n"
|
||||
.string "The last Battle Tournament?\p"
|
||||
.string "The winner, {STR_VAR_1}, was seriously\n"
|
||||
@@ -620,19 +619,21 @@ BattleFrontier_BattleDomeLobby_Text_24AA76: @ 824AA76
|
||||
.string "You should check out the results\n"
|
||||
.string "on the monitor beside the PC.$"
|
||||
|
||||
BattleFrontier_OutsideWest_Text_24AB06: @ 824AB06
|
||||
BattleFrontier_OutsideWest_Text_LongDreamedAboutBattleFrontier: @ 824AB06
|
||||
.string "The BATTLE FRONTIER…\n"
|
||||
.string "I've long dreamed about a place like it.$"
|
||||
|
||||
@ Functionally unused
|
||||
BattleFrontier_OutsideWest_Text_BattleDomeSign2: @ 824AB44
|
||||
.string "The BATTLE DOME\n"
|
||||
.string "Become the Unbeatable Superstar!$"
|
||||
|
||||
@ Functionally unused
|
||||
BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction: @ 824AB75
|
||||
.string "The ??????\n"
|
||||
.string "Under Construction!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AB94: @ 824AB94
|
||||
BattleFrontier_BattleDomeLobby_Text_WinnersGainReputation: @ 824AB94
|
||||
.string "When a TRAINER chains tournament\n"
|
||||
.string "wins at the BATTLE DOME, he or she\l"
|
||||
.string "gains a reputation as a star.\p"
|
||||
@@ -641,48 +642,48 @@ BattleFrontier_BattleDomeLobby_Text_24AB94: @ 824AB94
|
||||
.string "A true superstar is a TRAINER who\n"
|
||||
.string "can keep winning tournaments.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AC76: @ 824AC76
|
||||
BattleFrontier_BattleDomeLobby_Text_TrashedInFirstRound: @ 824AC76
|
||||
.string "I ran into one of the tournament\n"
|
||||
.string "favorites in the very first round.\p"
|
||||
.string "Of course I got trashed…$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24ACD3: @ 824ACD3
|
||||
BattleFrontier_BattleDomeLobby_Text_NeedToCheckOpponentCarefully: @ 824ACD3
|
||||
.string "I would've won if I'd kept this POKéMON\n"
|
||||
.string "held in reserve.\p"
|
||||
.string "You need to check your opponent's\n"
|
||||
.string "POKéMON carefully before choosing\l"
|
||||
.string "your battling POKéMON.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AD67: @ 824AD67
|
||||
BattleFrontier_BattleDomeLobby_Text_CongratsDefeatedTucker: @ 824AD67
|
||||
.string "Congratulations!\p"
|
||||
.string "You defeated the DOME ACE and won\n"
|
||||
.string "the Battle Tournament!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24ADB1: @ 824ADB1
|
||||
BattleFrontier_BattleDomeLobby_Text_AwardTheseBattlePoints: @ 824ADB1
|
||||
.string "In recognition of your strategy--\n"
|
||||
.string "a thing of beauty it was, too--\l"
|
||||
.string "we award you these Battle Point(s)!$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AE17: @ 824AE17
|
||||
BattleFrontier_BattleDomeLobby_Text_RecordLastMatch: @ 824AE17
|
||||
.string "Would you like to record your\n"
|
||||
.string "last BATTLE DOME match on your\l"
|
||||
.string "FRONTIER PASS?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AE63: @ 824AE63
|
||||
BattleFrontier_BattleDomeLobby_Text_RulesAreListed: @ 824AE63
|
||||
.string "The Battle Tournament rules\n"
|
||||
.string "are listed.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AE8B: @ 824AE8B
|
||||
BattleFrontier_BattleDomeLobby_Text_ReadWhichHeading: @ 824AE8B
|
||||
.string "Which heading do you want to read?$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AEAE: @ 824AEAE
|
||||
BattleFrontier_BattleDomeLobby_Text_ExplainMatchupRules: @ 824AEAE
|
||||
.string "The tournament matchups are drawn up\n"
|
||||
.string "based on the toughness of POKéMON\l"
|
||||
.string "held by TRAINERS.\p"
|
||||
.string "The matchups avoid having tough\n"
|
||||
.string "TRAINERS face each other right away.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24AF4C: @ 824AF4C
|
||||
BattleFrontier_BattleDomeLobby_Text_ExplainTourneyTree: @ 824AF4C
|
||||
.string "The tournament chart, or as we call it,\n"
|
||||
.string "the “Tree,” is available for viewing\l"
|
||||
.string "in the Waiting Room from any guide.\p"
|
||||
@@ -693,7 +694,7 @@ BattleFrontier_BattleDomeLobby_Text_24AF4C: @ 824AF4C
|
||||
.string "by TRAINERS, and the battle styles of\l"
|
||||
.string "TRAINERS.$"
|
||||
|
||||
BattleFrontier_BattleDomeLobby_Text_24B073: @ 824B073
|
||||
BattleFrontier_BattleDomeLobby_Text_ExplainDoubleKORules: @ 824B073
|
||||
.string "If battling POKéMON faint at the same\n"
|
||||
.string "time--a double KO--in a tournament\l"
|
||||
.string "match, the REFEREES will review\l"
|
||||
|
||||
@@ -1,92 +1,91 @@
|
||||
BattleFrontier_BattleDomePreBattleRoom_MapScripts:: @ 824B1F9
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B204
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomePreBattleRoom_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomePreBattleRoom_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B204: @ 824B204
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B20E
|
||||
BattleFrontier_BattleDomePreBattleRoom_OnWarp: @ 824B204
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B20E:: @ 824B20E
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_TurnPlayerNorth:: @ 824B20E
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222
|
||||
BattleFrontier_BattleDomePreBattleRoom_OnFrame: @ 824B218
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_EnterRoom:: @ 824B222
|
||||
compare VAR_0x8006, 1
|
||||
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
|
||||
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle
|
||||
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
|
||||
setvar VAR_TEMP_0, 1
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_24B652
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
lockall
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F:: @ 824B24F
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B4FB
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound:: @ 824B24F
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForNextRoundMessage
|
||||
waitmessage
|
||||
switch VAR_RESULT
|
||||
switch VAR_RESULT @ No case?
|
||||
call BattleFrontier_EventScript_GetCantRecordBattle
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
|
||||
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord
|
||||
multichoice 16, 0, MULTI_TOURNEY_WITH_RECORD, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B30D
|
||||
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349
|
||||
case 5, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowTourneyTree
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRecordBattle
|
||||
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskPauseChallenge
|
||||
case 5, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1:: @ 824B2C1
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord:: @ 824B2C1
|
||||
multichoice 16, 2, MULTI_TOURNEY_NO_RECORD, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349
|
||||
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowTourneyTree
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskPauseChallenge
|
||||
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B30D:: @ 824B30D
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24BAF7
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRecordBattle:: @ 824B30D
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_RecordLastMatch
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B33F
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_RecordBattle
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B33F:: @ 824B33F
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_RecordBattle:: @ 824B33F
|
||||
call BattleFrontier_EventScript_SaveBattle
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349:: @ 824B349
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA69, MSGBOX_YESNO
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskPauseChallenge:: @ 824B349
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case YES, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case NO, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
case YES, BattleFrontier_BattleDomePreBattleRoom_EventScript_PauseChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377:: @ 824B377
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24BA93
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge:: @ 824B377
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_RetireYourChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3A9
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_RetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3A9:: @ 824B3A9
|
||||
dome_resolvewinners 9
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24BE9A
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_RetireChallenge:: @ 824B3A9
|
||||
dome_resolvewinners DOME_PLAYER_RETIRED
|
||||
goto BattleFrontier_BattleDomeBattleRoom_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24BAD3
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_PauseChallenge:: @ 824B3BB
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_SavingDataPleaseWait
|
||||
waitmessage
|
||||
dome_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
@@ -95,70 +94,70 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD:: @ 824B3DD
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9B5, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo:: @ 824B3DD
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_PlayersNextOpponentIsTrainer, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showopponentinfo
|
||||
waitstate
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5:: @ 824B3F5
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowTourneyTree:: @ 824B3F5
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowRoundMessage
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showtourneytree
|
||||
waitstate
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A:: @ 824B40A
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowRoundMessage:: @ 824B40A
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B449
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B452
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B45B
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B464
|
||||
case DOME_ROUND1, BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound1
|
||||
case DOME_ROUND2, BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound2
|
||||
case DOME_SEMIFINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInSemifinals
|
||||
case DOME_FINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInFinals
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B449:: @ 824B449
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9D9, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound1:: @ 824B449
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound1, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B452:: @ 824B452
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9FD, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound2:: @ 824B452
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound2, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B45B:: @ 824B45B
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA21, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInSemifinals:: @ 824B45B
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInSemifinals, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B464:: @ 824B464
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA46, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInFinals:: @ 824B464
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInFinals, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24B70C
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge:: @ 824B46D
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_ChooseTwoMons
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, 2 @ 2 of the 3 party mons are selected for battle
|
||||
setvar VAR_0x8005, DOME_BATTLE_PARTY_SIZE @ 2 of the 3 party mons are selected for battle
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
frontier_resetsketch
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
dome_set DOME_DATA_8
|
||||
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
dome_set DOME_DATA_SELECTED_MONS
|
||||
dome_reduceparty
|
||||
dome_setopponent
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B748, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_RightThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, BattleFrontier_BattleDomePreBattleRoom_Movement_24B64F
|
||||
applymovement 1, BattleFrontier_BattleDomePreBattleRoom_Movement_AttendantMoveAside
|
||||
waitmovement 0
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_24B657
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerWalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 5, 1
|
||||
waitdooranim
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_24B659
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 5, 1
|
||||
waitdooranim
|
||||
@@ -167,224 +166,229 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B4FB:: @ 824B4FB
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForNextRoundMessage:: @ 824B4FB
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B53A
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B540
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B546
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C
|
||||
case DOME_ROUND1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound1
|
||||
case DOME_ROUND2, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound2
|
||||
case DOME_SEMIFINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForSemifinals
|
||||
case DOME_FINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForFinals
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B53A:: @ 824B53A
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24B65C
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound1:: @ 824B53A
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound1
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B540:: @ 824B540
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24B689
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound2:: @ 824B540
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound2
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B546:: @ 824B546
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24B6B6
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForSemifinals:: @ 824B546
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForSemifinals
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C:: @ 824B54C
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForFinals:: @ 824B54C
|
||||
frontier_getbrainstatus
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_BRAIN_SILVER, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24B6E3
|
||||
case FRONTIER_BRAIN_SILVER, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilver
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGold
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilver
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGold
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForFinals
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B:: @ 824B58B
|
||||
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilver:: @ 824B58B
|
||||
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilverShort
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilver, MSGBOX_DEFAULT
|
||||
setflag FLAG_TEMP_1
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0:: @ 824B5A0
|
||||
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGold:: @ 824B5A0
|
||||
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGoldShort
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGold, MSGBOX_DEFAULT
|
||||
setflag FLAG_TEMP_1
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5:: @ 824B5B5
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BC2A, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilverShort:: @ 824B5B5
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilverShort, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE:: @ 824B5BE
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BC63, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGoldShort:: @ 824B5BE
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGoldShort, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle:: @ 824B5C7
|
||||
setvar VAR_TEMP_0, 1
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B760, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_RestoreMonsToFullHealth, MSGBOX_DEFAULT
|
||||
special LoadPlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_RoundCompleteMessage
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showstatictourneytree
|
||||
waitstate
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600:: @ 824B600
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_RoundCompleteMessage:: @ 824B600
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B634
|
||||
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B63D
|
||||
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B646
|
||||
case DOME_ROUND2, BattleFrontier_BattleDomePreBattleRoom_EventScript_Round1Complete
|
||||
case DOME_SEMIFINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_Round2Complete
|
||||
case DOME_FINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_SemifinalsComplete
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B634:: @ 824B634
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B7A3, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_Round1Complete:: @ 824B634
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_Round1Complete, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B63D:: @ 824B63D
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B7F1, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_Round2Complete:: @ 824B63D
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_Round2Complete, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B646:: @ 824B646
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B83F, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_SemifinalsComplete:: @ 824B646
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_SemifinalsComplete, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_24B64F: @ 824B64F
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_AttendantMoveAside: @ 824B64F
|
||||
walk_right
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_24B652: @ 824B652
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnter: @ 824B652
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_24B657: @ 824B657
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerWalkToDoor: @ 824B657
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_24B659: @ 824B659
|
||||
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnterDoor: @ 824B659
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B65C: @ 824B65C
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound1: @ 824B65C
|
||||
.string "Your 1st-round match is next.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B689: @ 824B689
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound2: @ 824B689
|
||||
.string "Your 2nd-round match is next.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B6B6: @ 824B6B6
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForSemifinals: @ 824B6B6
|
||||
.string "Your semifinal match is next.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B6E3: @ 824B6E3
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForFinals: @ 824B6E3
|
||||
.string "Your final match is next.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B70C: @ 824B70C
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ChooseTwoMons: @ 824B70C
|
||||
.string "Please choose the two POKéMON\n"
|
||||
.string "that are to appear in battle.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B748: @ 824B748
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_RightThisWay: @ 824B748
|
||||
.string "Right this way, please.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B760: @ 824B760
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_RestoreMonsToFullHealth: @ 824B760
|
||||
.string "Thank you for competing!\p"
|
||||
.string "I'll restore your POKéMON to\n"
|
||||
.string "full health.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B7A3: @ 824B7A3
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_Round1Complete: @ 824B7A3
|
||||
.string "All 1st-round matches have been\n"
|
||||
.string "completed.\p"
|
||||
.string "These are the teams that advanced!$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B7F1: @ 824B7F1
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_Round2Complete: @ 824B7F1
|
||||
.string "All 2nd-round matches have been\n"
|
||||
.string "completed.\p"
|
||||
.string "These are the teams that advanced!$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B83F: @ 824B83F
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_SemifinalsComplete: @ 824B83F
|
||||
.string "All semifinal matches have been\n"
|
||||
.string "completed.\p"
|
||||
.string "These are the teams that advanced!$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B88D: @ 824B88D
|
||||
@ Unused
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForRound2: @ 824B88D
|
||||
.string "Congratulations for getting through\n"
|
||||
.string "the 1st round.\p"
|
||||
.string "The 2nd round is next.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B8E6: @ 824B8E6
|
||||
@ Unused
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForSemifinals: @ 824B8E6
|
||||
.string "Congratulations for advancing\n"
|
||||
.string "to the semifinals.\p"
|
||||
.string "The best four teams meet in this round.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B94E: @ 824B94E
|
||||
@ Unused
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForFinals: @ 824B94E
|
||||
.string "Congratulations for advancing\n"
|
||||
.string "to the final match.\p"
|
||||
.string "You're one win from the championship.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B9B5: @ 824B9B5
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_PlayersNextOpponentIsTrainer: @ 824B9B5
|
||||
.string "{PLAYER}'s next opponent\n"
|
||||
.string "is this TRAINER.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B9D9: @ 824B9D9
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound1: @ 824B9D9
|
||||
.string "The tournament is in the 1st round.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24B9FD: @ 824B9FD
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound2: @ 824B9FD
|
||||
.string "The tournament is in the 2nd round.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BA21: @ 824BA21
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInSemifinals: @ 824BA21
|
||||
.string "The tournament is in the semifinals.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BA46: @ 824BA46
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInFinals: @ 824BA46
|
||||
.string "The tournament is up to the final.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BA69: @ 824BA69
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_SaveAndQuitGame: @ 824BA69
|
||||
.string "Would you like to save and\n"
|
||||
.string "quit the game?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BA93: @ 824BA93
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_RetireYourChallenge: @ 824BA93
|
||||
.string "Would you like to retire from your\n"
|
||||
.string "Battle Tournament challenge?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BAD3: @ 824BAD3
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_SavingDataPleaseWait: @ 824BAD3
|
||||
.string "I am saving your data.\n"
|
||||
.string "Please wait.$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BAF7: @ 824BAF7
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_RecordLastMatch: @ 824BAF7
|
||||
.string "Should I record your last match\n"
|
||||
.string "on your FRONTIER PASS?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E: @ 824BB2E
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilver: @ 824BB2E
|
||||
.string "Congratulations for advancing\n"
|
||||
.string "to the final match.\p"
|
||||
.string "For the final match, you will challenge\n"
|
||||
.string "the DOME ACE TUCKER.\p"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC: @ 824BBAC
|
||||
@ Identical to ReadyForTuckerSilver
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGold: @ 824BBAC
|
||||
.string "Congratulations for advancing\n"
|
||||
.string "to the final match.\p"
|
||||
.string "For the final match, you will challenge\n"
|
||||
.string "the DOME ACE TUCKER.\p"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BC2A: @ 824BC2A
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilverShort: @ 824BC2A
|
||||
.string "Your final battle against TUCKER is\n"
|
||||
.string "next. Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_24BC63: @ 824BC63
|
||||
@ Identical again
|
||||
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGoldShort: @ 824BC63
|
||||
.string "Your final battle against TUCKER is\n"
|
||||
.string "next. Are you ready?$"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ Route110_TrickHouseEnd_OnResume: @ 826ACC4
|
||||
Route110_TrickHouseEnd_OnTransition: @ 826ACD0
|
||||
setvar VAR_TEMP_1, 0
|
||||
setvar VAR_TEMP_2, 0
|
||||
special SetTrickHouseEndRoomFlag
|
||||
special SetTrickHouseNuggetFlag
|
||||
end
|
||||
|
||||
Route110_TrickHouseEnd_OnWarp: @ 826ACDE
|
||||
@@ -171,7 +171,7 @@ Route110_TrickHouseEnd_EventScript_CompletedPuzzle8:: @ 826AF28
|
||||
call_if_eq Route110_TrickHouseEnd_EventScript_NoRoomForTent
|
||||
msgbox Route110_TrickHouseEnd_Text_LeavingOnJourney, MSGBOX_DEFAULT
|
||||
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
|
||||
special ResetTrickHouseEndRoomFlag
|
||||
special ResetTrickHouseNuggetFlag
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user