pokeemerald/data/maps/BattleFrontier_BattleDomeLobby/scripts.inc

776 lines
26 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_MapScripts:: @ 82497E2
2019-02-22 08:28:32 +01:00
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeLobby_MapScript1_2497F2
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeLobby_MapScript2_24980F
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomeLobby_MapScript2_2497FB
2017-11-10 02:21:31 +01:00
.byte 0
BattleFrontier_BattleDomeLobby_MapScript1_2497F2: @ 82497F2
setvar VAR_0x8004, 21
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_MapScript2_2497FB: @ 82497FB
BattleFrontier_BattlePyramidLobby_MapScript2_2497FB: @ 82497FB
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomeLobby_EventScript_249805
2017-11-10 02:21:31 +01:00
.2byte 0
BattleFrontier_BattleDomeLobby_EventScript_249805:: @ 8249805
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2019-09-16 05:47:07 +02:00
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_MapScript2_24980F: @ 824980F
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeLobby_EventScript_249839
map_script_2 VAR_TEMP_0, 1, BattleFrontier_BattleDomeLobby_EventScript_249842
map_script_2 VAR_TEMP_0, 2, BattleFrontier_BattleDomeLobby_EventScript_2499F9
map_script_2 VAR_TEMP_0, 3, BattleFrontier_BattleDomeLobby_EventScript_24989B
map_script_2 VAR_TEMP_0, 4, BattleFrontier_BattleDomeLobby_EventScript_249940
2017-11-10 02:21:31 +01:00
.2byte 0
BattleFrontier_BattleDomeLobby_EventScript_249839:: @ 8249839
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_EventScript_249842:: @ 8249842
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_24A45F, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 255
2017-11-10 02:21:31 +01:00
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
call BattleFrontier_BattleDomeLobby_EventScript_241EBA
lockall
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2019-11-10 02:40:25 +01:00
compare VAR_RESULT, TRUE
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
BattleFrontier_BattleDomeLobby_EventScript_2498C1:: @ 82498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24AD67, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_2498C9:: @ 82498C9
msgbox BattleFrontier_BattleDomeLobby_Text_24ADB1, MSGBOX_DEFAULT
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
msgbox BattleFrontier_BattleDomeLobby_Text_241520, 9
message BattleFrontier_BattleDomeLobby_Text_24A5D6
waitmessage
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
setvar VAR_0x8006, 1
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2017-12-16 00:08:23 +01:00
special HealPlayerParty
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249991
BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_24A5BF, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
message BattleFrontier_BattleDomeLobby_Text_24A5D6
waitmessage
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2017-12-16 00:08:23 +01:00
special HealPlayerParty
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249991:: @ 8249991
setvar VAR_0x8004, 13
setvar VAR_0x8005, 0
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
playse SE_SAVE
waitse
call BattleFrontier_BattleDomeLobby_EventScript_23E8E0
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2499E9
2017-11-10 02:21:31 +01:00
message BattleFrontier_BattleDomeLobby_Text_24AE17
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
case 1, BattleFrontier_BattleDomeLobby_EventScript_2499E9
case 0, BattleFrontier_BattleDomeLobby_EventScript_2499E4
2019-09-19 06:56:51 +02:00
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_2499E9
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_2499E4:: @ 82499E4
call BattleFrontier_BattleDomeLobby_EventScript_23E8B4
BattleFrontier_BattleDomeLobby_EventScript_2499E9:: @ 82499E9
msgbox BattleFrontier_BattleDomeLobby_Text_249F74, 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
BattleFrontier_BattleDomeLobby_EventScript_2499F9:: @ 82499F9
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_24A5FE, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
message BattleFrontier_BattleDomeLobby_Text_24A61A
waitmessage
setvar VAR_0x8004, 13
setvar VAR_0x8005, 1
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
playse SE_SAVE
waitse
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 255
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249BC2
BattleFrontier_BattleDomeLobby_EventScript_249A35:: @ 8249A35
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, 1
2018-08-25 19:59:47 +02:00
setvar VAR_FRONTIER_BATTLE_MODE, 0
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249A59
end
BattleFrontier_BattleDomeLobby_EventScript_249A47:: @ 8249A47
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, 1
2018-08-25 19:59:47 +02:00
setvar VAR_FRONTIER_BATTLE_MODE, 1
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249A59
end
BattleFrontier_BattleDomeLobby_EventScript_249A59:: @ 8249A59
2018-04-29 14:21:59 +02:00
special SavePlayerParty
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CFD
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D06
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249A72:: @ 8249A72
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D0F
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D15
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
case 0, BattleFrontier_BattleDomeLobby_EventScript_249ABF
case 1, BattleFrontier_BattleDomeLobby_EventScript_249BFA
case 2, BattleFrontier_BattleDomeLobby_EventScript_249C64
2019-09-19 06:56:51 +02:00
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C64
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
message BattleFrontier_BattleDomeLobby_Text_24A210
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
case 2, BattleFrontier_BattleDomeLobby_EventScript_249C64
2019-09-19 06:56:51 +02:00
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C64
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
compare VAR_0x8004, 1
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleDomeLobby_Text_24A26E, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
fadescreen 1
call BattleFrontier_BattleDomeLobby_EventScript_23F2B7
copyvar VAR_0x8004, VAR_RESULT
setvar VAR_0x8005, 3
special sub_80F9490
waitstate
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-02 17:34:53 +01:00
case NO, BattleFrontier_BattleDomeLobby_EventScript_249C61
case YES, BattleFrontier_BattleDomeLobby_EventScript_249B60
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C61
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 0
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 4
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 0
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
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
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 22
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
2018-04-29 14:21:59 +02:00
special SavePlayerParty
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 15
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
msgbox BattleFrontier_BattleDomeLobby_Text_24A437, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
call BattleFrontier_BattleDomeLobby_EventScript_249C6E
2017-12-16 00:08:23 +01:00
special HealPlayerParty
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR, 255, 23, 6
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 0
2017-11-10 02:21:31 +01:00
waitstate
end
BattleFrontier_BattleDomeLobby_EventScript_249BFA:: @ 8249BFA
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D1B
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D24
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249A72
BattleFrontier_BattleDomeLobby_EventScript_249C15:: @ 8249C15
switch VAR_RESULT
case 0, BattleFrontier_BattleDomeLobby_EventScript_249C30
case 1, BattleFrontier_BattleDomeLobby_EventScript_249C3D
BattleFrontier_BattleDomeLobby_EventScript_249C30:: @ 8249C30
msgbox BattleFrontier_BattleDomeLobby_Text_24A353, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249C6C
BattleFrontier_BattleDomeLobby_EventScript_249C3D:: @ 8249C3D
msgbox BattleFrontier_BattleDomeLobby_Text_24A2AB, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249C6C
BattleFrontier_BattleDomeLobby_EventScript_249C4A:: @ 8249C4A
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249C64
BattleFrontier_BattleDomeLobby_EventScript_249C61:: @ 8249C61
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249C64:: @ 8249C64
msgbox BattleFrontier_BattleDomeLobby_Text_249F74, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249C6C:: @ 8249C6C
release
end
BattleFrontier_BattleDomeLobby_EventScript_249C6E:: @ 8249C6E
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CDD
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CE5
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D45
2017-11-10 02:21:31 +01:00
waitmovement 0
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D2D
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D33
2017-11-10 02:21:31 +01:00
waitdooranim
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CED
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249CF5
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_249D4E
2017-11-10 02:21:31 +01:00
waitmovement 0
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D39
2018-08-25 19:59:47 +02:00
compare VAR_FRONTIER_BATTLE_MODE, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249D3F
2017-11-10 02:21:31 +01:00
waitdooranim
return
BattleFrontier_BattleDomeLobby_EventScript_249CDD:: @ 8249CDD
applymovement 1, BattleFrontier_BattleDomeLobby_Movement_249D45
return
BattleFrontier_BattleDomeLobby_EventScript_249CE5:: @ 8249CE5
applymovement 6, BattleFrontier_BattleDomeLobby_Movement_249D45
return
BattleFrontier_BattleDomeLobby_EventScript_249CED:: @ 8249CED
applymovement 1, BattleFrontier_BattleDomeLobby_Movement_249D4B
return
BattleFrontier_BattleDomeLobby_EventScript_249CF5:: @ 8249CF5
applymovement 6, BattleFrontier_BattleDomeLobby_Movement_249D4B
return
BattleFrontier_BattleDomeLobby_EventScript_249CFD:: @ 8249CFD
msgbox BattleFrontier_BattleDomeLobby_Text_249EB7, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249D06:: @ 8249D06
msgbox BattleFrontier_BattleDomeLobby_Text_24A664, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249D0F:: @ 8249D0F
message BattleFrontier_BattleDomeLobby_Text_249F3A
return
BattleFrontier_BattleDomeLobby_EventScript_249D15:: @ 8249D15
message BattleFrontier_BattleDomeLobby_Text_24A6E7
return
BattleFrontier_BattleDomeLobby_EventScript_249D1B:: @ 8249D1B
msgbox BattleFrontier_BattleDomeLobby_Text_249F8E, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249D24:: @ 8249D24
msgbox BattleFrontier_BattleDomeLobby_Text_24A721, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249D2D:: @ 8249D2D
opendoor 5, 4
return
BattleFrontier_BattleDomeLobby_EventScript_249D33:: @ 8249D33
opendoor 17, 4
return
BattleFrontier_BattleDomeLobby_EventScript_249D39:: @ 8249D39
closedoor 5, 4
return
BattleFrontier_BattleDomeLobby_EventScript_249D3F:: @ 8249D3F
closedoor 17, 4
return
BattleFrontier_BattleDomeLobby_Movement_249D45: @ 8249D45
walk_up
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattleDomeLobby_Movement_249D4B: @ 8249D4B
walk_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattleDomeLobby_Movement_249D4E: @ 8249D4E
walk_up
walk_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattleDomeLobby_EventScript_249D52:: @ 8249D52
lockall
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
waitbuttonpress
special RemoveRecordsWindow
2017-11-10 02:21:31 +01:00
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_249D6B:: @ 8249D6B
lockall
2019-11-10 02:40:25 +01:00
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
2017-11-10 02:21:31 +01:00
waitbuttonpress
special RemoveRecordsWindow
2017-11-10 02:21:31 +01:00
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_249D84:: @ 8249D84
setvar VAR_0x8004, 1
setvar VAR_0x8005, 9
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
compare VAR_RESULT, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DC9
compare VAR_RESULT, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DD2
compare VAR_RESULT, 2
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DDB
compare VAR_RESULT, 3
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DE4
2017-11-10 02:21:31 +01:00
fadescreen 1
setvar VAR_0x8004, 8
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
2017-11-10 02:21:31 +01:00
waitstate
end
BattleFrontier_BattleDomeLobby_EventScript_249DC9:: @ 8249DC9
msgbox BattleFrontier_BattleDomeLobby_Text_24A966, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249DD2:: @ 8249DD2
msgbox BattleFrontier_BattleDomeLobby_Text_24A9A9, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249DDB:: @ 8249DDB
msgbox BattleFrontier_BattleDomeLobby_Text_24A9EC, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249DE4:: @ 8249DE4
msgbox BattleFrontier_BattleDomeLobby_Text_24AA31, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattleDomeLobby_EventScript_249DED:: @ 8249DED
setvar VAR_0x8004, 20
2018-08-25 19:59:47 +02:00
special CallBattleDomeFunction
msgbox BattleFrontier_BattleDomeLobby_Text_24AA76, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_EventScript_249DFE:: @ 8249DFE
msgbox BattleFrontier_BattleDomeLobby_Text_24AB94, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_EventScript_249E07:: @ 8249E07
msgbox BattleFrontier_BattleDomeLobby_Text_24AC76, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_EventScript_249E10:: @ 8249E10
msgbox BattleFrontier_BattleDomeLobby_Text_24ACD3, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideWest_EventScript_249E19:: @ 8249E19
msgbox BattleFrontier_OutsideWest_Text_24AB06, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2017-11-10 00:40:08 +01:00
BattleFrontier_OutsideWest_EventScript_249E22:: @ 8249E22
msgbox BattleFrontier_OutsideWest_Text_24AB44, MSGBOX_NPC
2017-11-10 00:40:08 +01:00
end
BattleFrontier_OutsideWest_EventScript_249E2B:: @ 8249E2B
msgbox BattleFrontier_OutsideWest_Text_24AB75, MSGBOX_NPC
2017-11-10 00:40:08 +01:00
end
2017-11-10 02:21:31 +01:00
BattleFrontier_BattleDomeLobby_EventScript_249E34:: @ 8249E34
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_24AE63, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
end
BattleFrontier_BattleDomeLobby_EventScript_249E43:: @ 8249E43
message BattleFrontier_BattleDomeLobby_Text_24AE8B
waitmessage
2019-09-19 06:56:51 +02:00
multichoice 17, 4, MULTI_BATTLE_DOME_RULES, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
case 0, BattleFrontier_BattleDomeLobby_EventScript_249E8B
case 1, BattleFrontier_BattleDomeLobby_EventScript_249E99
case 2, BattleFrontier_BattleDomeLobby_EventScript_249EA7
case 3, BattleFrontier_BattleDomeLobby_EventScript_249EB5
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249EB5
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattleDomeLobby_EventScript_249E8B:: @ 8249E8B
msgbox BattleFrontier_BattleDomeLobby_Text_24AEAE, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
end
BattleFrontier_BattleDomeLobby_EventScript_249E99:: @ 8249E99
msgbox BattleFrontier_BattleDomeLobby_Text_24AF4C, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
end
BattleFrontier_BattleDomeLobby_EventScript_249EA7:: @ 8249EA7
msgbox BattleFrontier_BattleDomeLobby_Text_24B073, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto BattleFrontier_BattleDomeLobby_EventScript_249E43
end
BattleFrontier_BattleDomeLobby_EventScript_249EB5:: @ 8249EB5
releaseall
end
BattleFrontier_BattleDomeLobby_Text_249EB7: @ 8249EB7
.string "Where the strategies of TRAINERS\n"
.string "are put to the test!\p"
.string "Welcome to the BATTLE DOME!\p"
.string "I am your guide to the SINGLE BATTLE\n"
.string "Tournament.$"
BattleFrontier_BattleDomeLobby_Text_249F3A: @ 8249F3A
.string "Would you like to challenge\n"
.string "the SINGLE BATTLE Tournament?$"
BattleFrontier_BattleDomeLobby_Text_249F74: @ 8249F74
.string "We hope to see you again.$"
BattleFrontier_BattleDomeLobby_Text_249F8E: @ 8249F8E
.string "The SINGLE BATTLE Tournament\n"
.string "is exactly as the name suggests--\l"
.string "a tournament of SINGLE BATTLES.\p"
.string "All participating TRAINERS must\n"
.string "enter three POKéMON each.\p"
.string "In each battle, one of the three\n"
.string "POKéMON must be held in reserve.\p"
.string "The other two POKéMON can battle\n"
.string "one at a time.\p"
.string "Choose the two battling POKéMON after\n"
2018-12-07 16:41:08 +01:00
.string "examining the opponent's trio.\p"
2017-11-10 02:21:31 +01:00
.string "You win the tournament by defeating\n"
.string "four TRAINERS.\p"
.string "Battle Points are awarded to\n"
.string "the tournament winner.\p"
.string "If you want to interrupt your\n"
.string "tournament, please save the game.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't save before interrupting,\n"
2017-11-10 02:21:31 +01:00
.string "you will be disqualified.$"
BattleFrontier_BattleDomeLobby_Text_24A1C6: @ 824A1C6
.string "Before I show you to the BATTLE DOME,\n"
.string "I must save the data. Is that okay?$"
BattleFrontier_BattleDomeLobby_Text_24A210: @ 824A210
.string "The tournament offers two levels\n"
.string "of challenge, Level 50 and Open Level.\l"
.string "Which is your choice?$"
BattleFrontier_BattleDomeLobby_Text_24A26E: @ 824A26E
.string "Now select the three POKéMON that\n"
.string "you wish to enter, please.$"
BattleFrontier_BattleDomeLobby_Text_24A2AB: @ 824A2AB
.string "Excuse me!\p"
2018-12-07 16:41:08 +01:00
.string "You don't have three eligible POKéMON.\p"
2017-11-10 02:21:31 +01:00
.string "Also, the POKéMON must be holding\n"
.string "different kinds of items.\p"
.string "EGGS{STR_VAR_1} ineligible.\p"
.string "Please come see me when you are ready.$"
BattleFrontier_BattleDomeLobby_Text_24A353: @ 824A353
.string "Excuse me!\p"
2018-12-07 16:41:08 +01:00
.string "You don't have three eligible POKéMON.\p"
2017-11-10 02:21:31 +01:00
.string "You must have three different POKéMON\n"
.string "of Level 50 or less to enter.\p"
.string "They also must be holding different\n"
.string "kinds of items.\p"
.string "EGGS{STR_VAR_1} ineligible.\p"
.string "Please come see me when you are ready.$"
BattleFrontier_BattleDomeLobby_Text_24A437: @ 824A437
.string "I will now show you to\n"
.string "the BATTLE DOME.$"
BattleFrontier_BattleDomeLobby_Text_24A45F: @ 824A45F
.string "Excuse me!\p"
2018-12-07 16:41:08 +01:00
.string "You didn't save before you quit your\n"
2017-11-10 02:21:31 +01:00
.string "challenge last time.\p"
.string "Because of that, your challenge so far\n"
.string "has been disqualified. Sorry!$"
BattleFrontier_BattleDomeLobby_Text_24A4E9: @ 824A4E9
.string "Congratulations for winning\n"
.string "your Battle Tournament!$"
2017-11-10 00:40:08 +01:00
BattleFrontier_BattleDomeLobby_Text_24A51D: @ 824A51D
.string "Here is your prize for your Battle\n"
.string "Tournament victory.$"
2017-11-10 02:21:31 +01:00
VerdanturfTown_BattleTentLobby_Text_24A554: @ 824A554
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
2017-11-10 09:24:21 +01:00
VerdanturfTown_BattleTentLobby_Text_24A56E: @ 824A56E
.string "Oh, your BAG appears to be full.\p"
.string "Please make room in your BAG, then come\n"
.string "see me.$"
BattleFrontier_BattleDomeLobby_Text_24A5BF: @ 824A5BF
.string "Thank you for playing!$"
BattleFrontier_BattleDomeLobby_Text_24A5D6: @ 824A5D6
.string "Your record will be saved.\n"
.string "Please wait.$"
BattleFrontier_BattleDomeLobby_Text_24A5FE: @ 824A5FE
2018-12-07 16:41:08 +01:00
.string "We've been waiting for you!$"
BattleFrontier_BattleDomeLobby_Text_24A61A: @ 824A61A
.string "Before I show you to the BATTLE DOME,\n"
.string "I must save the data. Is that okay?$"
BattleFrontier_BattleDomeLobby_Text_24A664: @ 824A664
.string "Where the strategies of TRAINERS\n"
.string "are put to the test!\p"
.string "Welcome to the BATTLE DOME!\p"
.string "I am your guide to the DOUBLE BATTLE\n"
.string "Tournament.$"
BattleFrontier_BattleDomeLobby_Text_24A6E7: @ 824A6E7
.string "Would you like to challenge\n"
.string "the DOUBLE BATTLE Tournament?$"
BattleFrontier_BattleDomeLobby_Text_24A721: @ 824A721
.string "The DOUBLE BATTLE Tournament\n"
.string "is exactly as the name suggests--\l"
.string "a tournament of DOUBLE BATTLES.\p"
.string "All participating TRAINERS must\n"
.string "enter three POKéMON each.\p"
.string "In each battle, one of the three\n"
.string "POKéMON must be held in reserve.\p"
.string "The remaining two POKéMON must take\n"
.string "part in a DOUBLE BATTLE.\p"
.string "Choose the two battling POKéMON after\n"
2018-12-07 16:41:08 +01:00
.string "examining the opponent's trio.\p"
.string "You win the tournament by defeating\n"
.string "four TRAINERS.\p"
.string "Battle Points are awarded to\n"
.string "the tournament winner.\p"
.string "If you want to interrupt your\n"
.string "tournament, please save the game.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattleDomeLobby_Text_24A966: @ 824A966
2018-12-07 16:41:08 +01:00
.string "They're the results of the last\n"
.string "Level 50 SINGLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_24A9A9: @ 824A9A9
2018-12-07 16:41:08 +01:00
.string "They're the results of the last\n"
.string "Level 50 DOUBLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_24A9EC: @ 824A9EC
2018-12-07 16:41:08 +01:00
.string "They're the results of the last\n"
.string "Open Level SINGLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_24AA31: @ 824AA31
2018-12-07 16:41:08 +01:00
.string "They're the results of the last\n"
.string "Open Level DOUBLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_24AA76: @ 824AA76
.string "Did you see it?\n"
.string "The last Battle Tournament?\p"
.string "The winner, {STR_VAR_1}, was seriously\n"
.string "tough.\p"
.string "You should check out the results\n"
.string "on the monitor beside the PC.$"
BattleFrontier_OutsideWest_Text_24AB06: @ 824AB06
.string "The BATTLE FRONTIER…\n"
2018-12-07 16:41:08 +01:00
.string "I've long dreamed about a place like it.$"
BattleFrontier_OutsideWest_Text_24AB44: @ 824AB44
.string "The BATTLE DOME\n"
.string "Become the Unbeatable Superstar!$"
BattleFrontier_OutsideWest_Text_24AB75: @ 824AB75
.string "The ??????\n"
.string "Under Construction!$"
BattleFrontier_BattleDomeLobby_Text_24AB94: @ 824AB94
.string "When a TRAINER chains tournament\n"
.string "wins at the BATTLE DOME, he or she\l"
.string "gains a reputation as a star.\p"
.string "Tough TRAINERS are drawn by that\n"
.string "reputation to the BATTLE DOME.\p"
.string "A true superstar is a TRAINER who\n"
.string "can keep winning tournaments.$"
BattleFrontier_BattleDomeLobby_Text_24AC76: @ 824AC76
.string "I ran into one of the tournament\n"
.string "favorites in the very first round.\p"
.string "Of course I got trashed…$"
BattleFrontier_BattleDomeLobby_Text_24ACD3: @ 824ACD3
2018-12-07 16:41:08 +01:00
.string "I would've won if I'd kept this POKéMON\n"
.string "held in reserve.\p"
2018-12-07 16:41:08 +01:00
.string "You need to check your opponent's\n"
.string "POKéMON carefully before choosing\l"
.string "your battling POKéMON.$"
BattleFrontier_BattleDomeLobby_Text_24AD67: @ 824AD67
.string "Congratulations!\p"
.string "You defeated the DOME ACE and won\n"
.string "the Battle Tournament!$"
BattleFrontier_BattleDomeLobby_Text_24ADB1: @ 824ADB1
.string "In recognition of your strategy--\n"
.string "a thing of beauty it was, too--\l"
.string "we award you these Battle Point(s)!$"
BattleFrontier_BattleDomeLobby_Text_24AE17: @ 824AE17
.string "Would you like to record your\n"
.string "last BATTLE DOME match on your\l"
.string "FRONTIER PASS?$"
BattleFrontier_BattleDomeLobby_Text_24AE63: @ 824AE63
.string "The Battle Tournament rules\n"
.string "are listed.$"
BattleFrontier_BattleDomeLobby_Text_24AE8B: @ 824AE8B
.string "Which heading do you want to read?$"
BattleFrontier_BattleDomeLobby_Text_24AEAE: @ 824AEAE
.string "The tournament matchups are drawn up\n"
.string "based on the toughness of POKéMON\l"
.string "held by TRAINERS.\p"
.string "The matchups avoid having tough\n"
.string "TRAINERS face each other right away.$"
BattleFrontier_BattleDomeLobby_Text_24AF4C: @ 824AF4C
.string "The tournament chart, or as we call it,\n"
.string "the “Tree,” is available for viewing\l"
.string "in the Waiting Room from any guide.\p"
.string "The Tournament Tree will provide\n"
.string "several kinds of data.\p"
.string "The data on view includes the previous\n"
2018-12-07 16:41:08 +01:00
.string "tournament's results, the POKéMON held\l"
.string "by TRAINERS, and the battle styles of\l"
.string "TRAINERS.$"
BattleFrontier_BattleDomeLobby_Text_24B073: @ 824B073
.string "If battling POKéMON faint at the same\n"
.string "time--a double KO--in a tournament\l"
.string "match, the REFEREES will review\l"
.string "the match and declare the winner.$"