pokeemerald/data/maps/BattleFrontier_BattleFactoryLobby/scripts.inc

552 lines
22 KiB
PHP
Raw Normal View History

.set LOCALID_ATTENDANT_SINGLES, 1
.set LOCALID_ATTENDANT_DOUBLES, 6
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_MapScripts::
2019-12-09 20:00:13 +01:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryLobby_OnWarp
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_OnWarp:
2019-12-09 20:00:13 +01:00
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth
2017-11-10 02:21:31 +01:00
.2byte 0
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth::
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_OnFrame:
2019-12-09 20:00:13 +01:00
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge
2017-11-10 02:21:31 +01:00
.2byte 0
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus::
2019-11-24 22:58:40 +01:00
frontier_getstatus
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving::
2017-11-10 02:21:31 +01:00
lockall
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-12-02 14:44:34 +01:00
factory_setswapped
factory_set FACTORY_DATA_WIN_STREAK_SWAPS, 0
factory_set FACTORY_DATA_WIN_STREAK, 0
factory_set FACTORY_DATA_WIN_STREAK_ACTIVE, FALSE
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 255
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge::
2017-11-10 02:21:31 +01:00
lockall
2019-11-24 22:58:40 +01:00
frontier_isbrain
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmessage
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmessage
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints, MSGBOX_DEFAULT
2019-11-24 22:58:40 +01:00
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-24 22:58:40 +01:00
frontier_checkairshow
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2019-12-02 14:44:34 +01:00
factory_save 0
2017-11-10 02:21:31 +01:00
playse SE_SAVE
waitse
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge::
2017-11-10 02:21:31 +01:00
lockall
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-24 22:58:40 +01:00
frontier_checkairshow
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2019-12-02 14:44:34 +01:00
factory_set FACTORY_DATA_WIN_STREAK_ACTIVE, FALSE
factory_save 0
2017-11-10 02:21:31 +01:00
playse SE_SAVE
waitse
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle::
call BattleFrontier_EventScript_GetCantRecordBattle
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch
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_BattleFactoryLobby_EventScript_EndRecordBattle
case 0, BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle::
2019-11-24 22:58:40 +01:00
call BattleFrontier_EventScript_SaveBattle
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 255
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge::
2017-11-10 02:21:31 +01:00
lockall
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume
2017-11-10 02:21:31 +01:00
waitmessage
2019-12-02 14:44:34 +01:00
factory_save CHALLENGE_STATUS_SAVING
2017-11-10 02:21:31 +01:00
playse SE_SAVE
waitse
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_PAUSED, FALSE
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 255
2017-11-10 02:21:31 +01:00
setvar VAR_0x8006, 2
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-24 22:58:40 +01:00
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant::
2019-11-24 22:58:40 +01:00
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_Attendant::
2018-04-29 14:21:59 +02:00
special SavePlayerParty
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge
2017-11-10 02:21:31 +01:00
waitmessage
2021-03-31 06:35:56 +02:00
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-12-09 20:00:13 +01:00
case 0, BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge
case 1, BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge
case 2, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge::
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode
2017-11-10 02:21:31 +01:00
waitmessage
2021-03-31 06:35:56 +02:00
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-12-09 20:00:13 +01:00
case FRONTIER_LVL_TENT, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-12-09 20:00:13 +01:00
case NO, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge::
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 0
2019-12-02 14:44:34 +01:00
factory_init
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_SAVING
2019-12-02 14:44:34 +01:00
factory_set FACTORY_DATA_WIN_STREAK_ACTIVE, TRUE
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_PAUSED, FALSE
2017-11-10 02:21:31 +01:00
closemessage
delay 2
call Common_EventScript_SaveGame
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 255
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed
2017-11-10 02:21:31 +01:00
setvar VAR_0x8006, 0
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge::
2018-04-29 14:21:59 +02:00
special SavePlayerParty
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_StepThisWay, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant
2019-12-09 20:00:13 +01:00
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor
2019-12-15 08:00:00 +01:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor
2017-11-10 02:21:31 +01:00
waitmovement 0
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 8, 13
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 0
2017-11-10 02:21:31 +01:00
waitstate
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant::
setvar VAR_LAST_TALKED, LOCALID_ATTENDANT_SINGLES
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant::
setvar VAR_LAST_TALKED, LOCALID_ATTENDANT_DOUBLES
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed::
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
2019-12-09 20:00:13 +01:00
goto BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge::
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor:
walk_up
walk_up
walk_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor:
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge::
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge::
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults::
2017-11-10 02:21:31 +01:00
lockall
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_SINGLES
2017-11-10 02:21:31 +01:00
waitbuttonpress
special RemoveRecordsWindow
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults::
2017-11-10 02:21:31 +01:00
lockall
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_DOUBLES
2017-11-10 02:21:31 +01:00
waitbuttonpress
special RemoveRecordsWindow
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_Woman::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_Camper::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_Picnicker::
2017-11-10 02:21:31 +01:00
lock
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_FatMan::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard::
2017-11-10 02:21:31 +01:00
lockall
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard::
2019-12-09 20:00:13 +01:00
message BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading
2017-11-10 02:21:31 +01:00
waitmessage
2021-03-31 06:35:56 +02:00
multichoice 17, 0, MULTI_BATTLE_FACTORY_RULES, FALSE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-12-09 20:00:13 +01:00
case 0, BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics
case 1, BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner
case 2, BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber
case 3, BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes
case 4, BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv
case 5, BattleFrontier_BattleFactoryLobby_EventScript_ExitRules
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_ExitRules
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv::
2019-12-09 20:00:13 +01:00
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_EventScript_ExitRules::
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle:
2017-11-10 02:21:31 +01:00
.string "Where the intelligence of TRAINERS\n"
.string "is put to the test!\p"
.string "Welcome to the BATTLE FACTORY!\p"
.string "I am your guide to the Battle Swap\n"
.string "Single Tournament.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge:
2017-11-10 02:21:31 +01:00
.string "Would you like to take the Battle\n"
.string "Swap Single challenge?$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge:
2017-11-10 02:21:31 +01:00
.string "The Battle Swap Single Tournament\n"
.string "is a SINGLE BATTLE competition using\l"
.string "only rental POKéMON.\p"
.string "First, you will be loaned three\n"
.string "POKéMON specifically for this event.\p"
.string "Using the supplied rental POKéMON,\n"
.string "you must conduct a SINGLE BATTLE.\p"
.string "If you win, you are permitted to trade\n"
.string "one of your rental POKéMON.\p"
.string "Repeat this cycle of battling and\n"
.string "trading--if you win seven times in\l"
.string "a row, you will earn Battle Points.\p"
.string "If you want to interrupt your\n"
.string "challenge, please save the game.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't save, you will be\n"
2017-11-10 02:21:31 +01:00
.string "disqualified from your challenge.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit:
2017-11-10 02:21:31 +01:00
.string "We look forward to your next visit.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode:
2017-11-10 02:21:31 +01:00
.string "Which level do you wish to challenge?\n"
.string "Level 50 or Open Level?$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge:
2017-11-10 02:21:31 +01:00
.string "Before you begin your challenge,\n"
.string "I need to save the game. Is that okay?$"
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_WillHoldMonsForSafekeeping:
2017-11-10 00:40:08 +01:00
.string "Okay, I will hold your POKéMON for\n"
.string "safekeeping while you compete.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_StepThisWay:
2017-11-10 02:21:31 +01:00
.string "Please step this way.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults:
2017-11-10 02:21:31 +01:00
.string "Thank you for participating!\p"
.string "I will return your POKéMON in exchange\n"
.string "for our rental POKéMON.\p"
.string "I must also save the event results.\n"
.string "Please wait.$"
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ReturnMons:
2017-11-10 00:40:08 +01:00
.string "I will return your POKéMON in exchange\n"
.string "for our rental POKéMON.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins:
2018-12-07 16:41:08 +01:00
.string "Congratulations! You've won seven\n"
2017-11-10 02:21:31 +01:00
.string "straight Battle Swap matches!$"
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePointsForStreak:
2017-11-10 00:40:08 +01:00
.string "In recognition of your 7-win streak,\n"
.string "we award you these Battle Point(s).$"
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_MaxBattlePoints:
2017-11-10 00:40:08 +01:00
.string "Oh, oh, oh!\p"
.string "Your Battle Points are maxed.\p"
.string "Please come back after using\n"
.string "some Battle Points.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume:
2018-12-07 16:41:08 +01:00
.string "We've been waiting for you!\p"
2017-11-10 02:21:31 +01:00
.string "Before we resume your challenge,\n"
.string "I must save the game.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting:
2018-12-07 16:41:08 +01:00
.string "I'm sorry to say this, but you didn't\n"
2017-11-10 02:21:31 +01:00
.string "save before you quit playing last time.\p"
.string "As a result, you have been disqualified\n"
.string "from your challenge.$"
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_WellReturnMons:
2018-12-07 16:41:08 +01:00
.string "We'll return your personal POKéMON.$"
2017-11-10 00:40:08 +01:00
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ReceivedPrizeItem:
2017-11-10 00:40:08 +01:00
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle:
2017-11-10 02:21:31 +01:00
.string "Where the intelligence of TRAINERS\n"
.string "is put to the test!\p"
.string "Welcome to the BATTLE FACTORY!\p"
.string "I am your guide to the Battle Swap\n"
.string "Double Tournament.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge:
2017-11-10 02:21:31 +01:00
.string "Would you like to take the Battle\n"
.string "Swap Double challenge?$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge:
2017-11-10 02:21:31 +01:00
.string "The Battle Swap Double Tournament\n"
.string "is a DOUBLE BATTLE competition using\l"
.string "only rental POKéMON.\p"
.string "First, you will be loaned three\n"
.string "POKéMON specifically for this event.\p"
.string "Using the supplied rental POKéMON,\n"
.string "you must conduct a DOUBLE BATTLE.\p"
.string "If you win, you are permitted to trade\n"
.string "one of your rental POKéMON.\p"
.string "Repeat this cycle of battling and\n"
.string "trading--if you win seven times in\l"
.string "a row, you will earn Battle Points.\p"
.string "If you want to interrupt your\n"
.string "challenge, please save the game.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't save before interrupting,\n"
2017-11-10 02:21:31 +01:00
.string "you will be disqualified.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead:
2017-11-10 02:21:31 +01:00
.string "Congratulations for defeating\n"
.string "the FACTORY HEAD and winning\l"
.string "seven matches in a row!$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints:
2017-11-10 02:21:31 +01:00
.string "In recognition of your wealth of\n"
.string "knowledge and keen intelligence,\l"
.string "we award you these Battle Point(s).$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave:
2017-11-10 02:21:31 +01:00
.string "Let me exchange your POKéMON\n"
.string "for our rental POKéMON.\p"
.string "I need to save the battle data,\n"
.string "so please wait.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch:
2017-11-10 02:21:31 +01:00
.string "Would you like to record your last\n"
.string "BATTLE FACTORY match on your\l"
.string "FRONTIER PASS?$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves:
2017-11-10 02:21:31 +01:00
.string "Hi!\n"
.string "You, there!\p"
.string "Are you thinking that the events here\n"
2018-12-07 16:41:08 +01:00
.string "are easy since you don't need to have\l"
2017-11-10 02:21:31 +01:00
.string "a raised team of POKéMON?\p"
2018-12-07 16:41:08 +01:00
.string "I wouldn't be too sure about winning\n"
2017-11-10 02:21:31 +01:00
.string "that easily.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't have thorough knowledge\n"
2017-11-10 02:21:31 +01:00
.string "about POKéMON and their moves,\l"
.string "it will be tough to keep winning.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon:
2017-11-10 02:21:31 +01:00
.string "I swapped for a weak POKéMON…\n"
.string "I thought it was a good kind to have…\p"
.string "They wiped the floor with us…$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons:
2018-12-07 16:41:08 +01:00
.string "Things haven't been going my way\n"
2017-11-10 02:21:31 +01:00
.string "at all.\p"
2018-12-07 16:41:08 +01:00
.string "You need to check your opponent's\n"
2017-11-10 02:21:31 +01:00
.string "POKéMON during battle to see if\l"
2018-12-07 16:41:08 +01:00
.string "they're any good.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints:
2017-11-10 02:21:31 +01:00
.string "You know how the staff here give you\n"
.string "a few hints about your next opponent?\p"
2018-12-07 16:41:08 +01:00
.string "Well, I'm a full-grown man, but I have\n"
2017-11-10 02:21:31 +01:00
.string "trouble figuring out their hints.$"
2019-12-09 20:00:13 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_RentalMonsAreVaried:
2018-12-07 16:41:08 +01:00
.string "Like, I'm really tough, but I get bored\n"
2017-11-10 00:40:08 +01:00
.string "really easily, so I just kept swapping\l"
.string "and battling over and over.\p"
.string "So anyway, when I kept entering\n"
.string "Battle Swap events, I noticed they\l"
.string "varied the rental POKéMON.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_RulesAreListed:
2017-11-10 00:40:08 +01:00
.string "The Battle Swap rules are listed.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading:
2017-11-10 00:40:08 +01:00
.string "Which heading do you want to read?$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules:
2017-11-10 00:40:08 +01:00
.string "In a Battle Swap event, you may use\n"
.string "only three POKéMON.\p"
.string "Whether you are renting or swapping,\n"
.string "your team may not have two or more\l"
.string "of the same POKéMON.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules:
2017-11-10 00:40:08 +01:00
.string "You may swap POKéMON only with\n"
.string "the TRAINER you have just defeated.\p"
.string "You may swap for only those POKéMON\n"
.string "used by the beaten TRAINER.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules:
2017-11-10 00:40:08 +01:00
.string "After every battle you win, you may\n"
.string "swap for one of your defeated\l"
2018-12-07 16:41:08 +01:00
.string "opponent's POKéMON.\p"
2017-11-10 00:40:08 +01:00
.string "You will not be able to swap POKéMON\n"
.string "with the seventh TRAINER in the event.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules:
2017-11-10 00:40:08 +01:00
.string "There are two key points to be aware\n"
.string "of when swapping POKéMON.\p"
2018-12-07 16:41:08 +01:00
.string "First, when swapping, you can't check\n"
2017-11-10 00:40:08 +01:00
.string "the stats of the POKéMON you are\l"
.string "about to receive.\p"
.string "Second, the POKéMON on your team\n"
.string "are lined up in sequence, depending on\l"
.string "the order in which you rented them.\p"
.string "This sequence remains unchanged\n"
.string "even when swaps are made.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules:
2017-11-10 00:40:08 +01:00
.string "In the Open Level, the rental POKéMON\n"
2018-12-07 16:41:08 +01:00
.string "and the opposing TRAINERS' POKéMON\l"
2017-11-10 00:40:08 +01:00
.string "are all Level 100.$"