2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_ATTENDANT, 1
|
|
|
|
|
2017-11-10 02:21:31 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_MapScripts:: @ 8259ABA
|
2019-12-09 20:00:13 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryPreBattleRoom_OnFrame
|
|
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryPreBattleRoom_OnWarp
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_OnWarp: @ 8259AC5
|
|
|
|
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects:: @ 8259ACF
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8006, 1
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth
|
2020-06-21 07:56:57 +02:00
|
|
|
setobjectxy LOCALID_ATTENDANT, 8, 7
|
|
|
|
turnobject LOCALID_ATTENDANT, DIR_SOUTH
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth:: @ 8259AEA
|
2019-11-21 05:12:51 +01:00
|
|
|
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_OnFrame: @ 8259AEF
|
|
|
|
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom:: @ 8259AF9
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8006, 1
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_0, 1
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom
|
2019-12-15 08:00:00 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8006, 2
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_generaterentalmons
|
|
|
|
factory_generateopponentmons
|
|
|
|
factory_getopponentmontype
|
2017-11-10 02:21:31 +01:00
|
|
|
setorcopyvar VAR_0x8005, VAR_RESULT
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_getopponentstyle
|
2017-11-10 02:21:31 +01:00
|
|
|
setorcopyvar VAR_0x8006, VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType
|
|
|
|
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection, MSGBOX_DEFAULT
|
2019-12-15 17:42:50 +01:00
|
|
|
fadescreen FADE_TO_BLACK
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_setswapped
|
|
|
|
factory_rentmons
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom:: @ 8259B74
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-11-24 22:58:40 +01:00
|
|
|
call BattleFrontier_EventScript_GetLvlMode
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_RESULT, FRONTIER_LVL_50
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_RESULT, FRONTIER_LVL_OPEN
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle:: @ 8259BA5
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_setopponentmons
|
|
|
|
factory_resethelditems
|
2019-12-09 20:00:13 +01:00
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons, MSGBOX_DEFAULT
|
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-21 03:46:29 +01:00
|
|
|
frontier_getbrainstatus
|
|
|
|
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_POKENAV_CALL
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
2019-12-09 20:00:13 +01:00
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantMoveToReceiveCall
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-12-09 20:00:13 +01:00
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_UnderstoodSirWillDo, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantReturnToPlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-12-09 20:00:13 +01:00
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
delay 16
|
2019-12-09 20:00:13 +01:00
|
|
|
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent:: @ 8259C13
|
2019-11-21 03:46:29 +01:00
|
|
|
frontier_getbrainstatus
|
|
|
|
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent:: @ 8259C26
|
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-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 2
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 3
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 4
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 5
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 6
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent
|
2020-01-08 11:43:06 +01:00
|
|
|
call BattleFrontier_EventScript_GetCantRecordBattle
|
|
|
|
compare VAR_RESULT, TRUE
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon
|
|
|
|
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle
|
|
|
|
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8259CC6
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon
|
|
|
|
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle:: @ 8259CFC
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
|
|
|
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle:: @ 8259D2E
|
2019-11-24 22:58:40 +01:00
|
|
|
call BattleFrontier_EventScript_SaveBattle
|
2019-12-09 20:00:13 +01:00
|
|
|
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge:: @ 8259D38
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
|
|
|
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge:: @ 8259D66
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
|
|
|
case 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon:: @ 8259D98
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_generateopponentmons
|
|
|
|
factory_getopponentmontype
|
2017-11-10 02:21:31 +01:00
|
|
|
setorcopyvar VAR_0x8005, VAR_RESULT
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_getopponentstyle
|
2017-11-10 02:21:31 +01:00
|
|
|
setorcopyvar VAR_0x8006, VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType
|
|
|
|
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon, MSGBOX_YESNO
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
|
|
|
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons:: @ 8259DF2
|
2019-12-15 17:42:50 +01:00
|
|
|
fadescreen FADE_TO_BLACK
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_swapmons
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2020-08-31 19:36:48 +02:00
|
|
|
compare VAR_RESULT, TRUE @ Did player keep current pokemon
|
2019-12-09 20:00:13 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_setswapped
|
2019-12-09 20:00:13 +01:00
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete, MSGBOX_DEFAULT
|
|
|
|
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8259E1D
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8259E24
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent:: @ 8259E2B
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent:: @ 8259E32
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent:: @ 8259E39
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent:: @ 8259E40
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge:: @ 8259E47
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_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-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge:: @ 8259E69
|
2018-04-29 14:21:59 +02:00
|
|
|
special SavePlayerParty
|
2019-12-02 14:44:34 +01:00
|
|
|
factory_setparties 0
|
2020-01-08 11:43:06 +01:00
|
|
|
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
|
2017-11-10 02:21:31 +01:00
|
|
|
special CalculatePlayerPartyCount
|
2019-12-09 20:00:13 +01:00
|
|
|
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType:: @ 8259E93
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent, MSGBOX_DEFAULT
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_NORMAL
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_FIGHTING
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_FLYING
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_POISON
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_GROUND
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_ROCK
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_BUG
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_GHOST
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_STEEL
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_FIRE
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_WATER
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_GRASS
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_ELECTRIC
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_PSYCHIC
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_ICE
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_DRAGON
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, TYPE_DARK
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8005, NUMBER_OF_MON_TYPES
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal:: @ 8259F62
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting:: @ 8259F6B
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying:: @ 8259F74
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison:: @ 8259F7D
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround:: @ 8259F86
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock:: @ 8259F8F
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug:: @ 8259F98
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost:: @ 8259FA1
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel:: @ 8259FAA
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire:: @ 8259FB3
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater:: @ 8259FBC
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass:: @ 8259FC5
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric:: @ 8259FCE
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic:: @ 8259FD7
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce:: @ 8259FE0
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon:: @ 8259FE9
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark:: @ 8259FF2
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType:: @ 8259FFB
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle:: @ 825A004
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_NONE
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_PREPARATION
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_SLOW_STEADY
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_ENDURANCE
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_HIGH_RISK
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_WEAKENING
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_UNPREDICTABLE
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_STYLE_WEATHER
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow
|
2019-12-02 14:44:34 +01:00
|
|
|
compare VAR_0x8006, FACTORY_NUM_STYLES
|
2019-12-09 20:00:13 +01:00
|
|
|
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained:: @ 825A068
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation:: @ 825A071
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady:: @ 825A07A
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance:: @ 825A083
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk:: @ 825A08C
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe:: @ 825A095
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict:: @ 825A09E
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow:: @ 825A0A7
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible:: @ 825A0B0
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead:: @ 825A0B9
|
|
|
|
message BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead
|
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-09 20:00:13 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead
|
|
|
|
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle
|
|
|
|
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord:: @ 825A110
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead
|
|
|
|
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
|
|
|
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
|
|
|
|
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead:: @ 825A146
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead, MSGBOX_DEFAULT
|
|
|
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon, MSGBOX_YESNO
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-12-09 20:00:13 +01:00
|
|
|
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
|
|
|
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons
|
|
|
|
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50:: @ 825A17C
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50
|
2019-12-15 08:00:00 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen:: @ 825A18B
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen
|
2019-12-15 08:00:00 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom: @ 825A19A
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50: @ 825A1A0
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen: @ 825A1A6
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom: @ 825A1AC
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
face_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50: @ 825A1B3
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen: @ 825A1B9
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantMoveToReceiveCall: @ 825A1BF
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantReturnToPlayer: @ 825A1C3
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
face_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection: @ 825A1C8
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "First, we will hold your POKéMON for\n"
|
|
|
|
.string "safekeeping.\p"
|
|
|
|
.string "You may then choose from our\n"
|
|
|
|
.string "selection of POKéMON.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons: @ 825A22D
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Thank you for competing!\n"
|
|
|
|
.string "Let us restore your POKéMON!$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent: @ 825A263
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The 2nd match is next!\n"
|
|
|
|
.string "Are you ready?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent: @ 825A289
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The 3rd match is next!\n"
|
|
|
|
.string "Are you ready?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent: @ 825A2AF
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The 4th match is next!\n"
|
|
|
|
.string "Are you ready?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent: @ 825A2D5
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The 5th match is next!\n"
|
|
|
|
.string "Are you ready?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent: @ 825A2FB
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The 6th match is next!\n"
|
|
|
|
.string "Are you ready?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent: @ 825A321
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Finally, the 7th match is next!\n"
|
|
|
|
.string "Are you ready?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame: @ 825A350
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Would you like to save and quit\n"
|
|
|
|
.string "the game?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge: @ 825A37A
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Would you like to retire from your\n"
|
|
|
|
.string "Battle Swap challenge?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent: @ 825A3B4
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I've conducted a little investigation\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "about your upcoming opponent.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType: @ 825A3F8
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the NORMAL type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType: @ 825A43E
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the FIRE type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType: @ 825A482
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the WATER type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType: @ 825A4C7
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the ELECTRIC type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType: @ 825A50F
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the GRASS type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType: @ 825A554
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the ICE type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType: @ 825A597
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the FIGHTING type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType: @ 825A5DF
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the POISON type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType: @ 825A625
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the GROUND type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType: @ 825A66B
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the FLYING type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType: @ 825A6B1
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the PSYCHIC type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType: @ 825A6F8
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the BUG type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType: @ 825A73B
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the ROCK type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType: @ 825A77F
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the GHOST type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType: @ 825A7C4
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the DRAGON type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType: @ 825A80A
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the DARK type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType: @ 825A84E
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER is apparently skilled\n"
|
|
|
|
.string "in the handling of the STEEL type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite: @ 825A893
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The TRAINER appears to have no clear\n"
|
|
|
|
.string "favorites when it comes to type.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady: @ 825A8D9
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be slow and steady.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance: @ 825A912
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be one of endurance.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk: @ 825A94C
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be high risk, high return.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow: @ 825A98C
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "depend on the battle's flow.$"
|
2017-11-10 00:40:08 +01:00
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation: @ 825A9CE
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be one based on total preparation.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe: @ 825AA16
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears\n"
|
|
|
|
.string "to be weakening the foe to start.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible: @ 825AA5A
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be flexibly adaptable to the situation.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict: @ 825AAA7
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be impossible to predict.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained: @ 825AAE6
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The favorite battle style appears to\n"
|
|
|
|
.string "be free-spirited and unrestrained.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon: @ 825AB2E
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Before starting the battle, would you\n"
|
|
|
|
.string "like to swap a POKéMON?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete: @ 825AB6C
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Thank you!\n"
|
|
|
|
.string "Your POKéMON swap is complete.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay: @ 825AB96
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Right this way, please!$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait: @ 825ABAE
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "I am saving your data.\n"
|
|
|
|
.string "Please wait.$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle: @ 825ABD2
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Would you like to record your latest\n"
|
|
|
|
.string "battle on your FRONTIER PASS?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments: @ 825AC15
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Excuse me! Excuse me, please!\n"
|
|
|
|
.string "May I get you to wait a few moments?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_UnderstoodSirWillDo: @ 825AC58
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "…Uh-huh? What?! …Whoa!\n"
|
|
|
|
.string "Understood, sir! Will do!$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow: @ 825AC89
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Oh, my…\n"
|
|
|
|
.string "Sorry to keep you waiting!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I have a message from this facility's\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "boss, the FACTORY HEAD.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "He says, “We're going to do it!\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "Come here right now!”$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead: @ 825AD20
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "The FACTORY HEAD is demanding you.\n"
|
|
|
|
.string "Are you prepared to face him?$"
|
|
|
|
|
2019-12-09 20:00:13 +01:00
|
|
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead: @ 825AD61
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'm terribly sorry, but I can't tell you\n"
|
2017-11-10 00:40:08 +01:00
|
|
|
.string "anything about the FACTORY HEAD.$"
|