pokeemerald/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc

582 lines
22 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
BattleFrontier_BattleArenaLobby_MapScripts:: @ 8255C36
2019-11-26 23:20:08 +01:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleArenaLobby_OnWarp
2017-11-10 02:21:31 +01:00
.byte 0
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_OnWarp: @ 8255C41
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth
2017-11-10 02:21:31 +01:00
.2byte 0
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth:: @ 8255C4B
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
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_OnFrame: @ 8255C55
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleArenaLobby_EventScript_WonChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleArenaLobby_EventScript_LostChallenge
2017-11-10 02:21:31 +01:00
.2byte 0
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_GetChallengeStatus:: @ 8255C7F
2019-11-24 22:58:40 +01:00
frontier_getstatus
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving:: @ 8255C88
2017-11-10 02:21:31 +01:00
lockall
2019-11-26 23:20:08 +01:00
msgbox BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-11-26 23:20:08 +01:00
arena_set ARENA_DATA_WIN_STREAK, 0
arena_set ARENA_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
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_WonChallenge:: @ 8255CCF
2017-11-10 02:21:31 +01:00
lockall
2019-11-24 22:58:40 +01:00
frontier_isbrain
2019-11-10 02:40:25 +01:00
compare VAR_RESULT, TRUE
2019-11-26 23:20:08 +01:00
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_DefeatedTycoon
msgbox BattleFrontier_BattleArenaLobby_Text_CongratsOnSevenWins, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_GiveBattlePoints
BattleFrontier_BattleArenaLobby_EventScript_DefeatedTycoon:: @ 8255CF0
msgbox BattleFrontier_BattleArenaLobby_Text_CongratsOnDefeatingTycoon, MSGBOX_DEFAULT
BattleFrontier_BattleArenaLobby_EventScript_GiveBattlePoints:: @ 8255CF8
msgbox BattleFrontier_BattleArenaLobby_Text_PleaseAcceptBattlePoints, MSGBOX_DEFAULT
2019-11-24 22:58:40 +01:00
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
2019-11-26 23:20:08 +01:00
message BattleFrontier_BattleArenaLobby_Text_RecordAchievement
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-26 23:20:08 +01:00
call BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge
msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2, 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
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_LostChallenge:: @ 8255D2B
2017-11-10 02:21:31 +01:00
lockall
2019-11-26 23:20:08 +01:00
message BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-26 23:20:08 +01:00
arena_set ARENA_DATA_WIN_STREAK_ACTIVE, FALSE
call BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge
msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2, 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
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge:: @ 8255D59
2019-11-24 22:58:40 +01:00
frontier_checkairshow
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2017-12-16 00:08:23 +01:00
special HealPlayerParty
2019-11-26 23:20:08 +01:00
arena_save 0
2017-11-10 02:21:31 +01:00
playse SE_SAVE
waitse
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
2019-11-26 23:20:08 +01:00
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
message BattleFrontier_BattleArenaLobby_Text_RecordLastMatch
2017-11-10 02:21:31 +01:00
waitmessage
2019-09-19 06:56:51 +02:00
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-26 23:20:08 +01:00
case 1, BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
case 0, BattleFrontier_BattleArenaLobby_EventScript_RecordMatch
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_RecordMatch:: @ 8255DBA
2019-11-24 22:58:40 +01:00
call BattleFrontier_EventScript_SaveBattle
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge:: @ 8255DBF
2017-11-10 02:21:31 +01:00
return
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge:: @ 8255DC0
2017-11-10 02:21:31 +01:00
lockall
2019-11-26 23:20:08 +01:00
message BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-26 23:20:08 +01:00
arena_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
2019-11-26 23:20:08 +01:00
goto BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_Attendant:: @ 8255DF4
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-24 22:58:40 +01:00
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_ARENA
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
2018-04-29 14:21:59 +02:00
special SavePlayerParty
2019-11-26 23:20:08 +01:00
msgbox BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena, MSGBOX_DEFAULT
BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge:: @ 8255E0B
message BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge
2017-11-10 02:21:31 +01:00
waitmessage
2019-09-19 06:56:51 +02:00
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-26 23:20:08 +01:00
case 0, BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge
case 1, BattleFrontier_BattleArenaLobby_EventScript_ExplainChallenge
case 2, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge:: @ 8255E47
message BattleFrontier_BattleArenaLobby_Text_WhichLevelMode
2017-11-10 02:21:31 +01:00
waitmessage
2019-09-19 06:56:51 +02:00
multichoice 17, 6, MULTI_LEVEL_MODE, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-26 23:20:08 +01:00
case FRONTIER_LVL_TENT, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
2019-11-24 22:58:40 +01:00
frontier_checkineligible
compare VAR_0x8004, TRUE
2019-11-26 23:20:08 +01:00
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
2019-11-26 23:20:08 +01:00
msgbox BattleFrontier_BattleArenaLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
2019-11-24 22:58:40 +01:00
call BattleFrontier_EventScript_GetLvlMode
2017-11-10 02:21:31 +01:00
copyvar VAR_0x8004, VAR_RESULT
2019-11-26 23:20:08 +01:00
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special ChoosePartyForBattleFrontier
2017-11-10 02:21:31 +01:00
waitstate
compare VAR_RESULT, 0
2019-11-26 23:20:08 +01:00
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattleArenaLobby_Text_OkayToSave, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-26 23:20:08 +01:00
case NO, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge:: @ 8255EE8
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 0
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
2019-11-26 23:20:08 +01:00
arena_init
arena_set ARENA_DATA_WIN_STREAK_ACTIVE, TRUE
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_SAVING
frontier_set FRONTIER_DATA_PAUSED, FALSE
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
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
compare VAR_RESULT, 0
2019-11-26 23:20:08 +01:00
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge:: @ 8255F54
2018-04-29 14:21:59 +02:00
special SavePlayerParty
2019-11-24 22:58:40 +01:00
frontier_setpartyorder FRONTIER_PARTY_SIZE
2019-11-26 23:20:08 +01:00
msgbox BattleFrontier_BattleArenaLobby_Text_GuideYouToArena, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-11-24 22:58:40 +01:00
frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_50
2019-11-26 23:20:08 +01:00
call_if_eq BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50
2019-11-24 22:58:40 +01:00
compare VAR_RESULT, FRONTIER_LVL_OPEN
2019-11-26 23:20:08 +01:00
call_if_eq BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 0
2017-11-10 02:21:31 +01:00
waitstate
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_ExplainChallenge:: @ 8255F9F
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons:: @ 8255FAC
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-26 23:20:08 +01:00
case FRONTIER_LVL_50, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50:: @ 8255FC7
msgbox BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8255FD4
msgbox BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed:: @ 8255FE1
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
2019-11-26 23:20:08 +01:00
goto BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge:: @ 8255FF8
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge:: @ 8255FFB
msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge, MSGBOX_DEFAULT
BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge:: @ 8256003
2017-11-10 02:21:31 +01:00
release
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50:: @ 8256005
applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor
2019-11-27 18:51:10 +01:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor
2017-11-10 02:21:31 +01:00
waitmovement 0
opendoor 2, 2
waitdooranim
2019-11-26 23:20:08 +01:00
applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor
2019-11-27 18:51:10 +01:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor
2017-11-10 02:21:31 +01:00
waitmovement 0
closedoor 2, 2
waitdooranim
return
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor: @ 8256034
walk_up
walk_up
walk_up
walk_left
walk_left
walk_left
walk_left
walk_left
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor: @ 825603E
walk_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor: @ 8256041
walk_up
walk_up
walk_up
walk_up
walk_left
walk_left
walk_left
walk_left
walk_left
walk_in_place_fastest_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor: @ 825604C
walk_up
walk_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen:: @ 8256050
applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor
2019-11-27 18:51:10 +01:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor
2017-11-10 02:21:31 +01:00
waitmovement 0
opendoor 11, 2
waitdooranim
2019-11-26 23:20:08 +01:00
applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor
2019-11-27 18:51:10 +01:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor
2017-11-10 02:21:31 +01:00
waitmovement 0
closedoor 11, 2
waitdooranim
return
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor: @ 825607F
walk_up
walk_up
walk_up
walk_right
walk_right
walk_right
walk_right
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor: @ 8256088
walk_up
walk_up
walk_up
walk_up
walk_right
walk_right
walk_right
walk_right
walk_in_place_fastest_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_ShowResults:: @ 8256092
2017-11-10 02:21:31 +01:00
lockall
frontier_results FRONTIER_FACILITY_ARENA
2017-11-10 02:21:31 +01:00
waitbuttonpress
special RemoveRecordsWindow
2017-11-10 02:21:31 +01:00
releaseall
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_Youngster:: @ 82560A6
msgbox BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_Man:: @ 82560AF
msgbox BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_Camper:: @ 82560B8
msgbox BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_Woman:: @ 82560C1
msgbox BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_RulesBoard:: @ 82560CA
2017-11-10 02:21:31 +01:00
lockall
2019-11-26 23:20:08 +01:00
msgbox BattleFrontier_BattleArenaLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard:: @ 82560D9
message BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading
2017-11-10 02:21:31 +01:00
waitmessage
2019-09-19 06:56:51 +02:00
multichoice 17, 2, MULTI_BATTLE_ARENA_RULES, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-26 23:20:08 +01:00
case 0, BattleFrontier_BattleArenaLobby_EventScript_BattleRules
case 1, BattleFrontier_BattleArenaLobby_EventScript_MindRules
case 2, BattleFrontier_BattleArenaLobby_EventScript_SkillRules
case 3, BattleFrontier_BattleArenaLobby_EventScript_BodyRules
case 4, BattleFrontier_BattleArenaLobby_EventScript_ExitRules
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_ExitRules
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_BattleRules:: @ 825612C
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_MindRules:: @ 825613A
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainMindRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_SkillRules:: @ 8256148
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_BodyRules:: @ 8256156
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
2017-11-10 02:21:31 +01:00
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_EventScript_ExitRules:: @ 8256164
2017-11-10 02:21:31 +01:00
releaseall
end
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena: @ 8256166
2017-11-10 02:21:31 +01:00
.string "Where the battling spirit of TRAINERS\n"
.string "is put to the test!\p"
.string "I welcome you to the BATTLE ARENA!\p"
.string "I am your guide to the Set KO Tourney!$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge: @ 82561EA
2017-11-10 02:21:31 +01:00
.string "Now, do you wish to take\n"
.string "the BATTLE ARENA challenge?$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge: @ 825621F
2017-11-10 02:21:31 +01:00
.string "We await your challenge on\n"
.string "another occasion!$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ExplainChallenge: @ 825624C
2017-11-10 02:21:31 +01:00
.string "In the BATTLE ARENA, we undertake\n"
.string "the Set KO Tourney.\p"
.string "All participants enter with a team of\n"
.string "three POKéMON.\p"
.string "The three POKéMON must be lined up in\n"
.string "the order in which they are to appear.\p"
.string "During battle, the POKéMON will appear\n"
.string "one at a time in the preset order.\p"
.string "Once a POKéMON enters battle, it must\n"
.string "remain out until the match is decided.\p"
.string "If a match remains undecided in\n"
.string "three turns, it goes to judging.\p"
.string "If you wish to interrupt your challenge,\n"
.string "please save the game.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't save, you will not be able\n"
2017-11-10 02:21:31 +01:00
.string "to continue with your challenge.\p"
.string "If you pull off the feat of beating\n"
.string "seven TRAINERS in succession,\l"
.string "we will present you with Battle Points.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_OkayToSave: @ 82564CE
2017-11-10 02:21:31 +01:00
.string "Before showing you to the BATTLE\n"
.string "ARENA, you must save. Is that okay?$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_WhichLevelMode: @ 8256513
2017-11-10 02:21:31 +01:00
.string "The BATTLE ARENA offers two levels\n"
.string "of challenge, Level 50 and Open Level.\l"
.string "Which is your choice?$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_SelectThreeMons: @ 8256573
2017-11-10 02:21:31 +01:00
.string "Very well, now select your\n"
.string "three POKéMON, please.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen: @ 82565A5
2017-11-10 02:21:31 +01:00
.string "My dear challenger!\p"
.string "You do not have the three POKéMON\n"
.string "required for entry.\p"
.string "To qualify, you must bring three\n"
.string "different kinds of POKéMON.\p"
.string "They also must not hold the same\n"
.string "kinds of items.\p"
.string "EGGS{STR_VAR_1} ineligible.\p"
.string "When you have made your preparations,\n"
.string "please do return.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50: @ 82566A8
2017-11-10 02:21:31 +01:00
.string "My dear challenger!\p"
.string "You do not have the three POKéMON\n"
.string "required for entry.\p"
.string "To qualify, you must bring three\n"
.string "different kinds of POKéMON.\p"
.string "The three different POKéMON\n"
.string "must all be Level 50 or lower.\p"
.string "They also must not hold the same\n"
.string "kinds of items.\p"
.string "EGGS{STR_VAR_1} ineligible.\p"
.string "When you have made your preparations,\n"
.string "please do return.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_GuideYouToArena: @ 82567E6
2017-11-10 02:21:31 +01:00
.string "I shall now guide you to\n"
.string "the BATTLE ARENA.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown: @ 8256811
2017-11-10 02:21:31 +01:00
.string "My dear challenger!\p"
.string "You did not save the game before\n"
.string "shutting down, did you?\p"
.string "It is unfortunate, but that has\n"
.string "resulted in your disqualification\l"
.string "from your challenge.\p"
.string "You may, of course, start with a fresh\n"
.string "challenge.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_CongratsOnSevenWins: @ 82568E7
2017-11-10 02:21:31 +01:00
.string "We congratulate you for your splendid\n"
.string "string of wins over seven TRAINERS!$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_RecordAchievement: @ 8256931
2017-11-10 02:21:31 +01:00
.string "Your achievement will be recorded.\n"
.string "Please wait while I save the game.$"
2019-11-26 23:20:08 +01:00
@ Unused
BattleFrontier_BattleArenaLobby_Text_PresentYouWithPrize: @ 8256977
2017-11-10 00:40:08 +01:00
.string "In commemoration of your 7-win streak,\n"
.string "we present you with this prize.$"
2019-11-26 23:20:08 +01:00
@ Unused
BattleFrontier_BattleArenaLobby_Text_ReceivedPrize: @ 82569BE
2017-11-10 00:40:08 +01:00
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
2019-11-26 23:20:08 +01:00
@ Unused
BattleFrontier_BattleArenaLobby_Text_BagFullReturnForPrize: @ 82569D8
2017-11-10 00:40:08 +01:00
.string "Oh?\n"
.string "Your BAG seems to be full.\p"
.string "I urge you to clear space and\n"
.string "return for your prize.$"
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave: @ 8256A2C
2017-11-10 02:21:31 +01:00
.string "Thank you so much for participating!\p"
.string "Please wait while I save the game.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2: @ 8256A74
2017-11-10 02:21:31 +01:00
.string "We await your challenge on\n"
.string "another occasion!$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame: @ 8256AA1
2017-11-10 02:21:31 +01:00
.string "We have been looking forward to\n"
.string "your arrival.\p"
.string "Before I show you to the BATTLE\n"
.string "ARENA, I must save the game.\l"
.string "Please wait.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_RecordLastMatch: @ 8256B19
2017-11-10 02:21:31 +01:00
.string "Shall I record your last BATTLE ARENA\n"
.string "match on your FRONTIER PASS?$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack: @ 8256B5C
2018-12-07 16:41:08 +01:00
.string "I lost on the REFEREE's decision…\p"
.string "I don't think it was a good idea to only\n"
2017-11-10 02:21:31 +01:00
.string "use defensive moves and not attack…$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked: @ 8256BCB
2017-11-10 02:21:31 +01:00
.string "I won in judging!\p"
.string "Landing hits consistently on\n"
2018-12-07 16:41:08 +01:00
.string "the opponent's POKéMON worked!$"
2017-11-10 02:21:31 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw: @ 8256C19
2017-11-10 02:21:31 +01:00
.string "Our match was declared a draw.\p"
.string "When we ran out of time, both my\n"
2018-12-07 16:41:08 +01:00
.string "POKéMON and the opponent's had about\l"
2017-11-10 02:21:31 +01:00
.string "the same amount of HP left.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant: @ 8256C9A
2017-11-10 02:21:31 +01:00
.string "In the BATTLE ARENA, the order of\n"
.string "POKéMON is totally important.\p"
.string "For example, if your first POKéMON\n"
.string "has certain type disadvantages,\l"
.string "try making your second POKéMON one\l"
.string "with moves that are super effective\l"
.string "against the first one.\p"
.string "I think that will be a good way of\n"
.string "making an effective team.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_RulesAreListed: @ 8256DB8
2018-12-07 16:41:08 +01:00
.string "The Set KO Tourney's rules are listed.$"
2017-11-10 00:40:08 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading: @ 8256DDF
2017-11-10 00:40:08 +01:00
.string "Which heading do you want to read?$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules: @ 8256E02
2017-11-10 00:40:08 +01:00
.string "The Set KO Tourney has special rules,\n"
.string "unlike standard battles.\p"
.string "First, one battle lasts only\n"
.string "three turns.\p"
.string "If the outcome is not decided after\n"
.string "three turns, it goes to judging.\p"
.string "The REFEREE will choose the winner\n"
.string "based on how the POKéMON battled.\p"
.string "Also, a POKéMON cannot be switched out\n"
2018-12-07 16:41:08 +01:00
.string "until its battle's outcome is decided.$"
2017-11-10 00:40:08 +01:00
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ExplainMindRules: @ 8256F43
2017-11-10 00:40:08 +01:00
.string "The first judging factor is “Mind.”\n"
.string "This factor evaluates how aggressive\l"
.string "the battlers were.\p"
.string "The judging is based on how often\n"
.string "the TRAINERS ordered the use of\l"
.string "offensive moves.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules: @ 8256FF2
2017-11-10 00:40:08 +01:00
.string "The second judging factor is “Skill.”\n"
.string "This factor evaluates how effectively\l"
.string "POKéMON moves were used.\p"
.string "If a move worked successfully,\n"
.string "the Skill rating goes up.\p"
.string "If a move failed, the Skill rating\n"
.string "is lowered.\p"
.string "If it was an offensive move, the Skill\n"
.string "rating goes up if the move was “super\l"
.string "effective” and goes down if it was\l"
.string "“not very effective.”\p"
.string "The Skill rating will not go up for\n"
.string "moves such as PROTECT and DETECT.\p"
.string "If the opponent used PROTECT or\n"
.string "DETECT, and your POKéMON failed to\l"
.string "hit with a move, its Skill rating will not\l"
.string "go down.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules: @ 8257202
2017-11-10 00:40:08 +01:00
.string "The third judging factor is “Body.”\n"
.string "This factor is based on how much HP\l"
.string "remained at the end of a battle.\p"
.string "The rating takes into account how much\n"
.string "HP a POKéMON had at the start of\l"
.string "battle, and what remained at the end.$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_CongratsOnDefeatingTycoon: @ 82572D9
2017-11-10 00:40:08 +01:00
.string "A victory snatched from the ARENA\n"
.string "TYCOON, and a seven-TRAINER sweep!\p"
.string "We congratulate you on your most\n"
.string "splendid challenge!$"
2019-11-26 23:20:08 +01:00
BattleFrontier_BattleArenaLobby_Text_PleaseAcceptBattlePoints: @ 8257353
2017-11-10 00:40:08 +01:00
.string "My dear challenger, in recognition of\n"
.string "your indefatigable spirit, please\l"
.string "accept these Battle Point(s).$"