2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_BLACK_BELT_1, 1
|
|
|
|
.set LOCALID_BLACK_BELT_2, 2
|
|
|
|
.set LOCALID_BLACK_BELT_3, 3
|
|
|
|
.set LOCALID_BLACK_BELT_4, 4
|
|
|
|
.set LOCALID_ATTENDANT, 5
|
|
|
|
.set LOCALID_OPPONENT, 7
|
|
|
|
.set LOCALID_PLAYER, 8
|
|
|
|
.set LOCALID_ANNOUNCER, 9
|
|
|
|
|
2017-11-10 02:21:31 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_MapScripts:: @ 8257487
|
2019-11-26 23:20:08 +01:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleArenaBattleRoom_OnTransition
|
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaBattleRoom_OnFrame
|
|
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleArenaBattleRoom_OnWarp
|
|
|
|
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleArenaBattleRoom_OnResume
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
|
2020-06-21 07:56:57 +02:00
|
|
|
@ The player is represented instead by LOCALID_PLAYER, which has the gfx id VAR_OBJ_GFX_ID_1
|
2019-11-26 23:20:08 +01:00
|
|
|
|
|
|
|
BattleFrontier_BattleArenaBattleRoom_OnResume: @ 825749C
|
2019-09-30 07:42:52 +02:00
|
|
|
special OffsetCameraForBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_OnTransition: @ 82574A0
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_settrainers
|
2019-11-26 23:20:08 +01:00
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfx
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfx:: @ 82574AE
|
2017-11-10 02:21:31 +01:00
|
|
|
checkplayergender
|
2018-12-25 03:22:56 +01:00
|
|
|
compare VAR_RESULT, MALE
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxMale
|
2018-12-25 03:22:56 +01:00
|
|
|
compare VAR_RESULT, FEMALE
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxFemale
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxMale:: @ 82574C6
|
2019-11-21 05:12:51 +01:00
|
|
|
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxFemale:: @ 82574CC
|
2019-11-21 05:12:51 +01:00
|
|
|
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_OnFrame: @ 82574D2
|
|
|
|
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaBattleRoom_EventScript_EnterRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_EnterRoom:: @ 82574DC
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2020-06-21 07:56:57 +02:00
|
|
|
showobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM
|
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_PlayerEnter
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_get FRONTIER_DATA_BATTLE_NUM
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceDown
|
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceLeft
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_2, 1
|
2020-01-08 11:43:06 +01:00
|
|
|
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
|
2019-11-26 23:20:08 +01:00
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers:: @ 825752E
|
2019-11-29 04:46:39 +01:00
|
|
|
tower_setopponent
|
2020-06-21 07:56:57 +02:00
|
|
|
addobject LOCALID_OPPONENT
|
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentEnter
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_M_BELLY_DRUM
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_PlayerStepForward, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForward
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_M_BELLY_DRUM
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
arena_gettrainername
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_OpponentStepForward, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForward
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_M_BELLY_DRUM
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SetKOTourneyBegin, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForward
|
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForward
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
palace_getopponentintro
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox gStringVar4, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2019-11-26 23:20:08 +01:00
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedOpponent
|
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner:: @ 82575DB
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
|
|
|
applymovement LOCALID_BLACK_BELT_1, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
|
|
|
applymovement LOCALID_BLACK_BELT_2, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
|
|
|
applymovement LOCALID_BLACK_BELT_3, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp
|
|
|
|
applymovement LOCALID_BLACK_BELT_4, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_M_SNORE
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
arena_gettrainername
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsOpponent, MSGBOX_DEFAULT
|
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_WarpToLobbyLost:: @ 8257615
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY, 255, 7, 8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedOpponent:: @ 8257630
|
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_get FRONTIER_DATA_BATTLE_NUM
|
2017-11-10 02:21:31 +01:00
|
|
|
addvar VAR_RESULT, 1
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 7, BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_PlayerWalkBackToLine
|
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentExit
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_OPPONENT
|
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceDown
|
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_MonsWillBeRestored, MSGBOX_DEFAULT
|
2018-04-29 14:21:59 +02:00
|
|
|
special LoadPlayerParty
|
|
|
|
special SavePlayerParty
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
2020-08-21 00:02:00 +02:00
|
|
|
playfanfare MUS_HEAL
|
2017-11-10 02:21:31 +01:00
|
|
|
waitfanfare
|
2017-12-16 00:08:23 +01:00
|
|
|
special HealPlayerParty
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
|
2019-11-21 03:46:29 +01:00
|
|
|
frontier_getbrainstatus
|
2018-05-19 18:02:43 +02:00
|
|
|
copyvar VAR_TEMP_F, VAR_RESULT
|
2019-11-21 03:46:29 +01:00
|
|
|
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_TycoonUpNext
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_get FRONTIER_DATA_BATTLE_NUM
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2019-11-26 23:20:08 +01:00
|
|
|
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor2ndOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 2
|
2019-11-26 23:20:08 +01:00
|
|
|
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor3rdOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 3
|
2019-11-26 23:20:08 +01:00
|
|
|
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor4thOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 4
|
2019-11-26 23:20:08 +01:00
|
|
|
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor5thOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 5
|
2019-11-26 23:20:08 +01:00
|
|
|
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor6thOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 6
|
2019-11-26 23:20:08 +01:00
|
|
|
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent
|
2020-01-08 11:43:06 +01:00
|
|
|
call BattleFrontier_EventScript_GetCantRecordBattle
|
|
|
|
compare VAR_RESULT, TRUE
|
2019-12-07 03:25:46 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
|
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRecordBattle
|
|
|
|
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-07 03:25:46 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8257768
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
|
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskRecordBattle:: @ 825779E
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_RecordLastBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
|
|
|
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_RecordBattle
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_RecordBattle:: @ 82577D0
|
2019-11-24 22:58:40 +01:00
|
|
|
call BattleFrontier_EventScript_SaveBattle
|
2019-11-26 23:20:08 +01:00
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge:: @ 82577DA
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SaveAndShutDown, MSGBOX_YESNO
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case NO, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
|
|
|
case YES, BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge:: @ 8257808
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_RetireFromChallenge
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
|
|
|
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_WarpToLobbyLost
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge:: @ 825783A
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
|
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon:: @ 8257852
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 60
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY, 255, 7, 8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8257870
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor2ndOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8257877
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor3rdOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor4thOpponent:: @ 825787E
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor4thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor5thOpponent:: @ 8257885
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor5thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor6thOpponent:: @ 825788C
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor6thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent:: @ 8257893
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor7thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge:: @ 825789A
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_SavingPleaseWait
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2019-11-26 23:20:08 +01:00
|
|
|
arena_save CHALLENGE_STATUS_PAUSED
|
2017-11-10 02:21:31 +01:00
|
|
|
playse SE_SAVE
|
|
|
|
waitse
|
2019-12-15 17:42:50 +01:00
|
|
|
fadescreen FADE_TO_BLACK
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_reset
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_TycoonUpNext:: @ 82578BC
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_2, 1
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_NowFaceTycoon, MSGBOX_DEFAULT
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_2, 1
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
|
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_PreparedForTycoon
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2020-01-08 11:43:06 +01:00
|
|
|
call BattleFrontier_EventScript_GetCantRecordBattle
|
|
|
|
compare VAR_RESULT, TRUE
|
2019-12-07 03:25:46 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
|
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRecordBattle
|
|
|
|
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-07 03:25:46 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord:: @ 825792B
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-11-26 23:20:08 +01:00
|
|
|
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
|
|
|
|
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta:: @ 8257961
|
2019-11-24 22:58:40 +01:00
|
|
|
call BattleFrontier_EventScript_SetBrainObjectGfx
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
|
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_M_BELLY_DRUM
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_PlayerStepForward, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForwardLong
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_M_BELLY_DRUM
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_MakeWayForGreta, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
addobject LOCALID_OPPONENT
|
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaEnter
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForward
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-05-19 18:02:43 +02:00
|
|
|
switch VAR_TEMP_F
|
2019-11-26 23:20:08 +01:00
|
|
|
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattleArenaBattleRoom_EventScript_IntroGretaGold
|
|
|
|
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver
|
|
|
|
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
|
|
|
compare VAR_RESULT, FALSE
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureChallenger, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaLookAroundPlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_IsThatRight, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_YouLookWeakTakeThingsEasy, MSGBOX_DEFAULT
|
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver:: @ 8257A3F
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_IgniteMyPassionForBattle, MSGBOX_DEFAULT
|
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver
|
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver:: @ 8257A5C
|
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_getsymbols
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureToughAfterAll, MSGBOX_DEFAULT
|
2020-08-21 00:02:00 +02:00
|
|
|
playfanfare MUS_OBTAIN_SYMBOL
|
2019-11-26 23:20:08 +01:00
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_ReceivedGutsSymbol
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
waitfanfare
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_givesymbol
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GoingToBeFunNextTime, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_IntroGretaGold:: @ 8257AA5
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
|
|
|
compare VAR_RESULT, FALSE
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaLookingForwardToSeeingAgain, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaLookAroundPlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SoAreYouReady, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WontAllowHalfheartedEffort, MSGBOX_DEFAULT
|
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold:: @ 8257AF8
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_LetsGetThisStarted, MSGBOX_DEFAULT
|
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold
|
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold:: @ 8257B15
|
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_getsymbols
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 2
|
2019-11-26 23:20:08 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaBlownAway, MSGBOX_DEFAULT
|
2020-08-21 00:02:00 +02:00
|
|
|
playfanfare MUS_OBTAIN_SYMBOL
|
2019-11-26 23:20:08 +01:00
|
|
|
message BattleFrontier_BattleArenaBattleRoom_Text_GutsSymbolTookGoldenShine
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
waitfanfare
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_givesymbol
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_IfWeBattleAgainWontLose, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle:: @ 8257B5E
|
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SetKOTourneyBegin, MSGBOX_DEFAULT
|
|
|
|
call BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle:: @ 8257B6C
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_2, 0
|
2020-01-08 11:43:06 +01:00
|
|
|
frontier_set FRONTIER_DATA_RECORD_DISABLED, FALSE
|
2017-12-16 00:08:23 +01:00
|
|
|
special HealPlayerParty
|
2018-10-21 20:13:12 +02:00
|
|
|
setvar VAR_0x8004, SPECIAL_BATTLE_ARENA
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8005, 0
|
2018-10-21 20:13:12 +02:00
|
|
|
special DoSpecialTrainerBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_restorehelditems
|
2017-12-16 00:08:23 +01:00
|
|
|
special HealPlayerParty
|
2019-11-21 03:46:29 +01:00
|
|
|
frontier_resetsketch
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner:: @ 8257BA9
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
|
|
|
applymovement LOCALID_BLACK_BELT_1, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
|
|
|
applymovement LOCALID_BLACK_BELT_2, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
|
|
|
|
applymovement LOCALID_BLACK_BELT_3, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp
|
|
|
|
applymovement LOCALID_BLACK_BELT_4, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_BANG
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsPlayer, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-11-24 22:58:40 +01:00
|
|
|
call BattleFrontier_EventScript_IncrementWinStreak
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerEnter: @ 8257BE2
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForwardLong: @ 8257BE4
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForward: @ 8257BE5
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerWalkBackToLine: @ 8257BE7
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceLeft: @ 8257BEB
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight: @ 8257BED
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentEnter: @ 8257BEF
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong: @ 8257BF1
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForward: @ 8257BF2
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_GretaEnter: @ 8257BF4
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentExit: @ 8257BFA
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown: @ 8257C02
|
2018-06-14 01:19:19 +02:00
|
|
|
disable_jump_landing_ground_effect
|
|
|
|
jump_in_place_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp: @ 8257C05
|
2018-06-14 01:19:19 +02:00
|
|
|
disable_jump_landing_ground_effect
|
|
|
|
jump_in_place_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceDown: @ 8257C08
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fastest_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
@ Unused, redundant
|
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight2: @ 8257C0A
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fastest_right
|
2017-11-10 00:40:08 +01:00
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_OnWarp: @ 8257C0C
|
|
|
|
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleArenaBattleRoom_EventScript_SetUpRoomObjects
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_EventScript_SetUpRoomObjects:: @ 8257C16
|
2020-06-21 07:56:57 +02:00
|
|
|
hideobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM
|
|
|
|
removeobject LOCALID_OPPONENT
|
2019-11-26 23:20:08 +01:00
|
|
|
call BattleFrontier_BattleDomeBattleRoom_EventScript_SetPlayerGfx
|
2019-11-27 18:51:10 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeBattleRoom_Movement_SetInvisible
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_GretaLookAroundPlayer: @ 8257C30
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_left
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter: @ 8257C3A
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_PlayerStepForward: @ 8257C3D
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "REFEREE: TRAINER {PLAYER}!\n"
|
|
|
|
.string "Step forward, please!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_OpponentStepForward: @ 8257C68
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "REFEREE: TRAINER {STR_VAR_1}!\n"
|
|
|
|
.string "Step forward, please!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_SetKOTourneyBegin: @ 8257C93
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "REFEREE: Set KO Tourney!\n"
|
|
|
|
.string "Begin!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsPlayer: @ 8257CB3
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "REFEREE: The winner is {PLAYER}!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsOpponent: @ 8257CCE
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "REFEREE: The winner is {STR_VAR_1}!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_MonsWillBeRestored: @ 8257CE9
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Your POKéMON will be restored to\n"
|
|
|
|
.string "full health.$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor2ndOpponent: @ 8257D17
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Next up, your second opponent!\n"
|
|
|
|
.string "Are you ready to move on?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor3rdOpponent: @ 8257D50
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Next up, your third opponent!\n"
|
|
|
|
.string "Are you ready to move on?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor4thOpponent: @ 8257D88
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Next up, your fourth opponent!\n"
|
|
|
|
.string "Are you ready to move on?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor5thOpponent: @ 8257DC1
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Next up, your fifth opponent!\n"
|
|
|
|
.string "Are you ready to move on?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor6thOpponent: @ 8257DF9
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Next up, your sixth opponent!\n"
|
|
|
|
.string "Are you ready to move on?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor7thOpponent: @ 8257E31
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Next up, your seventh opponent!\n"
|
|
|
|
.string "Are you ready to move on?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_SaveAndShutDown: @ 8257E6B
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Would you like to save the game and\n"
|
|
|
|
.string "shut down now?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_RetireFromChallenge: @ 8257E9E
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Would you like to retire from your\n"
|
|
|
|
.string "Set KO Tourney challenge?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_SavingPleaseWait: @ 8257EDB
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "I am saving your game data.\n"
|
|
|
|
.string "Please wait.$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_RecordLastBattle: @ 8257F04
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Would you like to record your last\n"
|
|
|
|
.string "battle on your FRONTIER PASS?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_NowFaceTycoon: @ 8257F45
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "My dear challenger!\p"
|
|
|
|
.string "Your skill level is truly astounding!\p"
|
|
|
|
.string "We now would like you to face our\n"
|
|
|
|
.string "leader, the ARENA TYCOON!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_PreparedForTycoon: @ 8257FBB
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "A battle with the ARENA TYCOON!\n"
|
|
|
|
.string "Are you prepared?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_MakeWayForGreta: @ 8257FED
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "REFEREE: The ARENA TYCOON!\n"
|
|
|
|
.string "Make way for GRETA!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureChallenger: @ 825801C
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "GRETA: Hey!\n"
|
|
|
|
.string "Howdy!\p"
|
|
|
|
.string "…Wait, are you the challenger?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_IsThatRight: @ 825804E
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Is that right? Hmm…\n"
|
|
|
|
.string "Hmhm…$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_YouLookWeakTakeThingsEasy: @ 8258068
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I don't know how to say it, but…\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "To put it bluntly, you look pretty weak.\l"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Are you sure you're up for me?\p"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Hmm…\p"
|
|
|
|
.string "Well, all right!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "We'll take things easy to start with!$"
|
2017-11-10 00:40:08 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_IgniteMyPassionForBattle: @ 825810D
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Okay! Let's see you ignite my passion\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "for battle!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureToughAfterAll: @ 825813F
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "GRETA: Ow, wait a second!\n"
|
|
|
|
.string "You are tough after all!\p"
|
|
|
|
.string "I like you!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Let's see your FRONTIER PASS.$"
|
2017-11-10 00:40:08 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_ReceivedGutsSymbol: @ 825819C
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The Guts Symbol was embossed on\n"
|
|
|
|
.string "the FRONTIER PASS!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_GoingToBeFunNextTime: @ 82581CF
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Hmm…\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's going to be fun the next time!\n"
|
|
|
|
.string "I'm looking forward to it!$"
|
2017-11-10 00:40:08 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_GretaLookingForwardToSeeingAgain: @ 8258213
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "GRETA: Hey! Howdy!\n"
|
|
|
|
.string "You finally won your way up to me!\p"
|
|
|
|
.string "I was getting worried waiting for you!\n"
|
|
|
|
.string "I was really looking forward to seeing\l"
|
|
|
|
.string "you again!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_SoAreYouReady: @ 82582A2
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "… … …\n"
|
|
|
|
.string "So, are you ready?$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_WontAllowHalfheartedEffort: @ 82582BB
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I won't allow a halfhearted effort!\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Be ready for a thrashing!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_LetsGetThisStarted: @ 82582F9
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Come on, REFEREE!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Let's get this started!$"
|
2017-11-10 00:40:08 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_GretaBlownAway: @ 8258323
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "GRETA: Gaaah! Blown away!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Let's see your FRONTIER PASS!$"
|
2017-11-10 00:40:08 +01:00
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_GutsSymbolTookGoldenShine: @ 825835B
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The Guts Symbol took on\n"
|
|
|
|
.string "a golden shine!$"
|
|
|
|
|
2019-11-26 23:20:08 +01:00
|
|
|
BattleFrontier_BattleArenaBattleRoom_Text_IfWeBattleAgainWontLose: @ 8258383
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Arrrgh!\n"
|
|
|
|
.string "This is so infuriating!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "If we ever battle again, I won't lose!\n"
|
|
|
|
.string "Don't you forget it! Bye-bye!$"
|