summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/BattleFrontier_BattleArenaLobby/scripts.inc')
-rw-r--r--data/maps/BattleFrontier_BattleArenaLobby/scripts.inc377
1 files changed, 177 insertions, 200 deletions
diff --git a/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc b/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
index cd7ec75be..dcf50b963 100644
--- a/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
@@ -1,176 +1,157 @@
BattleFrontier_BattleArenaLobby_MapScripts:: @ 8255C36
- map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaLobby_MapScript2_255C55
- map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleArenaLobby_MapScript2_255C41
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaLobby_OnFrame
+ map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleArenaLobby_OnWarp
.byte 0
-BattleFrontier_BattleArenaLobby_MapScript2_255C41: @ 8255C41
- map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleArenaLobby_EventScript_255C4B
+BattleFrontier_BattleArenaLobby_OnWarp: @ 8255C41
+ map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth
.2byte 0
-BattleFrontier_BattleArenaLobby_EventScript_255C4B:: @ 8255C4B
+BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth:: @ 8255C4B
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
-BattleFrontier_BattleArenaLobby_MapScript2_255C55: @ 8255C55
- map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaLobby_EventScript_255C7F
- map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleArenaLobby_EventScript_255C88
- map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleArenaLobby_EventScript_255DC0
- map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleArenaLobby_EventScript_255CCF
- map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleArenaLobby_EventScript_255D2B
+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
.2byte 0
-BattleFrontier_BattleArenaLobby_EventScript_255C7F:: @ 8255C7F
+BattleFrontier_BattleArenaLobby_EventScript_GetChallengeStatus:: @ 8255C7F
frontier_getstatus
end
-BattleFrontier_BattleArenaLobby_EventScript_255C88:: @ 8255C88
+BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving:: @ 8255C88
lockall
- msgbox BattleFrontier_BattleArenaLobby_Text_256811, MSGBOX_DEFAULT
+ msgbox BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown, MSGBOX_DEFAULT
closemessage
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 1
- setvar VAR_0x8006, 0
- special CallBattleArenaFunction
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 2
- setvar VAR_0x8006, 0
- special CallBattleArenaFunction
+ arena_set ARENA_DATA_WIN_STREAK, 0
+ arena_set ARENA_DATA_WIN_STREAK_ACTIVE, FALSE
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
setvar VAR_TEMP_0, 255
releaseall
end
-BattleFrontier_BattleArenaLobby_EventScript_255CCF:: @ 8255CCF
+BattleFrontier_BattleArenaLobby_EventScript_WonChallenge:: @ 8255CCF
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
- goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
- msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_255CF8
-
-BattleFrontier_BattleArenaLobby_EventScript_255CF0:: @ 8255CF0
- msgbox BattleFrontier_BattleArenaLobby_Text_2572D9, MSGBOX_DEFAULT
-
-BattleFrontier_BattleArenaLobby_EventScript_255CF8:: @ 8255CF8
- msgbox BattleFrontier_BattleArenaLobby_Text_257353, MSGBOX_DEFAULT
+ 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
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
- message BattleFrontier_BattleArenaLobby_Text_256931
+ message BattleFrontier_BattleArenaLobby_Text_RecordAchievement
waitmessage
- call BattleFrontier_BattleArenaLobby_EventScript_255D59
- msgbox BattleFrontier_BattleArenaLobby_Text_256A74, MSGBOX_DEFAULT
+ call BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge
+ msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 255
releaseall
end
-BattleFrontier_BattleArenaLobby_EventScript_255D2B:: @ 8255D2B
+BattleFrontier_BattleArenaLobby_EventScript_LostChallenge:: @ 8255D2B
lockall
- message BattleFrontier_BattleArenaLobby_Text_256A2C
+ message BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave
waitmessage
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 2
- setvar VAR_0x8006, 0
- special CallBattleArenaFunction
- call BattleFrontier_BattleArenaLobby_EventScript_255D59
- msgbox BattleFrontier_BattleArenaLobby_Text_256A74, MSGBOX_DEFAULT
+ arena_set ARENA_DATA_WIN_STREAK_ACTIVE, FALSE
+ call BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge
+ msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 255
releaseall
end
-BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
+BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge:: @ 8255D59
frontier_checkairshow
special LoadPlayerParty
special HealPlayerParty
- setvar VAR_0x8004, 3
- setvar VAR_0x8005, 0
- special CallBattleArenaFunction
+ arena_save 0
playse SE_SAVE
waitse
call BattleFrontier_BattleArenaLobby_EventScript_23E8E0
compare VAR_RESULT, 1
- goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255DBF
- message BattleFrontier_BattleArenaLobby_Text_256B19
+ goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
+ message BattleFrontier_BattleArenaLobby_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT
- case 1, BattleFrontier_BattleArenaLobby_EventScript_255DBF
- case 0, BattleFrontier_BattleArenaLobby_EventScript_255DBA
- case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_255DBF
+ case 1, BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
+ case 0, BattleFrontier_BattleArenaLobby_EventScript_RecordMatch
+ case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255DBA:: @ 8255DBA
+BattleFrontier_BattleArenaLobby_EventScript_RecordMatch:: @ 8255DBA
call BattleFrontier_EventScript_SaveBattle
-BattleFrontier_BattleArenaLobby_EventScript_255DBF:: @ 8255DBF
+BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge:: @ 8255DBF
return
-BattleFrontier_BattleArenaLobby_EventScript_255DC0:: @ 8255DC0
+BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge:: @ 8255DC0
lockall
- message BattleFrontier_BattleArenaLobby_Text_256AA1
+ message BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame
waitmessage
- setvar VAR_0x8004, 3
- setvar VAR_0x8005, 1
- special CallBattleArenaFunction
+ arena_save CHALLENGE_STATUS_SAVING
playse SE_SAVE
waitse
frontier_set FRONTIER_DATA_PAUSED, FALSE
setvar VAR_TEMP_0, 255
- goto BattleFrontier_BattleArenaLobby_EventScript_255F54
+ goto BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255DF4:: @ 8255DF4
+BattleFrontier_BattleArenaLobby_EventScript_Attendant:: @ 8255DF4
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_ARENA
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
special SavePlayerParty
- msgbox BattleFrontier_BattleArenaLobby_Text_256166, MSGBOX_DEFAULT
-
-BattleFrontier_BattleArenaLobby_EventScript_255E0B:: @ 8255E0B
- message BattleFrontier_BattleArenaLobby_Text_2561EA
+ msgbox BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena, MSGBOX_DEFAULT
+BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge:: @ 8255E0B
+ message BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
switch VAR_RESULT
- case 0, BattleFrontier_BattleArenaLobby_EventScript_255E47
- case 1, BattleFrontier_BattleArenaLobby_EventScript_255F9F
- case 2, BattleFrontier_BattleArenaLobby_EventScript_255FFB
- case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_255FFB
+ 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
-BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
- message BattleFrontier_BattleArenaLobby_Text_256513
+BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge:: @ 8255E47
+ message BattleFrontier_BattleArenaLobby_Text_WhichLevelMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, 0
switch VAR_RESULT
- case FRONTIER_LVL_TENT, BattleFrontier_BattleArenaLobby_EventScript_255FFB
- case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_255FFB
+ case FRONTIER_LVL_TENT, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
+ case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
frontier_checkineligible
compare VAR_0x8004, TRUE
- goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
+ goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
- msgbox BattleFrontier_BattleArenaLobby_Text_256573, MSGBOX_DEFAULT
+ msgbox BattleFrontier_BattleArenaLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
fadescreen 1
call BattleFrontier_EventScript_GetLvlMode
copyvar VAR_0x8004, VAR_RESULT
- setvar VAR_0x8005, 3
- special sub_80F9490
+ setvar VAR_0x8005, FRONTIER_PARTY_SIZE
+ special ChoosePartyForBattleFrontier
waitstate
compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
- msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, MSGBOX_YESNO
+ goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
+ msgbox BattleFrontier_BattleArenaLobby_Text_OkayToSave, MSGBOX_YESNO
switch VAR_RESULT
- case NO, BattleFrontier_BattleArenaLobby_EventScript_255FF8
- case YES, BattleFrontier_BattleArenaLobby_EventScript_255EE8
- case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_255FF8
+ case NO, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
+ case YES, BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge
+ case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
+BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge:: @ 8255EE8
setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
- setvar VAR_0x8004, 0
- special CallBattleArenaFunction
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 2
- setvar VAR_0x8006, 1
- special CallBattleArenaFunction
+ arena_init
+ arena_set ARENA_DATA_WIN_STREAK_ACTIVE, TRUE
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_SAVING
frontier_set FRONTIER_DATA_PAUSED, FALSE
special LoadPlayerParty
@@ -179,66 +160,65 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
-
-BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
+ goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed
+BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge:: @ 8255F54
special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE
- msgbox BattleFrontier_BattleArenaLobby_Text_2567E6, MSGBOX_DEFAULT
+ msgbox BattleFrontier_BattleArenaLobby_Text_GuideYouToArena, MSGBOX_DEFAULT
closemessage
frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_50
- call_if_eq BattleFrontier_BattleArenaLobby_EventScript_256005
+ call_if_eq BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50
compare VAR_RESULT, FRONTIER_LVL_OPEN
- call_if_eq BattleFrontier_BattleArenaLobby_EventScript_256050
+ call_if_eq BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13
setvar VAR_TEMP_0, 0
waitstate
end
-BattleFrontier_BattleArenaLobby_EventScript_255F9F:: @ 8255F9F
- msgbox BattleFrontier_BattleArenaLobby_Text_25624C, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_255E0B
+BattleFrontier_BattleArenaLobby_EventScript_ExplainChallenge:: @ 8255F9F
+ msgbox BattleFrontier_BattleArenaLobby_Text_ExplainChallenge, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255FAC:: @ 8255FAC
+BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons:: @ 8255FAC
switch VAR_RESULT
- case FRONTIER_LVL_50, BattleFrontier_BattleArenaLobby_EventScript_255FC7
- case FRONTIER_LVL_OPEN, BattleFrontier_BattleArenaLobby_EventScript_255FD4
+ case FRONTIER_LVL_50, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50
+ case FRONTIER_LVL_OPEN, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen
-BattleFrontier_BattleArenaLobby_EventScript_255FC7:: @ 8255FC7
- msgbox BattleFrontier_BattleArenaLobby_Text_2566A8, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_256003
+BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50:: @ 8255FC7
+ msgbox BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255FD4:: @ 8255FD4
- msgbox BattleFrontier_BattleArenaLobby_Text_2565A5, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_256003
+BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8255FD4
+ msgbox BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255FE1:: @ 8255FE1
+BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed:: @ 8255FE1
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
- goto BattleFrontier_BattleArenaLobby_EventScript_255FFB
+ goto BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
-BattleFrontier_BattleArenaLobby_EventScript_255FF8:: @ 8255FF8
+BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge:: @ 8255FF8
special LoadPlayerParty
-BattleFrontier_BattleArenaLobby_EventScript_255FFB:: @ 8255FFB
- msgbox BattleFrontier_BattleArenaLobby_Text_25621F, MSGBOX_DEFAULT
-BattleFrontier_BattleArenaLobby_EventScript_256003:: @ 8256003
+BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge:: @ 8255FFB
+ msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge, MSGBOX_DEFAULT
+BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge:: @ 8256003
release
end
-BattleFrontier_BattleArenaLobby_EventScript_256005:: @ 8256005
- applymovement 1, BattleFrontier_BattleArenaLobby_Movement_256034
- applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_256041
+BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50:: @ 8256005
+ applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor
+ applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor
waitmovement 0
opendoor 2, 2
waitdooranim
- applymovement 1, BattleFrontier_BattleArenaLobby_Movement_25603E
- applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_25604C
+ applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor
+ applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor
waitmovement 0
closedoor 2, 2
waitdooranim
return
-BattleFrontier_BattleArenaLobby_Movement_256034: @ 8256034
+BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor: @ 8256034
walk_up
walk_up
walk_up
@@ -250,12 +230,12 @@ BattleFrontier_BattleArenaLobby_Movement_256034: @ 8256034
walk_up
step_end
-BattleFrontier_BattleArenaLobby_Movement_25603E: @ 825603E
+BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor: @ 825603E
walk_up
set_invisible
step_end
-BattleFrontier_BattleArenaLobby_Movement_256041: @ 8256041
+BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor: @ 8256041
walk_up
walk_up
walk_up
@@ -268,26 +248,26 @@ BattleFrontier_BattleArenaLobby_Movement_256041: @ 8256041
walk_in_place_fastest_up
step_end
-BattleFrontier_BattleArenaLobby_Movement_25604C: @ 825604C
+BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor: @ 825604C
walk_up
walk_up
set_invisible
step_end
-BattleFrontier_BattleArenaLobby_EventScript_256050:: @ 8256050
- applymovement 1, BattleFrontier_BattleArenaLobby_Movement_25607F
- applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_256088
+BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen:: @ 8256050
+ applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor
+ applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor
waitmovement 0
opendoor 11, 2
waitdooranim
- applymovement 1, BattleFrontier_BattleArenaLobby_Movement_25603E
- applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_25604C
+ applymovement 1, BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor
+ applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor
waitmovement 0
closedoor 11, 2
waitdooranim
return
-BattleFrontier_BattleArenaLobby_Movement_25607F: @ 825607F
+BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor: @ 825607F
walk_up
walk_up
walk_up
@@ -298,7 +278,7 @@ BattleFrontier_BattleArenaLobby_Movement_25607F: @ 825607F
walk_up
step_end
-BattleFrontier_BattleArenaLobby_Movement_256088: @ 8256088
+BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor: @ 8256088
walk_up
walk_up
walk_up
@@ -310,7 +290,7 @@ BattleFrontier_BattleArenaLobby_Movement_256088: @ 8256088
walk_in_place_fastest_up
step_end
-BattleFrontier_BattleArenaLobby_EventScript_256092:: @ 8256092
+BattleFrontier_BattleArenaLobby_EventScript_ShowResults:: @ 8256092
lockall
frontier_results FRONTIER_FACILITY_ARENA
waitbuttonpress
@@ -318,80 +298,80 @@ BattleFrontier_BattleArenaLobby_EventScript_256092:: @ 8256092
releaseall
end
-BattleFrontier_BattleArenaLobby_EventScript_2560A6:: @ 82560A6
- msgbox BattleFrontier_BattleArenaLobby_Text_256B5C, MSGBOX_NPC
+BattleFrontier_BattleArenaLobby_EventScript_Youngster:: @ 82560A6
+ msgbox BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack, MSGBOX_NPC
end
-BattleFrontier_BattleArenaLobby_EventScript_2560AF:: @ 82560AF
- msgbox BattleFrontier_BattleArenaLobby_Text_256BCB, MSGBOX_NPC
+BattleFrontier_BattleArenaLobby_EventScript_Man:: @ 82560AF
+ msgbox BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked, MSGBOX_NPC
end
-BattleFrontier_BattleArenaLobby_EventScript_2560B8:: @ 82560B8
- msgbox BattleFrontier_BattleArenaLobby_Text_256C19, MSGBOX_NPC
+BattleFrontier_BattleArenaLobby_EventScript_Camper:: @ 82560B8
+ msgbox BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw, MSGBOX_NPC
end
-BattleFrontier_BattleArenaLobby_EventScript_2560C1:: @ 82560C1
- msgbox BattleFrontier_BattleArenaLobby_Text_256C9A, MSGBOX_NPC
+BattleFrontier_BattleArenaLobby_EventScript_Woman:: @ 82560C1
+ msgbox BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant, MSGBOX_NPC
end
-BattleFrontier_BattleArenaLobby_EventScript_2560CA:: @ 82560CA
+BattleFrontier_BattleArenaLobby_EventScript_RulesBoard:: @ 82560CA
lockall
- msgbox BattleFrontier_BattleArenaLobby_Text_256DB8, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_2560D9
+ msgbox BattleFrontier_BattleArenaLobby_Text_RulesAreListed, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
-BattleFrontier_BattleArenaLobby_EventScript_2560D9:: @ 82560D9
- message BattleFrontier_BattleArenaLobby_Text_256DDF
+BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard:: @ 82560D9
+ message BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading
waitmessage
multichoice 17, 2, MULTI_BATTLE_ARENA_RULES, 0
switch VAR_RESULT
- case 0, BattleFrontier_BattleArenaLobby_EventScript_25612C
- case 1, BattleFrontier_BattleArenaLobby_EventScript_25613A
- case 2, BattleFrontier_BattleArenaLobby_EventScript_256148
- case 3, BattleFrontier_BattleArenaLobby_EventScript_256156
- case 4, BattleFrontier_BattleArenaLobby_EventScript_256164
- case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_256164
+ 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
end
-BattleFrontier_BattleArenaLobby_EventScript_25612C:: @ 825612C
- msgbox BattleFrontier_BattleArenaLobby_Text_256E02, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_2560D9
+BattleFrontier_BattleArenaLobby_EventScript_BattleRules:: @ 825612C
+ msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
-BattleFrontier_BattleArenaLobby_EventScript_25613A:: @ 825613A
- msgbox BattleFrontier_BattleArenaLobby_Text_256F43, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_2560D9
+BattleFrontier_BattleArenaLobby_EventScript_MindRules:: @ 825613A
+ msgbox BattleFrontier_BattleArenaLobby_Text_ExplainMindRules, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
-BattleFrontier_BattleArenaLobby_EventScript_256148:: @ 8256148
- msgbox BattleFrontier_BattleArenaLobby_Text_256FF2, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_2560D9
+BattleFrontier_BattleArenaLobby_EventScript_SkillRules:: @ 8256148
+ msgbox BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
-BattleFrontier_BattleArenaLobby_EventScript_256156:: @ 8256156
- msgbox BattleFrontier_BattleArenaLobby_Text_257202, MSGBOX_DEFAULT
- goto BattleFrontier_BattleArenaLobby_EventScript_2560D9
+BattleFrontier_BattleArenaLobby_EventScript_BodyRules:: @ 8256156
+ msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules, MSGBOX_DEFAULT
+ goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
-BattleFrontier_BattleArenaLobby_EventScript_256164:: @ 8256164
+BattleFrontier_BattleArenaLobby_EventScript_ExitRules:: @ 8256164
releaseall
end
-BattleFrontier_BattleArenaLobby_Text_256166: @ 8256166
+BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena: @ 8256166
.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!$"
-BattleFrontier_BattleArenaLobby_Text_2561EA: @ 82561EA
+BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge: @ 82561EA
.string "Now, do you wish to take\n"
.string "the BATTLE ARENA challenge?$"
-BattleFrontier_BattleArenaLobby_Text_25621F: @ 825621F
+BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge: @ 825621F
.string "We await your challenge on\n"
.string "another occasion!$"
-BattleFrontier_BattleArenaLobby_Text_25624C: @ 825624C
+BattleFrontier_BattleArenaLobby_Text_ExplainChallenge: @ 825624C
.string "In the BATTLE ARENA, we undertake\n"
.string "the Set KO Tourney.\p"
.string "All participants enter with a team of\n"
@@ -412,20 +392,20 @@ BattleFrontier_BattleArenaLobby_Text_25624C: @ 825624C
.string "seven TRAINERS in succession,\l"
.string "we will present you with Battle Points.$"
-BattleFrontier_BattleArenaLobby_Text_2564CE: @ 82564CE
+BattleFrontier_BattleArenaLobby_Text_OkayToSave: @ 82564CE
.string "Before showing you to the BATTLE\n"
.string "ARENA, you must save. Is that okay?$"
-BattleFrontier_BattleArenaLobby_Text_256513: @ 8256513
+BattleFrontier_BattleArenaLobby_Text_WhichLevelMode: @ 8256513
.string "The BATTLE ARENA offers two levels\n"
.string "of challenge, Level 50 and Open Level.\l"
.string "Which is your choice?$"
-BattleFrontier_BattleArenaLobby_Text_256573: @ 8256573
+BattleFrontier_BattleArenaLobby_Text_SelectThreeMons: @ 8256573
.string "Very well, now select your\n"
.string "three POKéMON, please.$"
-BattleFrontier_BattleArenaLobby_Text_2565A5: @ 82565A5
+BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen: @ 82565A5
.string "My dear challenger!\p"
.string "You do not have the three POKéMON\n"
.string "required for entry.\p"
@@ -437,7 +417,7 @@ BattleFrontier_BattleArenaLobby_Text_2565A5: @ 82565A5
.string "When you have made your preparations,\n"
.string "please do return.$"
-BattleFrontier_BattleArenaLobby_Text_2566A8: @ 82566A8
+BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50: @ 82566A8
.string "My dear challenger!\p"
.string "You do not have the three POKéMON\n"
.string "required for entry.\p"
@@ -451,11 +431,11 @@ BattleFrontier_BattleArenaLobby_Text_2566A8: @ 82566A8
.string "When you have made your preparations,\n"
.string "please do return.$"
-BattleFrontier_BattleArenaLobby_Text_2567E6: @ 82567E6
+BattleFrontier_BattleArenaLobby_Text_GuideYouToArena: @ 82567E6
.string "I shall now guide you to\n"
.string "the BATTLE ARENA.$"
-BattleFrontier_BattleArenaLobby_Text_256811: @ 8256811
+BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown: @ 8256811
.string "My dear challenger!\p"
.string "You did not save the game before\n"
.string "shutting down, did you?\p"
@@ -465,64 +445,67 @@ BattleFrontier_BattleArenaLobby_Text_256811: @ 8256811
.string "You may, of course, start with a fresh\n"
.string "challenge.$"
-BattleFrontier_BattleArenaLobby_Text_2568E7: @ 82568E7
+BattleFrontier_BattleArenaLobby_Text_CongratsOnSevenWins: @ 82568E7
.string "We congratulate you for your splendid\n"
.string "string of wins over seven TRAINERS!$"
-BattleFrontier_BattleArenaLobby_Text_256931: @ 8256931
+BattleFrontier_BattleArenaLobby_Text_RecordAchievement: @ 8256931
.string "Your achievement will be recorded.\n"
.string "Please wait while I save the game.$"
-BattleFrontier_BattleArenaLobby_Text_256977: @ 8256977
+@ Unused
+BattleFrontier_BattleArenaLobby_Text_PresentYouWithPrize: @ 8256977
.string "In commemoration of your 7-win streak,\n"
.string "we present you with this prize.$"
-BattleFrontier_BattleArenaLobby_Text_2569BE: @ 82569BE
+@ Unused
+BattleFrontier_BattleArenaLobby_Text_ReceivedPrize: @ 82569BE
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
-BattleFrontier_BattleArenaLobby_Text_2569D8: @ 82569D8
+@ Unused
+BattleFrontier_BattleArenaLobby_Text_BagFullReturnForPrize: @ 82569D8
.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.$"
-BattleFrontier_BattleArenaLobby_Text_256A2C: @ 8256A2C
+BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave: @ 8256A2C
.string "Thank you so much for participating!\p"
.string "Please wait while I save the game.$"
-BattleFrontier_BattleArenaLobby_Text_256A74: @ 8256A74
+BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2: @ 8256A74
.string "We await your challenge on\n"
.string "another occasion!$"
-BattleFrontier_BattleArenaLobby_Text_256AA1: @ 8256AA1
+BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame: @ 8256AA1
.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.$"
-BattleFrontier_BattleArenaLobby_Text_256B19: @ 8256B19
+BattleFrontier_BattleArenaLobby_Text_RecordLastMatch: @ 8256B19
.string "Shall I record your last BATTLE ARENA\n"
.string "match on your FRONTIER PASS?$"
-BattleFrontier_BattleArenaLobby_Text_256B5C: @ 8256B5C
+BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack: @ 8256B5C
.string "I lost on the REFEREE's decision…\p"
.string "I don't think it was a good idea to only\n"
.string "use defensive moves and not attack…$"
-BattleFrontier_BattleArenaLobby_Text_256BCB: @ 8256BCB
+BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked: @ 8256BCB
.string "I won in judging!\p"
.string "Landing hits consistently on\n"
.string "the opponent's POKéMON worked!$"
-BattleFrontier_BattleArenaLobby_Text_256C19: @ 8256C19
+BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw: @ 8256C19
.string "Our match was declared a draw.\p"
.string "When we ran out of time, both my\n"
.string "POKéMON and the opponent's had about\l"
.string "the same amount of HP left.$"
-BattleFrontier_BattleArenaLobby_Text_256C9A: @ 8256C9A
+BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant: @ 8256C9A
.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"
@@ -533,16 +516,13 @@ BattleFrontier_BattleArenaLobby_Text_256C9A: @ 8256C9A
.string "I think that will be a good way of\n"
.string "making an effective team.$"
-BattleFrontier_BattleArenaLobby_Text_256DB8: @ 8256DB8
-FallarborTown_BattleTentLobby_Text_256DB8: @ 8256DB8
+BattleFrontier_BattleArenaLobby_Text_RulesAreListed: @ 8256DB8
.string "The Set KO Tourney's rules are listed.$"
-BattleFrontier_BattleArenaLobby_Text_256DDF: @ 8256DDF
-FallarborTown_BattleTentLobby_Text_256DDF: @ 8256DDF
+BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading: @ 8256DDF
.string "Which heading do you want to read?$"
-BattleFrontier_BattleArenaLobby_Text_256E02: @ 8256E02
-FallarborTown_BattleTentLobby_Text_256E02: @ 8256E02
+BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules: @ 8256E02
.string "The Set KO Tourney has special rules,\n"
.string "unlike standard battles.\p"
.string "First, one battle lasts only\n"
@@ -554,8 +534,7 @@ FallarborTown_BattleTentLobby_Text_256E02: @ 8256E02
.string "Also, a POKéMON cannot be switched out\n"
.string "until its battle's outcome is decided.$"
-BattleFrontier_BattleArenaLobby_Text_256F43: @ 8256F43
-FallarborTown_BattleTentLobby_Text_256F43: @ 8256F43
+BattleFrontier_BattleArenaLobby_Text_ExplainMindRules: @ 8256F43
.string "The first judging factor is “Mind.”\n"
.string "This factor evaluates how aggressive\l"
.string "the battlers were.\p"
@@ -563,8 +542,7 @@ FallarborTown_BattleTentLobby_Text_256F43: @ 8256F43
.string "the TRAINERS ordered the use of\l"
.string "offensive moves.$"
-BattleFrontier_BattleArenaLobby_Text_256FF2: @ 8256FF2
-FallarborTown_BattleTentLobby_Text_256FF2: @ 8256FF2
+BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules: @ 8256FF2
.string "The second judging factor is “Skill.”\n"
.string "This factor evaluates how effectively\l"
.string "POKéMON moves were used.\p"
@@ -583,8 +561,7 @@ FallarborTown_BattleTentLobby_Text_256FF2: @ 8256FF2
.string "hit with a move, its Skill rating will not\l"
.string "go down.$"
-BattleFrontier_BattleArenaLobby_Text_257202: @ 8257202
-FallarborTown_BattleTentLobby_Text_257202: @ 8257202
+BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules: @ 8257202
.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"
@@ -592,13 +569,13 @@ FallarborTown_BattleTentLobby_Text_257202: @ 8257202
.string "HP a POKéMON had at the start of\l"
.string "battle, and what remained at the end.$"
-BattleFrontier_BattleArenaLobby_Text_2572D9: @ 82572D9
+BattleFrontier_BattleArenaLobby_Text_CongratsOnDefeatingTycoon: @ 82572D9
.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!$"
-BattleFrontier_BattleArenaLobby_Text_257353: @ 8257353
+BattleFrontier_BattleArenaLobby_Text_PleaseAcceptBattlePoints: @ 8257353
.string "My dear challenger, in recognition of\n"
.string "your indefatigable spirit, please\l"
.string "accept these Battle Point(s).$"