pokeemerald/data/scripts/maps/BattleFrontier_BattleDomePreBattleRoom.inc
Diegoisawesome f497c1508b Split files from event_scripts.s
Also move maps/scripts to scripts/maps
2017-11-11 16:10:17 -06:00

418 lines
14 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

BattleFrontier_BattleDomePreBattleRoom_MapScripts:: @ 824B1F9
map_script 2, BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218
map_script 4, BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B204
.byte 0
BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B204: @ 824B204
map_script_2 VAR_0x4001, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B20E
.2byte 0
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B20E:: @ 824B20E
setvar VAR_0x4001, 1
turnobject 255, 2
end
BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
map_script_2 VAR_0x4000, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222
.2byte 0
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
compare_var_to_value VAR_0x8006, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special sub_81A1780
setvar VAR_0x4000, 1
applymovement 255, BattleFrontier_BattleDomePreBattleRoom_Movement_24B652
waitmovement 0
lockall
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F:: @ 824B24F
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B4FB
waitmessage
switch VAR_RESULT
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8E0
compare_var_to_value VAR_RESULT, 1
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1
multichoice 16, 0, 73, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B30D
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349
case 5, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377
case 127, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B2C1:: @ 824B2C1
multichoice 16, 2, 107, 1
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377
case 127, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B30D:: @ 824B30D
message BattleFrontier_BattleDomePreBattleRoom_Text_24BAF7
waitmessage
multichoicedefault 20, 8, 94, 1, 0
switch VAR_RESULT
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B33F
case 127, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B33F:: @ 824B33F
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23E8B4
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349:: @ 824B349
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA69, 5
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB
case 127, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377:: @ 824B377
message BattleFrontier_BattleDomePreBattleRoom_Text_24BA93
waitmessage
multichoicedefault 20, 8, 94, 1, 0
switch VAR_RESULT
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3A9
case 127, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3A9:: @ 824B3A9
setvar VAR_0x8004, 12
setvar VAR_0x8005, 9
special sub_818E9AC
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24BE9A
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
message BattleFrontier_BattleDomePreBattleRoom_Text_24BAD3
waitmessage
setvar VAR_0x8004, 13
setvar VAR_0x8005, 2
special sub_818E9AC
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
special sub_81A1780
end
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD:: @ 824B3DD
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9B5, 4
fadescreen 1
setvar VAR_0x8004, 6
special sub_818E9AC
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5:: @ 824B3F5
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A
fadescreen 1
setvar VAR_0x8004, 7
special sub_818E9AC
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A:: @ 824B40A
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B449
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B452
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B45B
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B464
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B449:: @ 824B449
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9D9, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B452:: @ 824B452
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9FD, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B45B:: @ 824B45B
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA21, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B464:: @ 824B464
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA46, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
message BattleFrontier_BattleDomePreBattleRoom_Text_24B70C
waitmessage
waitbuttonpress
fadescreen 1
call BattleFrontier_BattleDomePreBattleRoom_EventScript_23F2B7
copyvar VAR_0x8004, VAR_RESULT
setvar VAR_0x8005, 2
special sub_80F9490
waitstate
setvar VAR_0x8004, 21
special sub_81A1780
compare_var_to_value VAR_RESULT, 0
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
setvar VAR_0x8004, 2
setvar VAR_0x8005, 8
special sub_818E9AC
setvar VAR_0x8004, 18
special sub_818E9AC
setvar VAR_0x8004, 9
special sub_818E9AC
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B748, 4
closemessage
applymovement 1, BattleFrontier_BattleDomePreBattleRoom_Movement_24B64F
waitmovement 0
applymovement 255, BattleFrontier_BattleDomePreBattleRoom_Movement_24B657
waitmovement 0
opendoor 5, 1
waitdooranim
applymovement 255, BattleFrontier_BattleDomePreBattleRoom_Movement_24B659
waitmovement 0
closedoor 5, 1
waitdooranim
warp BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM, 255, 9, 5
setvar VAR_0x4000, 0
waitstate
end
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B4FB:: @ 824B4FB
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B53A
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B540
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B546
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B53A:: @ 824B53A
message BattleFrontier_BattleDomePreBattleRoom_Text_24B65C
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B540:: @ 824B540
message BattleFrontier_BattleDomePreBattleRoom_Text_24B689
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B546:: @ 824B546
message BattleFrontier_BattleDomePreBattleRoom_Text_24B6B6
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C:: @ 824B54C
setvar VAR_0x8004, 9
special sub_81A1780
switch VAR_RESULT
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0
message BattleFrontier_BattleDomePreBattleRoom_Text_24B6E3
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B:: @ 824B58B
checkflag FLAG_0x001
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E, 4
setflag FLAG_0x001
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5A0:: @ 824B5A0
checkflag FLAG_0x001
goto_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC, 4
setflag FLAG_0x001
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5B5:: @ 824B5B5
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BC2A, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5BE:: @ 824B5BE
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BC63, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
setvar VAR_0x4000, 1
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B760, 4
special copy_player_party_from_sav1
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
special sub_81A1780
playfanfare BGM_ME_ASA
waitfanfare
special sp000_heal_pokemon
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600
fadescreen 1
setvar VAR_0x8004, 11
special sub_818E9AC
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600:: @ 824B600
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
switch VAR_RESULT
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B634
case 2, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B63D
case 3, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B646
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B634:: @ 824B634
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B7A3, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B63D:: @ 824B63D
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B7F1, 4
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B646:: @ 824B646
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B83F, 4
return
BattleFrontier_BattleDomePreBattleRoom_Movement_24B64F: @ 824B64F
step_right
step_02
step_end
BattleFrontier_BattleDomePreBattleRoom_Movement_24B652: @ 824B652
step_up
step_up
step_up
step_up
step_end
BattleFrontier_BattleDomePreBattleRoom_Movement_24B657: @ 824B657
step_up
step_end
BattleFrontier_BattleDomePreBattleRoom_Movement_24B659: @ 824B659
step_up
step_54
step_end
BattleFrontier_BattleDomePreBattleRoom_Text_24B65C: @ 824B65C
.string "Your 1st-round match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B689: @ 824B689
.string "Your 2nd-round match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B6B6: @ 824B6B6
.string "Your semifinal match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B6E3: @ 824B6E3
.string "Your final match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B70C: @ 824B70C
.string "Please choose the two POKéMON\n"
.string "that are to appear in battle.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B748: @ 824B748
.string "Right this way, please.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B760: @ 824B760
.string "Thank you for competing!\p"
.string "Ill restore your POKéMON to\n"
.string "full health.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B7A3: @ 824B7A3
.string "All 1st-round matches have been\n"
.string "completed.\p"
.string "These are the teams that advanced!$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B7F1: @ 824B7F1
.string "All 2nd-round matches have been\n"
.string "completed.\p"
.string "These are the teams that advanced!$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B83F: @ 824B83F
.string "All semifinal matches have been\n"
.string "completed.\p"
.string "These are the teams that advanced!$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B88D: @ 824B88D
.string "Congratulations for getting through\n"
.string "the 1st round.\p"
.string "The 2nd round is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B8E6: @ 824B8E6
.string "Congratulations for advancing\n"
.string "to the semifinals.\p"
.string "The best four teams meet in this round.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B94E: @ 824B94E
.string "Congratulations for advancing\n"
.string "to the final match.\p"
.string "Youre one win from the championship.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B9B5: @ 824B9B5
.string "{PLAYER}s next opponent\n"
.string "is this TRAINER.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B9D9: @ 824B9D9
.string "The tournament is in the 1st round.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24B9FD: @ 824B9FD
.string "The tournament is in the 2nd round.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BA21: @ 824BA21
.string "The tournament is in the semifinals.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BA46: @ 824BA46
.string "The tournament is up to the final.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BA69: @ 824BA69
.string "Would you like to save and\n"
.string "quit the game?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BA93: @ 824BA93
.string "Would you like to retire from your\n"
.string "Battle Tournament challenge?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BAD3: @ 824BAD3
.string "I am saving your data.\n"
.string "Please wait.$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BAF7: @ 824BAF7
.string "Should I record your last match\n"
.string "on your FRONTIER PASS?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BB2E: @ 824BB2E
.string "Congratulations for advancing\n"
.string "to the final match.\p"
.string "For the final match, you will challenge\n"
.string "the DOME ACE TUCKER.\p"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BBAC: @ 824BBAC
.string "Congratulations for advancing\n"
.string "to the final match.\p"
.string "For the final match, you will challenge\n"
.string "the DOME ACE TUCKER.\p"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BC2A: @ 824BC2A
.string "Your final battle against TUCKER is\n"
.string "next. Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_24BC63: @ 824BC63
.string "Your final battle against TUCKER is\n"
.string "next. Are you ready?$"