Document Battle Factory scripts

This commit is contained in:
GriffinR
2019-12-09 14:00:13 -05:00
committed by huderlem
parent ea9a2c848a
commit aa72c0ada3
7 changed files with 570 additions and 584 deletions

View File

@@ -1,32 +1,32 @@
BattleFrontier_BattleFactoryLobby_MapScripts:: @ 82583E8
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryLobby_MapScript2_258407
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryLobby_MapScript2_2583F3
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryLobby_OnWarp
.byte 0
BattleFrontier_BattleFactoryLobby_MapScript2_2583F3: @ 82583F3
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryLobby_EventScript_2583FD
BattleFrontier_BattleFactoryLobby_OnWarp: @ 82583F3
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattleFactoryLobby_EventScript_2583FD:: @ 82583FD
BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth:: @ 82583FD
setvar VAR_TEMP_1, 1
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattleFactoryLobby_MapScript2_258407: @ 8258407
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryLobby_EventScript_258431
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleFactoryLobby_EventScript_25843A
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleFactoryLobby_EventScript_258592
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleFactoryLobby_EventScript_25849B
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleFactoryLobby_EventScript_258506
BattleFrontier_BattleFactoryLobby_OnFrame: @ 8258407
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
.2byte 0
BattleFrontier_BattleFactoryLobby_EventScript_258431:: @ 8258431
BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus:: @ 8258431
frontier_getstatus
end
BattleFrontier_BattleFactoryLobby_EventScript_25843A:: @ 825843A
BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving:: @ 825843A
lockall
msgbox BattleFrontier_BattleFactoryLobby_Text_258ECA, MSGBOX_DEFAULT
msgbox BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
closemessage
factory_setswapped
factory_set FACTORY_DATA_WIN_STREAK_SWAPS, 0
@@ -37,36 +37,35 @@ BattleFrontier_BattleFactoryLobby_EventScript_25843A:: @ 825843A
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge:: @ 825849B
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, MSGBOX_DEFAULT
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins, MSGBOX_DEFAULT
waitmessage
goto BattleFrontier_BattleFactoryLobby_EventScript_2584C6
goto BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints
BattleFrontier_BattleFactoryLobby_EventScript_2584BD:: @ 82584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_25926A, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead:: @ 82584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead, MSGBOX_DEFAULT
waitmessage
BattleFrontier_BattleFactoryLobby_EventScript_2584C6:: @ 82584C6
msgbox BattleFrontier_BattleFactoryLobby_Text_2592BD, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints:: @ 82584C6
msgbox BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints, MSGBOX_DEFAULT
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleFactoryLobby_Text_259323
message BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave
waitmessage
frontier_checkairshow
special LoadPlayerParty
factory_save 0
playse SE_SAVE
waitse
goto BattleFrontier_BattleFactoryLobby_EventScript_25853B
goto BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle
end
BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge:: @ 8258506
lockall
message BattleFrontier_BattleFactoryLobby_Text_258CC7
message BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults
waitmessage
frontier_checkairshow
special LoadPlayerParty
@@ -75,30 +74,30 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
playse SE_SAVE
waitse
BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B
BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle:: @ 825853B
call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
message BattleFrontier_BattleFactoryLobby_Text_259388
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
message BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT
case 1, BattleFrontier_BattleFactoryLobby_EventScript_258582
case 0, BattleFrontier_BattleFactoryLobby_EventScript_25857D
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_258582
case 1, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
case 0, BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
BattleFrontier_BattleFactoryLobby_EventScript_25857D:: @ 825857D
BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle:: @ 825857D
call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattleFactoryLobby_EventScript_258582:: @ 8258582
msgbox BattleFrontier_BattleFactoryLobby_Text_258BC5, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle:: @ 8258582
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 255
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_258592:: @ 8258592
BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge:: @ 8258592
lockall
message BattleFrontier_BattleFactoryLobby_Text_258E77
message BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume
waitmessage
factory_save CHALLENGE_STATUS_SAVING
playse SE_SAVE
@@ -106,57 +105,56 @@ BattleFrontier_BattleFactoryLobby_EventScript_258592:: @ 8258592
frontier_set FRONTIER_DATA_PAUSED, FALSE
setvar VAR_TEMP_0, 255
setvar VAR_0x8006, 2
goto BattleFrontier_BattleFactoryLobby_EventScript_25871A
goto BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge
BattleFrontier_BattleFactoryLobby_EventScript_2585CB:: @ 82585CB
BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant:: @ 82585CB
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
goto BattleFrontier_BattleFactoryLobby_EventScript_2585ED
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
end
BattleFrontier_BattleFactoryLobby_EventScript_2585DD:: @ 82585DD
BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant:: @ 82585DD
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto BattleFrontier_BattleFactoryLobby_EventScript_2585ED
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
end
BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED
BattleFrontier_BattleFactoryLobby_EventScript_Attendant:: @ 82585ED
special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587B1
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587BA
BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle
BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge:: @ 8258606
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587C3
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587C9
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryLobby_EventScript_258653
case 1, BattleFrontier_BattleFactoryLobby_EventScript_258768
case 2, BattleFrontier_BattleFactoryLobby_EventScript_25879D
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879D
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
BattleFrontier_BattleFactoryLobby_EventScript_258653:: @ 8258653
message BattleFrontier_BattleFactoryLobby_Text_258BE9
BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge:: @ 8258653
message BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, 0
switch VAR_RESULT
case FRONTIER_LVL_TENT, BattleFrontier_BattleFactoryLobby_EventScript_25879D
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879D
case FRONTIER_LVL_TENT, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattleFactoryLobby_Text_258C27, MSGBOX_YESNO
msgbox BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleFactoryLobby_EventScript_25879A
case YES, BattleFrontier_BattleFactoryLobby_EventScript_2586B9
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879A
case NO, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge:: @ 82586B9
setvar VAR_TEMP_0, 0
factory_init
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_SAVING
@@ -167,90 +165,89 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed
setvar VAR_0x8006, 0
BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A
BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge:: @ 825871A
special SavePlayerParty
msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, MSGBOX_DEFAULT
msgbox BattleFrontier_BattleFactoryLobby_Text_StepThisWay, MSGBOX_DEFAULT
closemessage
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_25875C
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258762
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_2587AC
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor
waitmovement 0
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 255, 8, 13
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattleFactoryLobby_EventScript_25875C:: @ 825875C
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant:: @ 825875C
setvar VAR_LAST_TALKED, 1
return
BattleFrontier_BattleFactoryLobby_EventScript_258762:: @ 8258762
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant:: @ 8258762
setvar VAR_LAST_TALKED, 6
return
BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768
BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge:: @ 8258768
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587CF
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587D8
goto BattleFrontier_BattleFactoryLobby_EventScript_258606
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge
goto BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge
BattleFrontier_BattleFactoryLobby_EventScript_258783:: @ 8258783
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed:: @ 8258783
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattleFactoryLobby_EventScript_25879D
goto BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
BattleFrontier_BattleFactoryLobby_EventScript_25879A:: @ 825879A
BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge:: @ 825879A
special LoadPlayerParty
BattleFrontier_BattleFactoryLobby_EventScript_25879D:: @ 825879D
msgbox BattleFrontier_BattleFactoryLobby_Text_258BC5, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge:: @ 825879D
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
release
end
BattleFrontier_BattleFactoryLobby_Movement_2587A7: @ 82587A7
BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor: @ 82587A7
walk_up
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleFactoryLobby_Movement_2587AC: @ 82587AC
BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor: @ 82587AC
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattleFactoryLobby_EventScript_2587B1:: @ 82587B1
msgbox BattleFrontier_BattleFactoryLobby_Text_2588EE, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle:: @ 82587B1
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_2587BA:: @ 82587BA
msgbox BattleFrontier_BattleFactoryLobby_Text_258F93, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle:: @ 82587BA
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_2587C3:: @ 82587C3
message BattleFrontier_BattleFactoryLobby_Text_25897A
BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge:: @ 82587C3
message BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge
return
BattleFrontier_BattleFactoryLobby_EventScript_2587C9:: @ 82587C9
message BattleFrontier_BattleFactoryLobby_Text_25901F
BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge:: @ 82587C9
message BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge
return
BattleFrontier_BattleFactoryLobby_EventScript_2587CF:: @ 82587CF
msgbox BattleFrontier_BattleFactoryLobby_Text_2589B3, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge:: @ 82587CF
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_2587D8:: @ 82587D8
msgbox BattleFrontier_BattleFactoryLobby_Text_259058, MSGBOX_DEFAULT
BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge:: @ 82587D8
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_2587E1:: @ 82587E1
BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults:: @ 82587E1
lockall
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_SINGLES
waitbuttonpress
@@ -258,7 +255,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2587E1:: @ 82587E1
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_2587FA:: @ 82587FA
BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults:: @ 82587FA
lockall
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_DOUBLES
waitbuttonpress
@@ -266,85 +263,85 @@ BattleFrontier_BattleFactoryLobby_EventScript_2587FA:: @ 82587FA
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_258813:: @ 8258813
msgbox BattleFrontier_BattleFactoryLobby_Text_2593D7, MSGBOX_NPC
BattleFrontier_BattleFactoryLobby_EventScript_Woman:: @ 8258813
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves, MSGBOX_NPC
end
BattleFrontier_BattleFactoryLobby_EventScript_25881C:: @ 825881C
msgbox BattleFrontier_BattleFactoryLobby_Text_2594E5, MSGBOX_NPC
BattleFrontier_BattleFactoryLobby_EventScript_Camper:: @ 825881C
msgbox BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon, MSGBOX_NPC
end
BattleFrontier_BattleFactoryLobby_EventScript_258825:: @ 8258825
BattleFrontier_BattleFactoryLobby_EventScript_Picnicker:: @ 8258825
lock
msgbox BattleFrontier_BattleFactoryLobby_Text_259547, MSGBOX_DEFAULT
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons, MSGBOX_DEFAULT
release
end
BattleFrontier_BattleFactoryLobby_EventScript_258830:: @ 8258830
msgbox BattleFrontier_BattleFactoryLobby_Text_2595C4, MSGBOX_NPC
BattleFrontier_BattleFactoryLobby_EventScript_FatMan:: @ 8258830
msgbox BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints, MSGBOX_NPC
end
BattleFrontier_BattleFactoryLobby_EventScript_258839:: @ 8258839
BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard:: @ 8258839
lockall
msgbox BattleFrontier_BattleFactoryLobby_Text_259721, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
msgbox BattleFrontier_BattleFactoryLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_258848:: @ 8258848
message BattleFrontier_BattleFactoryLobby_Text_259743
BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard:: @ 8258848
message BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading
waitmessage
multichoice 17, 0, MULTI_BATTLE_FACTORY_RULES, 0
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryLobby_EventScript_2588A6
case 1, BattleFrontier_BattleFactoryLobby_EventScript_2588B4
case 2, BattleFrontier_BattleFactoryLobby_EventScript_2588C2
case 3, BattleFrontier_BattleFactoryLobby_EventScript_2588D0
case 4, BattleFrontier_BattleFactoryLobby_EventScript_2588DE
case 5, BattleFrontier_BattleFactoryLobby_EventScript_2588EC
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_2588EC
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
end
BattleFrontier_BattleFactoryLobby_EventScript_2588A6:: @ 82588A6
msgbox BattleFrontier_BattleFactoryLobby_Text_259766, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics:: @ 82588A6
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_2588B4:: @ 82588B4
msgbox BattleFrontier_BattleFactoryLobby_Text_2597FB, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner:: @ 82588B4
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_2588C2:: @ 82588C2
msgbox BattleFrontier_BattleFactoryLobby_Text_25987E, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber:: @ 82588C2
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_2588D0:: @ 82588D0
msgbox BattleFrontier_BattleFactoryLobby_Text_259920, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes:: @ 82588D0
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_2588DE:: @ 82588DE
msgbox BattleFrontier_BattleFactoryLobby_Text_259A5E, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv:: @ 82588DE
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_2588EC:: @ 82588EC
BattleFrontier_BattleFactoryLobby_EventScript_ExitRules:: @ 82588EC
releaseall
end
BattleFrontier_BattleFactoryLobby_Text_2588EE: @ 82588EE
BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle: @ 82588EE
.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.$"
BattleFrontier_BattleFactoryLobby_Text_25897A: @ 825897A
BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge: @ 825897A
.string "Would you like to take the Battle\n"
.string "Swap Single challenge?$"
BattleFrontier_BattleFactoryLobby_Text_2589B3: @ 82589B3
BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge: @ 82589B3
.string "The Battle Swap Single Tournament\n"
.string "is a SINGLE BATTLE competition using\l"
.string "only rental POKéMON.\p"
@@ -362,79 +359,85 @@ BattleFrontier_BattleFactoryLobby_Text_2589B3: @ 82589B3
.string "If you don't save, you will be\n"
.string "disqualified from your challenge.$"
BattleFrontier_BattleFactoryLobby_Text_258BC5: @ 8258BC5
BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit: @ 8258BC5
.string "We look forward to your next visit.$"
BattleFrontier_BattleFactoryLobby_Text_258BE9: @ 8258BE9
BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode: @ 8258BE9
.string "Which level do you wish to challenge?\n"
.string "Level 50 or Open Level?$"
BattleFrontier_BattleFactoryLobby_Text_258C27: @ 8258C27
BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge: @ 8258C27
.string "Before you begin your challenge,\n"
.string "I need to save the game. Is that okay?$"
BattleFrontier_BattleFactoryLobby_Text_258C6F: @ 8258C6F
@ Unused
BattleFrontier_BattleFactoryLobby_Text_WillHoldMonsForSafekeeping: @ 8258C6F
.string "Okay, I will hold your POKéMON for\n"
.string "safekeeping while you compete.$"
BattleFrontier_BattleFactoryLobby_Text_258CB1: @ 8258CB1
BattleFrontier_BattleFactoryLobby_Text_StepThisWay: @ 8258CB1
.string "Please step this way.$"
BattleFrontier_BattleFactoryLobby_Text_258CC7: @ 8258CC7
BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults: @ 8258CC7
.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.$"
BattleFrontier_BattleFactoryLobby_Text_258D54: @ 8258D54
@ Unused
BattleFrontier_BattleFactoryLobby_Text_ReturnMons: @ 8258D54
.string "I will return your POKéMON in exchange\n"
.string "for our rental POKéMON.$"
BattleFrontier_BattleFactoryLobby_Text_258D93: @ 8258D93
BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins: @ 8258D93
.string "Congratulations! You've won seven\n"
.string "straight Battle Swap matches!$"
BattleFrontier_BattleFactoryLobby_Text_258DD3: @ 8258DD3
@ Unused
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePointsForStreak: @ 8258DD3
.string "In recognition of your 7-win streak,\n"
.string "we award you these Battle Point(s).$"
BattleFrontier_BattleFactoryLobby_Text_258E1C: @ 8258E1C
@ Unused
BattleFrontier_BattleFactoryLobby_Text_MaxBattlePoints: @ 8258E1C
.string "Oh, oh, oh!\p"
.string "Your Battle Points are maxed.\p"
.string "Please come back after using\n"
.string "some Battle Points.$"
BattleFrontier_BattleFactoryLobby_Text_258E77: @ 8258E77
BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume: @ 8258E77
.string "We've been waiting for you!\p"
.string "Before we resume your challenge,\n"
.string "I must save the game.$"
BattleFrontier_BattleFactoryLobby_Text_258ECA: @ 8258ECA
BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting: @ 8258ECA
.string "I'm sorry to say this, but you didn't\n"
.string "save before you quit playing last time.\p"
.string "As a result, you have been disqualified\n"
.string "from your challenge.$"
BattleFrontier_BattleFactoryLobby_Text_258F55: @ 8258F55
@ Unused
BattleFrontier_BattleFactoryLobby_Text_WellReturnMons: @ 8258F55
.string "We'll return your personal POKéMON.$"
BattleFrontier_BattleFactoryLobby_Text_258F79: @ 8258F79
@ Unused
BattleFrontier_BattleFactoryLobby_Text_ReceivedPrizeItem: @ 8258F79
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
BattleFrontier_BattleFactoryLobby_Text_258F93: @ 8258F93
BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle: @ 8258F93
.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.$"
BattleFrontier_BattleFactoryLobby_Text_25901F: @ 825901F
BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge: @ 825901F
.string "Would you like to take the Battle\n"
.string "Swap Double challenge?$"
BattleFrontier_BattleFactoryLobby_Text_259058: @ 8259058
BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge: @ 8259058
.string "The Battle Swap Double Tournament\n"
.string "is a DOUBLE BATTLE competition using\l"
.string "only rental POKéMON.\p"
@@ -452,28 +455,28 @@ BattleFrontier_BattleFactoryLobby_Text_259058: @ 8259058
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattleFactoryLobby_Text_25926A: @ 825926A
BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead: @ 825926A
.string "Congratulations for defeating\n"
.string "the FACTORY HEAD and winning\l"
.string "seven matches in a row!$"
BattleFrontier_BattleFactoryLobby_Text_2592BD: @ 82592BD
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints: @ 82592BD
.string "In recognition of your wealth of\n"
.string "knowledge and keen intelligence,\l"
.string "we award you these Battle Point(s).$"
BattleFrontier_BattleFactoryLobby_Text_259323: @ 8259323
BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave: @ 8259323
.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.$"
BattleFrontier_BattleFactoryLobby_Text_259388: @ 8259388
BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch: @ 8259388
.string "Would you like to record your last\n"
.string "BATTLE FACTORY match on your\l"
.string "FRONTIER PASS?$"
BattleFrontier_BattleFactoryLobby_Text_2593D7: @ 82593D7
BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves: @ 82593D7
.string "Hi!\n"
.string "You, there!\p"
.string "Are you thinking that the events here\n"
@@ -485,25 +488,26 @@ BattleFrontier_BattleFactoryLobby_Text_2593D7: @ 82593D7
.string "about POKéMON and their moves,\l"
.string "it will be tough to keep winning.$"
BattleFrontier_BattleFactoryLobby_Text_2594E5: @ 82594E5
BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon: @ 82594E5
.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…$"
BattleFrontier_BattleFactoryLobby_Text_259547: @ 8259547
BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons: @ 8259547
.string "Things haven't been going my way\n"
.string "at all.\p"
.string "You need to check your opponent's\n"
.string "POKéMON during battle to see if\l"
.string "they're any good.$"
BattleFrontier_BattleFactoryLobby_Text_2595C4: @ 82595C4
BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints: @ 82595C4
.string "You know how the staff here give you\n"
.string "a few hints about your next opponent?\p"
.string "Well, I'm a full-grown man, but I have\n"
.string "trouble figuring out their hints.$"
BattleFrontier_BattleFactoryLobby_Text_259658: @ 8259658
@ Unused
BattleFrontier_BattleFactoryLobby_Text_RentalMonsAreVaried: @ 8259658
.string "Like, I'm really tough, but I get bored\n"
.string "really easily, so I just kept swapping\l"
.string "and battling over and over.\p"
@@ -511,35 +515,33 @@ BattleFrontier_BattleFactoryLobby_Text_259658: @ 8259658
.string "Battle Swap events, I noticed they\l"
.string "varied the rental POKéMON.$"
BattleFrontier_BattleFactoryLobby_Text_259721: @ 8259721
SlateportCity_BattleTentLobby_Text_259721: @ 8259721
BattleFrontier_BattleFactoryLobby_Text_RulesAreListed: @ 8259721
.string "The Battle Swap rules are listed.$"
BattleFrontier_BattleFactoryLobby_Text_259743: @ 8259743
SlateportCity_BattleTentLobby_Text_259743: @ 8259743
BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading: @ 8259743
.string "Which heading do you want to read?$"
BattleFrontier_BattleFactoryLobby_Text_259766: @ 8259766
BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules: @ 8259766
.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.$"
BattleFrontier_BattleFactoryLobby_Text_2597FB: @ 82597FB
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules: @ 82597FB
.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.$"
BattleFrontier_BattleFactoryLobby_Text_25987E: @ 825987E
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules: @ 825987E
.string "After every battle you win, you may\n"
.string "swap for one of your defeated\l"
.string "opponent's POKéMON.\p"
.string "You will not be able to swap POKéMON\n"
.string "with the seventh TRAINER in the event.$"
BattleFrontier_BattleFactoryLobby_Text_259920: @ 8259920
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules: @ 8259920
.string "There are two key points to be aware\n"
.string "of when swapping POKéMON.\p"
.string "First, when swapping, you can't check\n"
@@ -551,7 +553,7 @@ BattleFrontier_BattleFactoryLobby_Text_259920: @ 8259920
.string "This sequence remains unchanged\n"
.string "even when swaps are made.$"
BattleFrontier_BattleFactoryLobby_Text_259A5E: @ 8259A5E
BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules: @ 8259A5E
.string "In the Open Level, the rental POKéMON\n"
.string "and the opposing TRAINERS' POKéMON\l"
.string "are all Level 100.$"