Document Battle Palace scripts

This commit is contained in:
GriffinR
2019-12-06 21:25:46 -05:00
committed by huderlem
parent 49b56d0136
commit fcd8d37d62
7 changed files with 475 additions and 492 deletions
@@ -145,7 +145,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeNoRecord goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
@@ -154,7 +154,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeNoRecord:: @ 8257768 BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8257768
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
@@ -254,7 +254,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
waitmessage waitmessage
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeGretaNoRecord goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
@@ -263,7 +263,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeGretaNoRecord:: @ 825792B BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord:: @ 825792B
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
@@ -1,167 +1,169 @@
BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815 BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825 map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePalaceBattleRoom_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861 map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceBattleRoom_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceBattleRoom_MapScript2_24FE34 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceBattleRoom_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825 @ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
@ The player is represented instead by object event 1, which has the gfx id VAR_OBJ_GFX_ID_0
@ The opponent is represented by objct event 2, which has the gfx id VAR_OBJ_GFX_ID_1
BattleFrontier_BattlePalaceBattleRoom_OnTransition: @ 824F825
frontier_settrainers frontier_settrainers
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833 call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833 BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx:: @ 824F833
checkplayergender checkplayergender
compare VAR_RESULT, MALE compare VAR_RESULT, MALE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale
compare VAR_RESULT, FEMALE compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B:: @ 824F84B @ The opponent's gfx are set to the players by default
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale:: @ 824F84B
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856:: @ 824F856 BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale:: @ 824F856
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
return return
BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861: @ 824F861 BattleFrontier_BattlePalaceBattleRoom_OnFrame: @ 824F861
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom:: @ 824F86B
showobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM showobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge
waitmovement 0 waitmovement 0
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
frontier_set FRONTIER_DATA_6, 1 frontier_set FRONTIER_DATA_6, 1
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5:: @ 824F8B5 BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge:: @ 824F8B5
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE92 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom
waitmovement 0 waitmovement 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter:: @ 824F8BF
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF:: @ 824F8BF
tower_setopponent tower_setopponent
addobject 2 addobject 2
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1 applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter
waitmovement 0 waitmovement 0
palace_getopponentintro palace_getopponentintro
msgbox gStringVar4, MSGBOX_DEFAULT msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost:: @ 824F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA:: @ 824F8FA
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911 BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent:: @ 824F911
call BattleFrontier_EventScript_IncrementWinStreak call BattleFrontier_EventScript_IncrementWinStreak
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
switch VAR_RESULT switch VAR_RESULT
case 7, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 case 7, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA7 applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit
waitmovement 0 waitmovement 0
removeobject 2 removeobject 2
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_24FF00, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons, MSGBOX_DEFAULT
special LoadPlayerParty special LoadPlayerParty
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
playfanfare MUS_ME_ASA playfanfare MUS_ME_ASA
waitfanfare waitfanfare
special HealPlayerParty special HealPlayerParty
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent:: @ 824F98A
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
frontier_getbrainstatus frontier_getbrainstatus
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent
compare VAR_RESULT, 5 compare VAR_RESULT, 5
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent
compare VAR_RESULT, 6 compare VAR_RESULT, 6
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42:: @ 824FA42 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 824FA42
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78:: @ 824FA78 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle:: @ 824FA78
message BattleFrontier_BattlePalaceBattleRoom_Text_25009E message BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA:: @ 824FAAA BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle:: @ 824FAAA
call BattleFrontier_EventScript_SaveBattle call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4:: @ 824FAB4 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge:: @ 824FAB4
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250030, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2:: @ 824FAE2 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge:: @ 824FAE2
message BattleFrontier_BattlePalaceBattleRoom_Text_25005A message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14:: @ 824FB14 BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge:: @ 824FB14
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
closemessage closemessage
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF goto BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28:: @ 824FB28 BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon:: @ 824FB28
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge:: @ 824FB3F
message BattleFrontier_BattlePalaceBattleRoom_Text_25007E message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
waitmessage waitmessage
palace_save CHALLENGE_STATUS_PAUSED palace_save CHALLENGE_STATUS_PAUSED
playse SE_SAVE playse SE_SAVE
@@ -170,76 +172,75 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
frontier_reset frontier_reset
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61 BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext:: @ 824FB61
compare VAR_TEMP_2, 1 compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven:: @ 824FB79
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79 message BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven
message BattleFrontier_BattlePalaceBattleRoom_Text_25014A
waitmessage waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0:: @ 824FBD0 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord:: @ 824FBD0
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06 BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser:: @ 824FC06
call BattleFrontier_EventScript_SetBrainObjectGfx call BattleFrontier_EventScript_SetBrainObjectGfx
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25017C, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser, MSGBOX_DEFAULT
closemessage closemessage
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
setobjectxyperm 2, 15, 1 setobjectxyperm 2, 15, 1
addobject 2 addobject 2
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
setobjectxy 2, 13, 1 setobjectxy 2, 13, 1
setobjectxyperm 2, 13, 1 setobjectxyperm 2, 13, 1
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7 applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2 applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter
waitmovement 0 waitmovement 0
switch VAR_TEMP_F switch VAR_TEMP_F
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67 case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver:: @ 824FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7 BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver:: @ 824FCC7
palace_incrementstreak palace_incrementstreak
frontier_getsymbols frontier_getsymbols
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25036D, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePalaceBattleRoom_Text_2503DC message BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol
waitmessage waitmessage
waitfanfare waitfanfare
frontier_givesymbol frontier_givesymbol
@@ -248,33 +249,33 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
applymovement 1, Common_Movement_WalkInPlaceFastestRight applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement 3, Common_Movement_WalkInPlaceFastestRight applymovement 3, Common_Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250412, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold:: @ 824FD3A
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67 BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold:: @ 824FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84 BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold:: @ 824FD84
palace_incrementstreak palace_incrementstreak
frontier_getsymbols frontier_getsymbols
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250629, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePalaceBattleRoom_Text_250699 message BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine
waitmessage waitmessage
waitfanfare waitfanfare
frontier_givesymbol frontier_givesymbol
@@ -283,11 +284,10 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
applymovement 1, Common_Movement_WalkInPlaceFastestRight applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement 3, Common_Movement_WalkInPlaceFastestRight applymovement 3, Common_Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2506C4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7:: @ 824FDF7 BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle:: @ 824FDF7
VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
closemessage closemessage
setvar VAR_TEMP_2, 0 setvar VAR_TEMP_2, 0
frontier_set FRONTIER_DATA_6, 0 frontier_set FRONTIER_DATA_6, 0
@@ -301,70 +301,69 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
frontier_resetsketch frontier_resetsketch
return return
BattleFrontier_BattlePalaceBattleRoom_MapScript2_24FE34: @ 824FE34 BattleFrontier_BattlePalaceBattleRoom_OnWarp: @ 824FE34
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE3E map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE3E:: @ 824FE3E BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects:: @ 824FE3E
hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833 call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
removeobject 2 removeobject 2
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90 applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90 applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66:: @ 824FE66 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 824FE66
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF28 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D:: @ 824FE6D BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 824FE6D
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF54 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74:: @ 824FE74 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent:: @ 824FE74
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF80 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B:: @ 824FE7B BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent:: @ 824FE7B
message BattleFrontier_BattlePalaceBattleRoom_Text_24FFAC message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82:: @ 824FE82 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent:: @ 824FE82
message BattleFrontier_BattlePalaceBattleRoom_Text_24FFD8 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89:: @ 824FE89 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent:: @ 824FE89
message BattleFrontier_BattlePalaceBattleRoom_Text_250004 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90: @ 824FE90 BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible: @ 824FE90
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE92: @ 824FE92 BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom: @ 824FE92
set_visible set_visible
walk_up walk_up
walk_up walk_up
walk_up walk_up
walk_up walk_up
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight: @ 824FE97
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97: @ 824FE97
face_right face_right
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99: @ 824FE99 BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp: @ 824FE99
face_up face_up
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B: @ 824FE9B BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge: @ 824FE9B
set_visible set_visible
walk_up walk_up
walk_up walk_up
@@ -372,7 +371,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B: @ 824FE9B
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1: @ 824FEA1 BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter: @ 824FEA1
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -380,50 +379,50 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1: @ 824FEA1
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA7: @ 824FEA7 BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit: @ 824FEA7
walk_up walk_up
walk_up walk_up
walk_up walk_up
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC: @ 824FEAC BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown: @ 824FEAC
face_down face_down
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAE: @ 824FEAE BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter1: @ 824FEAE
set_visible set_visible
walk_slow_down walk_slow_down
walk_slow_down walk_slow_down
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB3: @ 824FEB3 BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter2: @ 824FEB3
set_visible set_visible
walk_slow_down walk_slow_down
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6 BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter3: @ 824FEB6
walk_slow_down walk_slow_down
walk_slow_down walk_slow_down
walk_slow_down walk_slow_down
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby:: @ 824FEBB
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, FRONTIER_MODE_DOUBLES compare VAR_RESULT, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
waitstate waitstate
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5:: @ 824FED5 BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles:: @ 824FED5
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 19, 7 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 19, 7
waitstate waitstate
end end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF: @ 824FEDF BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter: @ 824FEDF
delay_16 delay_16
delay_16 delay_16
set_visible set_visible
@@ -433,7 +432,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF: @ 824FEDF
walk_in_place_fastest_left walk_in_place_fastest_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7: @ 824FEE7 BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter: @ 824FEE7
set_visible set_visible
walk_fast_down walk_fast_down
walk_fast_right walk_fast_right
@@ -446,7 +445,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7: @ 824FEE7
delay_16 delay_16
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2: @ 824FEF2 BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter: @ 824FEF2
delay_16 delay_16
delay_16 delay_16
delay_16 delay_16
@@ -462,70 +461,64 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2: @ 824FEF2
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Text_24FF00: @ 824FF00 BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons: @ 824FF00
VerdanturfTown_BattleTentBattleRoom_Text_24FF00: @ 824FF00
.string "Excellent…\n" .string "Excellent…\n"
.string "Let me restore your POKéMON.$" .string "Let me restore your POKéMON.$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FF28: @ 824FF28 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent: @ 824FF28
VerdanturfTown_BattleTentBattleRoom_Text_24FF28: @ 824FF28
.string "The 2nd opponent is next.\n" .string "The 2nd opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FF54: @ 824FF54 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent: @ 824FF54
VerdanturfTown_BattleTentBattleRoom_Text_24FF54: @ 824FF54
.string "The 3rd opponent is next.\n" .string "The 3rd opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FF80: @ 824FF80 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent: @ 824FF80
.string "The 4th opponent is next.\n" .string "The 4th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FFAC: @ 824FFAC BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent: @ 824FFAC
.string "The 5th opponent is next.\n" .string "The 5th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FFD8: @ 824FFD8 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent: @ 824FFD8
.string "The 6th opponent is next.\n" .string "The 6th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_250004: @ 8250004 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent: @ 8250004
.string "The 7th opponent is next.\n" .string "The 7th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_250030: @ 8250030 BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame: @ 8250030
VerdanturfTown_BattleTentBattleRoom_Text_250030: @ 8250030
.string "Would you like to save and quit\n" .string "Would you like to save and quit\n"
.string "the game?$" .string "the game?$"
BattleFrontier_BattlePalaceBattleRoom_Text_25005A: @ 825005A BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge: @ 825005A
VerdanturfTown_BattleTentBattleRoom_Text_25005A: @ 825005A
.string "Do you wish to quit your challenge?$" .string "Do you wish to quit your challenge?$"
BattleFrontier_BattlePalaceBattleRoom_Text_25007E: @ 825007E BattleFrontier_BattlePalaceBattleRoom_Text_SavingData: @ 825007E
VerdanturfTown_BattleTentBattleRoom_Text_25007E: @ 825007E
.string "Saving the data.\n" .string "Saving the data.\n"
.string "Have patience…$" .string "Have patience…$"
BattleFrontier_BattlePalaceBattleRoom_Text_25009E: @ 825009E BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch: @ 825009E
.string "Do you wish to record your latest\n" .string "Do you wish to record your latest\n"
.string "match on your FRONTIER PASS?$" .string "match on your FRONTIER PASS?$"
BattleFrontier_BattlePalaceBattleRoom_Text_2500DD: @ 82500DD BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven: @ 82500DD
.string "And now…\p" .string "And now…\p"
.string "By winning consistently, you have\n" .string "By winning consistently, you have\n"
.string "earned the privilege of challenging\l" .string "earned the privilege of challenging\l"
.string "our master, the PALACE MAVEN…$" .string "our master, the PALACE MAVEN…$"
BattleFrontier_BattlePalaceBattleRoom_Text_25014A: @ 825014A BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven: @ 825014A
.string "I shall send for the PALACE MAVEN.\n" .string "I shall send for the PALACE MAVEN.\n"
.string "Are you ready?$" .string "Are you ready?$"
BattleFrontier_BattlePalaceBattleRoom_Text_25017C: @ 825017C BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser: @ 825017C
.string "Let great fanfare announce the arrival\n" .string "Let great fanfare announce the arrival\n"
.string "of the PALACE MAVEN, SPENSER!$" .string "of the PALACE MAVEN, SPENSER!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2501C1: @ 82501C1 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro: @ 82501C1
.string "SPENSER: My physical being is with\n" .string "SPENSER: My physical being is with\n"
.string "POKéMON always!\p" .string "POKéMON always!\p"
.string "My heart beats as one with\n" .string "My heart beats as one with\n"
@@ -537,34 +530,34 @@ BattleFrontier_BattlePalaceBattleRoom_Text_2501C1: @ 82501C1
.string "If your bonds of trust are frail,\n" .string "If your bonds of trust are frail,\n"
.string "you will never beat my brethren!$" .string "you will never beat my brethren!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2502C4: @ 82502C4 BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons: @ 82502C4
.string "The bond you share with your POKéMON!\n" .string "The bond you share with your POKéMON!\n"
.string "Prove it to me here!$" .string "Prove it to me here!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2502FF: @ 82502FF BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle: @ 82502FF
.string "SPENSER: Gwahahah!\p" .string "SPENSER: Gwahahah!\p"
.string "Hah, you never fell for my bluster!\n" .string "Hah, you never fell for my bluster!\n"
.string "Sorry for trying that stunt!\p" .string "Sorry for trying that stunt!\p"
.string "Here!\n" .string "Here!\n"
.string "Bring me the thing!$" .string "Bring me the thing!$"
BattleFrontier_BattlePalaceBattleRoom_Text_25036D: @ 825036D BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass: @ 825036D
.string "My, my, if only you could maintain that\n" .string "My, my, if only you could maintain that\n"
.string "facade of distinguished authority…\p" .string "facade of distinguished authority…\p"
.string "Here!\n" .string "Here!\n"
.string "Let's see your FRONTIER PASS!$" .string "Let's see your FRONTIER PASS!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2503DC: @ 82503DC BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol: @ 82503DC
.string "The Spirits Symbol was embossed on\n" .string "The Spirits Symbol was embossed on\n"
.string "the FRONTIER PASS!$" .string "the FRONTIER PASS!$"
BattleFrontier_BattlePalaceBattleRoom_Text_250412: @ 8250412 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime: @ 8250412
.string "SPENSER: Your POKéMON's eyes are \n" .string "SPENSER: Your POKéMON's eyes are \n"
.string "truly clear and unclouded.\p" .string "truly clear and unclouded.\p"
.string "I will eagerly await the next\n" .string "I will eagerly await the next\n"
.string "opportunity to see you.$" .string "opportunity to see you.$"
BattleFrontier_BattlePalaceBattleRoom_Text_250485: @ 8250485 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack: @ 8250485
.string "SPENSER: Gwahahah!\n" .string "SPENSER: Gwahahah!\n"
.string "You've battled your way up again?\p" .string "You've battled your way up again?\p"
.string "You must have developed a truly\n" .string "You must have developed a truly\n"
@@ -575,10 +568,10 @@ BattleFrontier_BattlePalaceBattleRoom_Text_250485: @ 8250485
.string "Ready now?\n" .string "Ready now?\n"
.string "Prepare to lose!$" .string "Prepare to lose!$"
BattleFrontier_BattlePalaceBattleRoom_Text_250572: @ 8250572 BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah: @ 8250572
.string " …Kaaah!$" .string " …Kaaah!$"
BattleFrontier_BattlePalaceBattleRoom_Text_25057E: @ 825057E BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable: @ 825057E
.string "SPENSER: Well, that was some display!\n" .string "SPENSER: Well, that was some display!\n"
.string "Even fully unleashed, my brethren\l" .string "Even fully unleashed, my brethren\l"
.string "could not overpower you.\p" .string "could not overpower you.\p"
@@ -586,17 +579,17 @@ BattleFrontier_BattlePalaceBattleRoom_Text_25057E: @ 825057E
.string "Here!\n" .string "Here!\n"
.string "Bring me that thing, will you?$" .string "Bring me that thing, will you?$"
BattleFrontier_BattlePalaceBattleRoom_Text_250629: @ 8250629 BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass: @ 8250629
.string "My, my, if only you could maintain\n" .string "My, my, if only you could maintain\n"
.string "a certain level of decorum…\p" .string "a certain level of decorum…\p"
.string "Gaaah, here!\n" .string "Gaaah, here!\n"
.string "Hurry with that FRONTIER PASS, you!$" .string "Hurry with that FRONTIER PASS, you!$"
BattleFrontier_BattlePalaceBattleRoom_Text_250699: @ 8250699 BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine: @ 8250699
.string "The Spirits Symbol took on\n" .string "The Spirits Symbol took on\n"
.string "a golden shine!$" .string "a golden shine!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2506C4: @ 82506C4 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain: @ 82506C4
.string "SPENSER: Gwahahah!\p" .string "SPENSER: Gwahahah!\p"
.string "Come see me time and again!\n" .string "Come see me time and again!\n"
.string "My brethren and I will be waiting!$" .string "My brethren and I will be waiting!$"
@@ -1,89 +1,88 @@
BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3 BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9 map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_OnFrame
.byte 0 .byte 0
BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9: @ 824F4A9 BattleFrontier_BattlePalaceCorridor_OnFrame: @ 824F4A9
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3 BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor:: @ 824F4B3
delay 16 delay 16
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8 applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
waitmovement 0 waitmovement 0
lockall lockall
palace_getcomment palace_getcomment
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F58B call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F594 call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F59D call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6 call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment
closemessage closemessage
frontier_get FRONTIER_DATA_LVL_MODE frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_OPEN compare VAR_RESULT, FRONTIER_LVL_OPEN
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553 goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom
waitmovement 0 waitmovement 0
opendoor 6, 3 opendoor 6, 3
waitdooranim waitdooranim
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
waitmovement 0 waitmovement 0
closedoor 6, 3 closedoor 6, 3
waitdooranim waitdooranim
goto BattleFrontier_BattlePalaceCorridor_EventScript_24F581 goto BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom
BattleFrontier_BattlePalaceCorridor_EventScript_24F553:: @ 824F553 BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom:: @ 824F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5CB applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D2 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom
waitmovement 0 waitmovement 0
opendoor 10, 3 opendoor 10, 3
waitdooranim waitdooranim
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
waitmovement 0 waitmovement 0
closedoor 10, 3 closedoor 10, 3
waitdooranim waitdooranim
BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom:: @ 824F581
BattleFrontier_BattlePalaceCorridor_EventScript_24F581:: @ 824F581
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4
waitstate waitstate
end end
BattleFrontier_BattlePalaceCorridor_EventScript_24F58B:: @ 824F58B BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1:: @ 824F58B
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F5DD, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F594:: @ 824F594 BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2:: @ 824F594
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F65B, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F59D:: @ 824F59D BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3:: @ 824F59D
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F718, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6:: @ 824F5A6 BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment:: @ 824F5A6
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F78C, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF:: @ 824F5AF BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment:: @ 824F5AF
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F7D4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_Movement_24F5B8: @ 824F5B8 BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor: @ 824F5B8
walk_up walk_up
walk_up walk_up
walk_up walk_up
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom: @ 824F5BD
walk_up walk_up
walk_up walk_up
walk_left walk_left
@@ -92,7 +91,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4 BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom: @ 824F5C4
walk_up walk_up
walk_up walk_up
walk_up walk_up
@@ -101,7 +100,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom: @ 824F5CB
walk_up walk_up
walk_right walk_right
walk_right walk_right
@@ -110,7 +109,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2 BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom: @ 824F5D2
walk_up walk_up
walk_up walk_up
walk_right walk_right
@@ -119,39 +118,38 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5D9: @ 824F5D9 BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom: @ 824F5D9
walk_up walk_up
BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom: @ 824F5DA
BattleFrontier_BattlePalaceCorridor_Movement_24F5DA: @ 824F5DA
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceCorridor_Text_24F5DD: @ 824F5DD BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame: @ 824F5DD
.string "People and POKéMON, they are but\n" .string "People and POKéMON, they are but\n"
.string "the same…\p" .string "the same…\p"
.string "Their individual nature makes them\n" .string "Their individual nature makes them\n"
.string "good at certain things, and not good\l" .string "good at certain things, and not good\l"
.string "at others.$" .string "at others.$"
BattleFrontier_BattlePalaceCorridor_Text_24F65B: @ 824F65B BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes: @ 824F65B
.string "Rather than trying to make a POKéMON\n" .string "Rather than trying to make a POKéMON\n"
.string "do what it dislikes, try to let it do\l" .string "do what it dislikes, try to let it do\l"
.string "what it likes and is good at doing.\p" .string "what it likes and is good at doing.\p"
.string "Put yourself in the POKéMON's position\n" .string "Put yourself in the POKéMON's position\n"
.string "and consider what moves it would like.$" .string "and consider what moves it would like.$"
BattleFrontier_BattlePalaceCorridor_Text_24F718: @ 824F718 BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered: @ 824F718
.string "A POKéMON's nature is a remarkable\n" .string "A POKéMON's nature is a remarkable\n"
.string "thing…\p" .string "thing…\p"
.string "Some POKéMON behave in a completely\n" .string "Some POKéMON behave in a completely\n"
.string "different way when they are cornered.$" .string "different way when they are cornered.$"
BattleFrontier_BattlePalaceCorridor_Text_24F78C: @ 824F78C BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature: @ 824F78C
.string "Are you beginning to understand how\n" .string "Are you beginning to understand how\n"
.string "a POKéMON's nature makes it behave?$" .string "a POKéMON's nature makes it behave?$"
BattleFrontier_BattlePalaceCorridor_Text_24F7D4: @ 824F7D4 BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons: @ 824F7D4
.string "Ah… I see a strong, heartfelt bond\n" .string "Ah… I see a strong, heartfelt bond\n"
.string "between you and your POKéMON…$" .string "between you and your POKéMON…$"
@@ -24,7 +24,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24D944", "script": "BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC82", "script": "BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC9D", "script": "BattleFrontier_BattlePalaceLobby_EventScript_Maniac",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC8B", "script": "BattleFrontier_BattlePalaceLobby_EventScript_Man",
"flag": "0" "flag": "0"
}, },
{ {
@@ -76,7 +76,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC94", "script": "BattleFrontier_BattlePalaceLobby_EventScript_Beauty",
"flag": "0" "flag": "0"
}, },
{ {
@@ -89,7 +89,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24D956", "script": "BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant",
"flag": "0" "flag": "0"
} }
], ],
@@ -124,7 +124,7 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH", "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC50" "script": "BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults"
}, },
{ {
"type": "sign", "type": "sign",
@@ -132,7 +132,7 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH", "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC69" "script": "BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults"
}, },
{ {
"type": "sign", "type": "sign",
@@ -140,7 +140,7 @@
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DCA6" "script": "BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard"
} }
] ]
} }
@@ -1,32 +1,32 @@
BattleFrontier_BattlePalaceLobby_MapScripts:: @ 824D77E BattleFrontier_BattlePalaceLobby_MapScripts:: @ 824D77E
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceLobby_MapScript2_24D79D map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceLobby_MapScript2_24D789 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceLobby_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePalaceLobby_MapScript2_24D789: @ 824D789 BattleFrontier_BattlePalaceLobby_OnWarp: @ 824D789
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_24D793 map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_24D793:: @ 824D793 BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth:: @ 824D793
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePalaceLobby_MapScript2_24D79D: @ 824D79D BattleFrontier_BattlePalaceLobby_OnFrame: @ 824D79D
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceLobby_EventScript_24D7C7 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePalaceLobby_EventScript_24D7D0 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePalaceLobby_EventScript_24D908 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePalaceLobby_EventScript_24D817 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_24D873 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_24D7C7:: @ 824D7C7 BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus:: @ 824D7C7
frontier_getstatus frontier_getstatus
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0 BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving:: @ 824D7D0
lockall lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_24E636, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
closemessage closemessage
palace_set PALACE_DATA_WIN_STREAK, 0 palace_set PALACE_DATA_WIN_STREAK, 0
palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE
@@ -35,42 +35,42 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817 BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge:: @ 824D817
lockall lockall
frontier_isbrain frontier_isbrain
compare VAR_RESULT, TRUE compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840 goto BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints
BattleFrontier_BattlePalaceLobby_EventScript_24D838:: @ 824D838 BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven:: @ 824D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24EE81, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers, MSGBOX_DEFAULT
BattleFrontier_BattlePalaceLobby_EventScript_24D840:: @ 824D840 BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints:: @ 824D840
msgbox BattleFrontier_BattlePalaceLobby_Text_24EEB9, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints, MSGBOX_DEFAULT
frontier_givepoints frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattlePalaceLobby_Text_24E4F7 message BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded
waitmessage waitmessage
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1 call BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D873:: @ 824D873 BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge:: @ 824D873
lockall lockall
message BattleFrontier_BattlePalaceLobby_Text_24E41E message BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded
waitmessage waitmessage
palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1 call BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1 BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge:: @ 824D8A1
frontier_checkairshow frontier_checkairshow
special LoadPlayerParty special LoadPlayerParty
special HealPlayerParty special HealPlayerParty
@@ -79,82 +79,82 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
waitse waitse
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0 call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
message BattleFrontier_BattlePalaceLobby_Text_24EF16 message BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24D907 case 1, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24D902 case 0, BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24D907 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24D902:: @ 824D902 BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch:: @ 824D902
call BattleFrontier_EventScript_SaveBattle call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattlePalaceLobby_EventScript_24D907:: @ 824D907 BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge:: @ 824D907
return return
BattleFrontier_BattlePalaceLobby_EventScript_24D908:: @ 824D908 BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge:: @ 824D908
lockall lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_24E5D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
message BattleFrontier_BattlePalaceLobby_Text_24E5F6 message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
waitmessage waitmessage
palace_save CHALLENGE_STATUS_SAVING palace_save CHALLENGE_STATUS_SAVING
playse SE_SAVE playse SE_SAVE
waitse waitse
frontier_set FRONTIER_DATA_PAUSED, FALSE frontier_set FRONTIER_DATA_PAUSED, FALSE
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
goto BattleFrontier_BattlePalaceLobby_EventScript_24DAF3 goto BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24D944:: @ 824D944 BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant:: @ 824D944
lock lock
faceplayer faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
goto BattleFrontier_BattlePalaceLobby_EventScript_24D968 goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D956:: @ 824D956 BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant:: @ 824D956
lock lock
faceplayer faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto BattleFrontier_BattlePalaceLobby_EventScript_24D968 goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968 BattleFrontier_BattlePalaceLobby_EventScript_Attendant:: @ 824D968
palace_get PALACE_DATA_PRIZE palace_get PALACE_DATA_PRIZE
compare VAR_RESULT, ITEM_NONE compare VAR_RESULT, ITEM_NONE
goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_24D817 goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
special SavePlayerParty special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB9E call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBA7 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle
BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999 BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge:: @ 824D999
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB0 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB6 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge
waitmessage waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, 0 multichoice 17, 6, MULTI_CHALLENGEINFO, 0
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24D9E6 case 0, BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB20 case 1, BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case 2, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6 BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge:: @ 824D9E6
message BattleFrontier_BattlePalaceLobby_Text_24E119 message BattleFrontier_BattlePalaceLobby_Text_WhichChallenge
waitmessage waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, 0 multichoice 17, 6, MULTI_LEVEL_MODE, 0
switch VAR_RESULT switch VAR_RESULT
case FRONTIER_LVL_TENT, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case FRONTIER_LVL_TENT, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
frontier_checkineligible frontier_checkineligible
compare VAR_0x8004, TRUE compare VAR_0x8004, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattlePalaceLobby_Text_24E399, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons, MSGBOX_DEFAULT
fadescreen 1 fadescreen 1
call BattleFrontier_EventScript_GetLvlMode call BattleFrontier_EventScript_GetLvlMode
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
@@ -162,14 +162,14 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
special ChoosePartyForBattleFrontier special ChoosePartyForBattleFrontier
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, BattleFrontier_BattlePalaceLobby_EventScript_24DB91 case NO, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattlePalaceLobby_EventScript_24DA87 case YES, BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB91 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87 BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge:: @ 824DA87
setvar VAR_TEMP_0, 0 setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
palace_init palace_init
@@ -182,133 +182,132 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
call Common_EventScript_SaveGame call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge:: @ 824DAF3
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattlePalaceLobby_Text_24E408, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FollowMe, MSGBOX_DEFAULT
closemessage closemessage
call BattleFrontier_BattlePalaceLobby_EventScript_24DBBC call BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 255, 8, 13 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 255, 8, 13
setvar VAR_TEMP_0, 0 setvar VAR_TEMP_0, 0
waitstate waitstate
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20 BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge:: @ 824DB20
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999 goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB38:: @ 824DB38 BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge:: @ 824DB38
msgbox BattleFrontier_BattlePalaceLobby_Text_24EBC2, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999 goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB45:: @ 824DB45 BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons:: @ 824DB45
switch VAR_RESULT switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_24DB60 case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_24DB6D case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattlePalaceLobby_EventScript_24DB60:: @ 824DB60 BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50:: @ 824DB60
msgbox BattleFrontier_BattlePalaceLobby_Text_24E173, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB6D:: @ 824DB6D BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 824DB6D
msgbox BattleFrontier_BattlePalaceLobby_Text_24E29E, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB7A:: @ 824DB7A BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed:: @ 824DB7A
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB94 goto BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB91:: @ 824DB91 BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge:: @ 824DB91
special LoadPlayerParty special LoadPlayerParty
BattleFrontier_BattlePalaceLobby_EventScript_24DB94:: @ 824DB94 BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge:: @ 824DB94
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
BattleFrontier_BattlePalaceLobby_EventScript_24DB9C:: @ 824DB9C BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge:: @ 824DB9C
release release
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DB9E:: @ 824DB9E BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle:: @ 824DB9E
msgbox BattleFrontier_BattlePalaceLobby_Text_24DD5B, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBA7:: @ 824DBA7 BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle:: @ 824DBA7
msgbox BattleFrontier_BattlePalaceLobby_Text_24EB06, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBB0:: @ 824DBB0 BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge:: @ 824DBB0
message BattleFrontier_BattlePalaceLobby_Text_24DDE1 message BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBB6:: @ 824DBB6 BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge:: @ 824DBB6
message BattleFrontier_BattlePalaceLobby_Text_24EB8C message BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor:: @ 824DBBC
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC23 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC29 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC2F call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC35 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor
waitdooranim waitdooranim
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC4C applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC3B call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC41 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor
waitdooranim waitdooranim
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC23:: @ 824DC23 BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant:: @ 824DC23
setvar VAR_LAST_TALKED, 1 setvar VAR_LAST_TALKED, 1
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC29:: @ 824DC29 BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant:: @ 824DC29
setvar VAR_LAST_TALKED, 6 setvar VAR_LAST_TALKED, 6
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC2F:: @ 824DC2F BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor:: @ 824DC2F
opendoor 5, 4 opendoor 5, 4
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC35:: @ 824DC35 BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor:: @ 824DC35
opendoor 19, 4 opendoor 19, 4
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC3B:: @ 824DC3B BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor:: @ 824DC3B
closedoor 5, 4 closedoor 5, 4
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC41:: @ 824DC41 BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor:: @ 824DC41
closedoor 19, 4 closedoor 19, 4
return return
BattleFrontier_BattlePalaceLobby_Movement_24DC47: @ 824DC47 BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor: @ 824DC47
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceLobby_Movement_24DC49: @ 824DC49 BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor: @ 824DC49
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceLobby_Movement_24DC4C: @ 824DC4C BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor: @ 824DC4C
walk_up walk_up
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50 BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults:: @ 824DC50
lockall lockall
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES
waitbuttonpress waitbuttonpress
@@ -316,7 +315,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69 BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults:: @ 824DC69
lockall lockall
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES
waitbuttonpress waitbuttonpress
@@ -324,83 +323,83 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC82:: @ 824DC82 BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt:: @ 824DC82
msgbox BattleFrontier_BattlePalaceLobby_Text_24E6E3, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC8B:: @ 824DC8B BattleFrontier_BattlePalaceLobby_EventScript_Man:: @ 824DC8B
msgbox BattleFrontier_BattlePalaceLobby_Text_24E851, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC94:: @ 824DC94 BattleFrontier_BattlePalaceLobby_EventScript_Beauty:: @ 824DC94
msgbox BattleFrontier_BattlePalaceLobby_Text_24E992, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC9D:: @ 824DC9D BattleFrontier_BattlePalaceLobby_EventScript_Maniac:: @ 824DC9D
msgbox BattleFrontier_BattlePalaceLobby_Text_24EA4B, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DCA6:: @ 824DCA6 BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard:: @ 824DCA6
lockall lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_24EF66, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DCB5:: @ 824DCB5 BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard:: @ 824DCB5
message BattleFrontier_BattlePalaceLobby_Text_24EF88 message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
waitmessage waitmessage
multichoice 16, 0, MULTI_BATTLE_PALACE_RULES, 0 multichoice 16, 0, MULTI_BATTLE_PALACE_RULES, 0
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DD13 case 0, BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DD21 case 1, BattleFrontier_BattlePalaceLobby_EventScript_RulesNature
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DD2F case 2, BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves
case 3, BattleFrontier_BattlePalaceLobby_EventScript_24DD3D case 3, BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered
case 4, BattleFrontier_BattlePalaceLobby_EventScript_24DD4B case 4, BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger
case 5, BattleFrontier_BattlePalaceLobby_EventScript_24DD59 case 5, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DD59 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD13:: @ 824DD13 BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics:: @ 824DD13
msgbox BattleFrontier_BattlePalaceLobby_Text_24EFAB, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD21:: @ 824DD21 BattleFrontier_BattlePalaceLobby_EventScript_RulesNature:: @ 824DD21
msgbox BattleFrontier_BattlePalaceLobby_Text_24F049, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD2F:: @ 824DD2F BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves:: @ 824DD2F
msgbox BattleFrontier_BattlePalaceLobby_Text_24F190, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD3D:: @ 824DD3D BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered:: @ 824DD3D
msgbox BattleFrontier_BattlePalaceLobby_Text_24F2E8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD4B:: @ 824DD4B BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger:: @ 824DD4B
msgbox BattleFrontier_BattlePalaceLobby_Text_24F3F4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD59:: @ 824DD59 BattleFrontier_BattlePalaceLobby_EventScript_ExitRules:: @ 824DD59
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_Text_24DD5B: @ 824DD5B BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle: @ 824DD5B
.string "Where the hearts of TRAINERS\n" .string "Where the hearts of TRAINERS\n"
.string "are put to the test.\p" .string "are put to the test.\p"
.string "I welcome you to the BATTLE PALACE.\p" .string "I welcome you to the BATTLE PALACE.\p"
.string "I accept challenges to the SINGLE\n" .string "I accept challenges to the SINGLE\n"
.string "BATTLE HALLS.$" .string "BATTLE HALLS.$"
BattleFrontier_BattlePalaceLobby_Text_24DDE1: @ 824DDE1 BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge: @ 824DDE1
.string "Do you wish to take\n" .string "Do you wish to take\n"
.string "the SINGLE BATTLE HALL challenge?$" .string "the SINGLE BATTLE HALL challenge?$"
BattleFrontier_BattlePalaceLobby_Text_24DE17: @ 824DE17 BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge: @ 824DE17
.string "In the BATTLE PALACE, there are\n" .string "In the BATTLE PALACE, there are\n"
.string "several auditoriums for SINGLE BATTLES\l" .string "several auditoriums for SINGLE BATTLES\l"
.string "that are named SINGLE BATTLE HALLS.\p" .string "that are named SINGLE BATTLE HALLS.\p"
@@ -423,16 +422,16 @@ BattleFrontier_BattlePalaceLobby_Text_24DE17: @ 824DE17
.string "If you don't save before interrupting,\n" .string "If you don't save before interrupting,\n"
.string "you will be disqualified.$" .string "you will be disqualified.$"
BattleFrontier_BattlePalaceLobby_Text_24E0D8: @ 824E0D8 BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified: @ 824E0D8
.string "When you have fortified your heart\n" .string "When you have fortified your heart\n"
.string "and POKéMON, you must return.$" .string "and POKéMON, you must return.$"
BattleFrontier_BattlePalaceLobby_Text_24E119: @ 824E119 BattleFrontier_BattlePalaceLobby_Text_WhichChallenge: @ 824E119
.string "There are two BATTLE HALLS,\n" .string "There are two BATTLE HALLS,\n"
.string "Level 50 and Open Level.\l" .string "Level 50 and Open Level.\l"
.string "Which is your choice of a challenge?$" .string "Which is your choice of a challenge?$"
BattleFrontier_BattlePalaceLobby_Text_24E173: @ 824E173 BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50: @ 824E173
.string "Sigh…\p" .string "Sigh…\p"
.string "You do not have the three POKéMON\n" .string "You do not have the three POKéMON\n"
.string "required for the challenge.\p" .string "required for the challenge.\p"
@@ -446,7 +445,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E173: @ 824E173
.string "Come back when you have made\n" .string "Come back when you have made\n"
.string "your preparations.$" .string "your preparations.$"
BattleFrontier_BattlePalaceLobby_Text_24E29E: @ 824E29E BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen: @ 824E29E
.string "Sigh…\p" .string "Sigh…\p"
.string "You do not have the three POKéMON\n" .string "You do not have the three POKéMON\n"
.string "required for the challenge.\p" .string "required for the challenge.\p"
@@ -458,65 +457,64 @@ BattleFrontier_BattlePalaceLobby_Text_24E29E: @ 824E29E
.string "Come back when you have made\n" .string "Come back when you have made\n"
.string "your preparations.$" .string "your preparations.$"
BattleFrontier_BattlePalaceLobby_Text_24E399: @ 824E399 BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons: @ 824E399
.string "Good. Now, you must select your\n" .string "Good. Now, you must select your\n"
.string "three POKéMON.$" .string "three POKéMON.$"
BattleFrontier_BattlePalaceLobby_Text_24E3C8: @ 824E3C8 BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2: @ 824E3C8
.string "I must save before I show you to\n" .string "I must save before I show you to\n"
.string "the BATTLE HALL. Is that okay?$" .string "the BATTLE HALL. Is that okay?$"
BattleFrontier_BattlePalaceLobby_Text_24E408: @ 824E408 BattleFrontier_BattlePalaceLobby_Text_FollowMe: @ 824E408
.string "Good.\n" .string "Good.\n"
.string "Now, follow me.$" .string "Now, follow me.$"
BattleFrontier_BattlePalaceLobby_Text_24E41E: @ 824E41E BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded: @ 824E41E
.string "I feel privileged for having seen\n" .string "I feel privileged for having seen\n"
.string "your POKéMON's exploits.\p" .string "your POKéMON's exploits.\p"
.string "The results will be recorded.\n" .string "The results will be recorded.\n"
.string "I must ask you to briefly wait.$" .string "I must ask you to briefly wait.$"
BattleFrontier_BattlePalaceLobby_Text_24E497: @ 824E497 BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak: @ 824E497
.string "To achieve a 7-win streak…\p" .string "To achieve a 7-win streak…\p"
.string "The bonds that bind your heart with\n" .string "The bonds that bind your heart with\n"
.string "your POKéMON seem firm and true.$" .string "your POKéMON seem firm and true.$"
BattleFrontier_BattlePalaceLobby_Text_24E4F7: @ 824E4F7 BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded: @ 824E4F7
.string "Your feat will be recorded.\n" .string "Your feat will be recorded.\n"
.string "I must ask you to briefly wait.$" .string "I must ask you to briefly wait.$"
BattleFrontier_BattlePalaceLobby_Text_24E533: @ 824E5333 @ Unused
BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak: @ 824E5333
.string "For the feat of your 7-win streak,\n" .string "For the feat of your 7-win streak,\n"
.string "we present you with Battle Point(s).$" .string "we present you with Battle Point(s).$"
VerdanturfTown_BattleTentLobby_Text_24E57B: @ 824E57B BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize: @ 824E57B
.string "You seem to have no space for\n" .string "You seem to have no space for\n"
.string "our prize.\p" .string "our prize.\p"
.string "You should return when you have\n" .string "You should return when you have\n"
.string "organized your BAG.$" .string "organized your BAG.$"
BattleFrontier_BattlePalaceLobby_Text_24E5D8: @ 824E5D8 BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting: @ 824E5D8
VerdanturfTown_BattleTentLobby_Text_24E5D8: @ 824E5D8
.string "We have been waiting for you…$" .string "We have been waiting for you…$"
BattleFrontier_BattlePalaceLobby_Text_24E5F6: @ 824E5F6 BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge: @ 824E5F6
VerdanturfTown_BattleTentLobby_Text_24E5F6: @ 824E5F6
.string "I must save before I show you to\n" .string "I must save before I show you to\n"
.string "the BATTLE HALL. Is that okay?$" .string "the BATTLE HALL. Is that okay?$"
BattleFrontier_BattlePalaceLobby_Text_24E636: @ 824E636 BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge: @ 824E636
VerdanturfTown_BattleTentLobby_Text_24E636: @ 824E636
.string "Sigh…\p" .string "Sigh…\p"
.string "You failed to save before you ended\n" .string "You failed to save before you ended\n"
.string "your challenge the last time.\p" .string "your challenge the last time.\p"
.string "As a result, your challenge has been\n" .string "As a result, your challenge has been\n"
.string "disqualified. It is most unfortunate.$" .string "disqualified. It is most unfortunate.$"
BattleFrontier_BattlePalaceLobby_Text_24E6C9: @ 824E6C9 @ Unused
BattleFrontier_BattlePalaceLobby_Text_ReceivedPrize: @ 824E6C9
.string "{PLAYER} received the prize\n" .string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$" .string "{STR_VAR_1}.$"
BattleFrontier_BattlePalaceLobby_Text_24E6E3: @ 824E6E3 BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink: @ 824E6E3
.string "For a hardy fellow like me,\n" .string "For a hardy fellow like me,\n"
.string "hardy POKéMON are the best.\p" .string "hardy POKéMON are the best.\p"
.string "Offense is the best defense!\n" .string "Offense is the best defense!\n"
@@ -532,7 +530,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E6E3: @ 824E6E3
.string "Huh?\n" .string "Huh?\n"
.string "Why are you looking at me like that?$" .string "Why are you looking at me like that?$"
BattleFrontier_BattlePalaceLobby_Text_24E851: @ 824E851 BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere: @ 824E851
.string "Hmm…\p" .string "Hmm…\p"
.string "It appears that the nature of POKéMON\n" .string "It appears that the nature of POKéMON\n"
.string "and the moves that they have been\l" .string "and the moves that they have been\l"
@@ -545,7 +543,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E851: @ 824E851
.string "you may need to examine how well\l" .string "you may need to examine how well\l"
.string "its moves match its nature.$" .string "its moves match its nature.$"
BattleFrontier_BattlePalaceLobby_Text_24E992: @ 824E992 BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms: @ 824E992
.string "My POKéMON is usually very docile.\p" .string "My POKéMON is usually very docile.\p"
.string "But when it's in a BATTLE HALL,\n" .string "But when it's in a BATTLE HALL,\n"
.string "it sometimes seems to become\l" .string "it sometimes seems to become\l"
@@ -553,25 +551,25 @@ BattleFrontier_BattlePalaceLobby_Text_24E992: @ 824E992
.string "It becomes totally intimidating.\n" .string "It becomes totally intimidating.\n"
.string "It's shocking, even.$" .string "It's shocking, even.$"
BattleFrontier_BattlePalaceLobby_Text_24EA4B: @ 824EA4B BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway: @ 824EA4B
.string "I wonder what sort of nature a POKéMON\n" .string "I wonder what sort of nature a POKéMON\n"
.string "would have if it favored enfeebling its\l" .string "would have if it favored enfeebling its\l"
.string "opponents and chipping away slowly.\p" .string "opponents and chipping away slowly.\p"
.string "I'd be surprised if it was a LAX nature.\p" .string "I'd be surprised if it was a LAX nature.\p"
.string "But, nah, that can't be right.$" .string "But, nah, that can't be right.$"
BattleFrontier_BattlePalaceLobby_Text_24EB06: @ 824EB06 BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle: @ 824EB06
.string "Where the hearts of TRAINERS\n" .string "Where the hearts of TRAINERS\n"
.string "are put to the test.\p" .string "are put to the test.\p"
.string "I welcome you to the BATTLE PALACE.\p" .string "I welcome you to the BATTLE PALACE.\p"
.string "I accept challenges to the DOUBLE\n" .string "I accept challenges to the DOUBLE\n"
.string "BATTLE HALLS.$" .string "BATTLE HALLS.$"
BattleFrontier_BattlePalaceLobby_Text_24EB8C: @ 824EB8C BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge: @ 824EB8C
.string "Do you wish to take\n" .string "Do you wish to take\n"
.string "the DOUBLE BATTLE HALL challenge?$" .string "the DOUBLE BATTLE HALL challenge?$"
BattleFrontier_BattlePalaceLobby_Text_24EBC2: @ 824EBC2 BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge: @ 824EBC2
.string "In the BATTLE PALACE, there are\n" .string "In the BATTLE PALACE, there are\n"
.string "several auditoriums for DOUBLE BATTLES\l" .string "several auditoriums for DOUBLE BATTLES\l"
.string "that are named DOUBLE BATTLE HALLS.\p" .string "that are named DOUBLE BATTLE HALLS.\p"
@@ -594,37 +592,34 @@ BattleFrontier_BattlePalaceLobby_Text_24EBC2: @ 824EBC2
.string "If you don't save before interrupting,\n" .string "If you don't save before interrupting,\n"
.string "you will be disqualified.$" .string "you will be disqualified.$"
BattleFrontier_BattlePalaceLobby_Text_24EE81: @ 824EE81 BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers: @ 824EE81
.string "To defeat the PALACE MAVEN\n" .string "To defeat the PALACE MAVEN\n"
.string "and seven TRAINERS in a row…$" .string "and seven TRAINERS in a row…$"
BattleFrontier_BattlePalaceLobby_Text_24EEB9: @ 824EEB9 BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints: @ 824EEB9
.string "In honor of the bond you share with\n" .string "In honor of the bond you share with\n"
.string "your POKéMON, we present you with\l" .string "your POKéMON, we present you with\l"
.string "these Battle Point(s).$" .string "these Battle Point(s).$"
BattleFrontier_BattlePalaceLobby_Text_24EF16: @ 824EF16 BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch: @ 824EF16
.string "Would you like to record your latest\n" .string "Would you like to record your latest\n"
.string "BATTLE PALACE match on your\l" .string "BATTLE PALACE match on your\l"
.string "FRONTIER PASS?$" .string "FRONTIER PASS?$"
BattleFrontier_BattlePalaceLobby_Text_24EF66: @ 824EF66 BattleFrontier_BattlePalaceLobby_Text_RulesAreListed: @ 824EF66
.string "The BATTLE HALL rules are listed.$" .string "The BATTLE HALL rules are listed.$"
BattleFrontier_BattlePalaceLobby_Text_24EF88: @ 824EF88 BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading: @ 824EF88
VerdanturfTown_BattleTentLobby_Text_24EF88: @ 824EF88
.string "Which heading do you want to read?$" .string "Which heading do you want to read?$"
BattleFrontier_BattlePalaceLobby_Text_24EFAB: @ 824EFAB BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics: @ 824EFAB
VerdanturfTown_BattleTentLobby_Text_24EFAB: @ 824EFAB
.string "Here, POKéMON are required to think\n" .string "Here, POKéMON are required to think\n"
.string "and battle by themselves.\p" .string "and battle by themselves.\p"
.string "Unlike in the wild, POKéMON that live\n" .string "Unlike in the wild, POKéMON that live\n"
.string "with people behave differently\l" .string "with people behave differently\l"
.string "depending on their nature.$" .string "depending on their nature.$"
BattleFrontier_BattlePalaceLobby_Text_24F049: @ 824F049 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature: @ 824F049
VerdanturfTown_BattleTentLobby_Text_24F049: @ 824F049
.string "Depending on its nature, a POKéMON\n" .string "Depending on its nature, a POKéMON\n"
.string "may prefer to attack no matter what.\p" .string "may prefer to attack no matter what.\p"
.string "Another POKéMON may prefer to protect\n" .string "Another POKéMON may prefer to protect\n"
@@ -637,8 +632,7 @@ VerdanturfTown_BattleTentLobby_Text_24F049: @ 824F049
.string "It may also dislike certain moves that\n" .string "It may also dislike certain moves that\n"
.string "it has trouble using.$" .string "it has trouble using.$"
BattleFrontier_BattlePalaceLobby_Text_24F190: @ 824F190 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves: @ 824F190
VerdanturfTown_BattleTentLobby_Text_24F190: @ 824F190
.string "There are offensive moves that inflict\n" .string "There are offensive moves that inflict\n"
.string "direct damage on the foe.\p" .string "direct damage on the foe.\p"
.string "There are defensive moves that are\n" .string "There are defensive moves that are\n"
@@ -651,8 +645,7 @@ VerdanturfTown_BattleTentLobby_Text_24F190: @ 824F190
.string "POKéMON will consider using moves in\n" .string "POKéMON will consider using moves in\n"
.string "these three categories.$" .string "these three categories.$"
BattleFrontier_BattlePalaceLobby_Text_24F2E8: @ 824F2E8 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered: @ 824F2E8
VerdanturfTown_BattleTentLobby_Text_24F2E8: @ 824F2E8
.string "When not under command by its TRAINER,\n" .string "When not under command by its TRAINER,\n"
.string "a POKéMON may be unable to effectively\l" .string "a POKéMON may be unable to effectively\l"
.string "use certain moves.\p" .string "use certain moves.\p"
@@ -662,8 +655,7 @@ VerdanturfTown_BattleTentLobby_Text_24F2E8: @ 824F2E8
.string "do not match its nature, it will often\l" .string "do not match its nature, it will often\l"
.string "be unable to live up to its potential.$" .string "be unable to live up to its potential.$"
BattleFrontier_BattlePalaceLobby_Text_24F3F4: @ 824F3F4 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger: @ 824F3F4
VerdanturfTown_BattleTentLobby_Text_24F3F4: @ 824F3F4
.string "Depending on its nature, a POKéMON may\n" .string "Depending on its nature, a POKéMON may\n"
.string "start using moves that don't match its\l" .string "start using moves that don't match its\l"
.string "nature when it is in trouble.\p" .string "nature when it is in trouble.\p"
@@ -46,7 +46,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_20236F:: @ 820236F
battletent_getopponentintro battletent_getopponentintro
msgbox gStringVar4, MSGBOX_DEFAULT msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage waitmessage
call VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
switch VAR_RESULT switch VAR_RESULT
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8 case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8
@@ -68,7 +68,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8:: @ 82023C8
applymovement 3, Common_Movement_WalkInPlaceFastestDown applymovement 3, Common_Movement_WalkInPlaceFastestDown
applymovement 1, Common_Movement_WalkInPlaceFastestUp applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
msgbox VerdanturfTown_BattleTentBattleRoom_Text_24FF00, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons, MSGBOX_DEFAULT
special LoadPlayerParty special LoadPlayerParty
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
@@ -89,14 +89,14 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_20243C:: @ 820243C
case 2, VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8 case 2, VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8
VerdanturfTown_BattleTentBattleRoom_EventScript_20248A:: @ 820248A VerdanturfTown_BattleTentBattleRoom_EventScript_20248A:: @ 820248A
msgbox VerdanturfTown_BattleTentBattleRoom_Text_250030, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C case NO, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
case YES, VerdanturfTown_BattleTentBattleRoom_EventScript_20251F case YES, VerdanturfTown_BattleTentBattleRoom_EventScript_20251F
case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8:: @ 82024B8 VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8:: @ 82024B8
message VerdanturfTown_BattleTentBattleRoom_Text_25005A message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
@@ -118,7 +118,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_202501:: @ 8202501
waitstate waitstate
VerdanturfTown_BattleTentBattleRoom_EventScript_20251F:: @ 820251F VerdanturfTown_BattleTentBattleRoom_EventScript_20251F:: @ 820251F
message VerdanturfTown_BattleTentBattleRoom_Text_25007E message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
waitmessage waitmessage
verdanturftent_save CHALLENGE_STATUS_PAUSED verdanturftent_save CHALLENGE_STATUS_PAUSED
playse SE_SAVE playse SE_SAVE
@@ -140,12 +140,12 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_20254B:: @ 820254B
end end
VerdanturfTown_BattleTentBattleRoom_EventScript_202565:: @ 8202565 VerdanturfTown_BattleTentBattleRoom_EventScript_202565:: @ 8202565
message VerdanturfTown_BattleTentBattleRoom_Text_24FF28 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
waitmessage waitmessage
return return
VerdanturfTown_BattleTentBattleRoom_EventScript_20256C:: @ 820256C VerdanturfTown_BattleTentBattleRoom_EventScript_20256C:: @ 820256C
message VerdanturfTown_BattleTentBattleRoom_Text_24FF54 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
waitmessage waitmessage
return return
@@ -26,7 +26,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201719:: @ 8201719
VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722 VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722
lockall lockall
msgbox VerdanturfTown_BattleTentLobby_Text_24E636, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
closemessage closemessage
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
@@ -62,7 +62,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201791:: @ 8201791
end end
VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD
msgbox VerdanturfTown_BattleTentLobby_Text_24E57B, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize, MSGBOX_DEFAULT
waitmessage waitmessage
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
@@ -91,8 +91,8 @@ VerdanturfTown_BattleTentLobby_EventScript_2017FD:: @ 82017FD
VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837 VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837
lockall lockall
msgbox VerdanturfTown_BattleTentLobby_Text_24E5D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
message VerdanturfTown_BattleTentLobby_Text_24E5F6 message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
waitmessage waitmessage
verdanturftent_save CHALLENGE_STATUS_SAVING verdanturftent_save CHALLENGE_STATUS_SAVING
playse SE_SAVE playse SE_SAVE
@@ -282,7 +282,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201B02:: @ 8201B02
end end
VerdanturfTown_BattleTentLobby_EventScript_201B11:: @ 8201B11 VerdanturfTown_BattleTentLobby_EventScript_201B11:: @ 8201B11
message VerdanturfTown_BattleTentLobby_Text_24EF88 message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
waitmessage waitmessage
setvar VAR_0x8004, SCROLL_MULTI_BATTLE_TENT_RULES setvar VAR_0x8004, SCROLL_MULTI_BATTLE_TENT_RULES
special ShowScrollableMultichoice special ShowScrollableMultichoice
@@ -304,27 +304,27 @@ VerdanturfTown_BattleTentLobby_EventScript_201B7E:: @ 8201B7E
end end
VerdanturfTown_BattleTentLobby_EventScript_201B8C:: @ 8201B8C VerdanturfTown_BattleTentLobby_EventScript_201B8C:: @ 8201B8C
msgbox VerdanturfTown_BattleTentLobby_Text_24EFAB, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201B9A:: @ 8201B9A VerdanturfTown_BattleTentLobby_EventScript_201B9A:: @ 8201B9A
msgbox VerdanturfTown_BattleTentLobby_Text_24F049, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201BA8:: @ 8201BA8 VerdanturfTown_BattleTentLobby_EventScript_201BA8:: @ 8201BA8
msgbox VerdanturfTown_BattleTentLobby_Text_24F190, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201BB6:: @ 8201BB6 VerdanturfTown_BattleTentLobby_EventScript_201BB6:: @ 8201BB6
msgbox VerdanturfTown_BattleTentLobby_Text_24F2E8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201BC4:: @ 8201BC4 VerdanturfTown_BattleTentLobby_EventScript_201BC4:: @ 8201BC4
msgbox VerdanturfTown_BattleTentLobby_Text_24F3F4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end