mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 03:57:38 +01:00
520 lines
17 KiB
PHP
520 lines
17 KiB
PHP
|
BattleFrontier_BattleTowerBattleRoom_MapScripts:: @ 8241B40
|
||
|
map_script 2, BattleFrontier_BattleTowerBattleRoom_MapScript2_241B62
|
||
|
map_script 4, BattleFrontier_BattleTowerBattleRoom_MapScript2_241B4B
|
||
|
.byte 0
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_MapScript2_241B4B: @ 8241B4B
|
||
|
map_script_2 VAR_0x4001, 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241B55
|
||
|
.2byte 0
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241B55:: @ 8241B55
|
||
|
setvar VAR_0x4001, 1
|
||
|
applymovement 3, BattleFrontier_BattleTowerBattleRoom_Movement_242198
|
||
|
end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_MapScript2_241B62: @ 8241B62
|
||
|
map_script_2 VAR_0x4000, 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C
|
||
|
.2byte 0
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
|
||
|
setvar VAR_0x4000, 1
|
||
|
applymovement 255, BattleFrontier_BattleTowerBattleRoom_Movement_242179
|
||
|
waitmovement 0
|
||
|
setvar VAR_0x8004, 1
|
||
|
setvar VAR_0x8005, 2
|
||
|
special sub_81A1780
|
||
|
compare_var_to_value VAR_RESULT, 0
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
|
||
|
waitmovement 0
|
||
|
applymovement 255, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
|
||
|
waitmovement 0
|
||
|
setvar VAR_0x4002, 1
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 6
|
||
|
setvar VAR_0x8006, 1
|
||
|
special sub_81A1780
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3:: @ 8241BC3
|
||
|
setvar VAR_0x8004, 3
|
||
|
special sub_8161F74
|
||
|
addobject 1
|
||
|
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_242182
|
||
|
waitmovement 0
|
||
|
setvar VAR_0x8004, 7
|
||
|
setvar VAR_0x8005, 0
|
||
|
special sub_8161F74
|
||
|
msgbox 0x2021fc4, 4
|
||
|
waitmessage
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
|
||
|
switch VAR_RESULT
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241C03:: @ 8241C03
|
||
|
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_241C03:: @ 8241C03
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 0
|
||
|
setvar VAR_0x8006, 4
|
||
|
special sub_81A1780
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 3
|
||
|
special sub_8161F74
|
||
|
setvar VAR_0x8004, 3
|
||
|
special sub_813BF7C
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
|
||
|
setvar VAR_0x8004, 4
|
||
|
special sub_8161F74
|
||
|
switch VAR_RESULT
|
||
|
case 7, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
|
||
|
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_242188
|
||
|
waitmovement 0
|
||
|
removeobject 1
|
||
|
setvar VAR_0x8004, 9
|
||
|
special sub_81A1780
|
||
|
compare_var_to_value VAR_RESULT, 0
|
||
|
call_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_24218D
|
||
|
waitmovement 0
|
||
|
applymovement 255, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
|
||
|
waitmovement 0
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242217, 4
|
||
|
playfanfare BGM_ME_ASA
|
||
|
waitfanfare
|
||
|
special sp000_heal_pokemon
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
|
||
|
setvar VAR_0x8004, 9
|
||
|
special sub_81A1780
|
||
|
copyvar VAR_0x400F, VAR_RESULT
|
||
|
compare_var_to_value VAR_RESULT, 0
|
||
|
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
|
||
|
setvar VAR_0x8004, 1
|
||
|
setvar VAR_0x8005, 2
|
||
|
special sub_81A1780
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
|
||
|
compare_var_to_value VAR_RESULT, 1
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A
|
||
|
multichoice 19, 4, 103, 1
|
||
|
switch VAR_RESULT
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241D40
|
||
|
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_241D7C
|
||
|
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_241DAA
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241D0A:: @ 8241D0A
|
||
|
multichoice 20, 6, 104, 1
|
||
|
switch VAR_RESULT
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241D7C
|
||
|
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_241DAA
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241D40:: @ 8241D40
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_2423A3
|
||
|
waitmessage
|
||
|
multichoicedefault 20, 8, 94, 1, 0
|
||
|
switch VAR_RESULT
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241D72
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241D72:: @ 8241D72
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8B4
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241D7C:: @ 8241D7C
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2423FC, 5
|
||
|
switch VAR_RESULT
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241E22
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241DAA:: @ 8241DAA
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_24244C
|
||
|
waitmessage
|
||
|
multichoicedefault 20, 8, 94, 1, 0
|
||
|
switch VAR_RESULT
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_24220E
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC:: @ 8241DDC
|
||
|
closemessage
|
||
|
applymovement 255, BattleFrontier_BattleTowerBattleRoom_Movement_242180
|
||
|
waitmovement 0
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_242192
|
||
|
waitmovement 0
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6:: @ 8241DF6
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 0
|
||
|
setvar VAR_0x8006, 3
|
||
|
special sub_81A1780
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 3
|
||
|
special sub_8161F74
|
||
|
setvar VAR_0x8004, 3
|
||
|
special sub_813BF7C
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241E22:: @ 8241E22
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_242426
|
||
|
waitmessage
|
||
|
setvar VAR_0x8004, 6
|
||
|
setvar VAR_0x8005, 2
|
||
|
special sub_8161F74
|
||
|
playse SE_SAVE
|
||
|
waitse
|
||
|
fadescreen 1
|
||
|
setvar VAR_0x8004, 4
|
||
|
special sub_81A1780
|
||
|
end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241E44:: @ 8241E44
|
||
|
copyvar VAR_0x400F, VAR_RESULT
|
||
|
switch VAR_0x400F
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241E90
|
||
|
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_241E97
|
||
|
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_241E9E
|
||
|
case 4, BattleFrontier_BattleTowerBattleRoom_EventScript_241EA5
|
||
|
case 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241EAC
|
||
|
case 6, BattleFrontier_BattleTowerBattleRoom_EventScript_241EB3
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241E90:: @ 8241E90
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_242277
|
||
|
waitmessage
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241E97:: @ 8241E97
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_2422A9
|
||
|
waitmessage
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241E9E:: @ 8241E9E
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_2422DB
|
||
|
waitmessage
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241EA5:: @ 8241EA5
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_24230D
|
||
|
waitmessage
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241EAC:: @ 8241EAC
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_24233F
|
||
|
waitmessage
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241EB3:: @ 8241EB3
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_242371
|
||
|
waitmessage
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleArenaBattleRoom_EventScript_241EBA:: @ 8241EBA
|
||
|
BattleFrontier_BattleDomeLobby_EventScript_241EBA:: @ 8241EBA
|
||
|
BattleFrontier_BattleFactoryBattleRoom_EventScript_241EBA:: @ 8241EBA
|
||
|
BattleFrontier_BattlePalaceBattleRoom_EventScript_241EBA:: @ 8241EBA
|
||
|
BattleFrontier_BattleTowerBattleRoom2_EventScript_241EBA:: @ 8241EBA
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA:: @ 8241EBA
|
||
|
setvar VAR_0x8004, 17
|
||
|
special sub_81A1780
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3:: @ 8241EC3
|
||
|
applymovement 3, BattleFrontier_BattleTowerBattleRoom_Movement_24219A
|
||
|
waitmovement 0
|
||
|
applymovement 3, BattleFrontier_BattleTowerBattleRoom_Movement_2725B6
|
||
|
waitmovement 0
|
||
|
playse SE_PIN
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_272598
|
||
|
waitmovement 0
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_27259A
|
||
|
waitmovement 0
|
||
|
applymovement 3, BattleFrontier_BattleTowerBattleRoom_Movement_2421A6
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_2421AB
|
||
|
waitmovement 0
|
||
|
applymovement 3, BattleFrontier_BattleTowerBattleRoom_Movement_2421A1
|
||
|
waitmovement 0
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A:: @ 8241F0A
|
||
|
compare_var_to_value VAR_0x4002, 1
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2424C2, 4
|
||
|
setvar VAR_0x4002, 1
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241F22:: @ 8241F22
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_242542
|
||
|
waitmessage
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0
|
||
|
compare_var_to_value VAR_RESULT, 1
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241F79
|
||
|
multichoice 19, 4, 103, 1
|
||
|
switch VAR_RESULT
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241D40
|
||
|
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_241D7C
|
||
|
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_241DAA
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241F79:: @ 8241F79
|
||
|
multichoice 20, 6, 104, 1
|
||
|
switch VAR_RESULT
|
||
|
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF
|
||
|
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241D7C
|
||
|
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_241DAA
|
||
|
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241F22
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_242170
|
||
|
closemessage
|
||
|
applymovement 255, BattleFrontier_BattleTowerBattleRoom_Movement_242180
|
||
|
waitmovement 0
|
||
|
applymovement 2, BattleFrontier_BattleTowerBattleRoom_Movement_242192
|
||
|
waitmovement 0
|
||
|
addobject 1
|
||
|
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_2421B2
|
||
|
waitmovement 0
|
||
|
switch VAR_0x400F
|
||
|
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_242085
|
||
|
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_242029
|
||
|
case 4, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
|
||
|
setvar VAR_0x8004, 1
|
||
|
setvar VAR_0x8005, 7
|
||
|
special sub_81A1780
|
||
|
compare_var_to_value VAR_RESULT, 0
|
||
|
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_242029
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, 4
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 7
|
||
|
special sub_81A1780
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24268C, 4
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
|
||
|
compare_var_to_value VAR_RESULT, 1
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_242046
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
|
||
|
setvar VAR_0x8004, 12
|
||
|
special sub_81A1780
|
||
|
compare_var_to_value VAR_RESULT, 0
|
||
|
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2426B4, 4
|
||
|
playfanfare BGM_ME_BATTLE_SYMBOL
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_24270E
|
||
|
waitmessage
|
||
|
waitfanfare
|
||
|
setvar VAR_0x8004, 13
|
||
|
special sub_81A1780
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242744, 4
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
|
||
|
setvar VAR_0x8004, 1
|
||
|
setvar VAR_0x8005, 7
|
||
|
special sub_81A1780
|
||
|
compare_var_to_value VAR_RESULT, 0
|
||
|
goto_if 5, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, 4
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 7
|
||
|
special sub_81A1780
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428E0, 4
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
|
||
|
compare_var_to_value VAR_RESULT, 1
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
|
||
|
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
|
||
|
setvar VAR_0x8004, 12
|
||
|
special sub_81A1780
|
||
|
compare_var_to_value VAR_RESULT, 2
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2428F7, 4
|
||
|
playfanfare BGM_ME_BATTLE_SYMBOL
|
||
|
message BattleFrontier_BattleTowerBattleRoom_Text_242932
|
||
|
waitmessage
|
||
|
waitfanfare
|
||
|
setvar VAR_0x8004, 13
|
||
|
special sub_81A1780
|
||
|
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24295D, 4
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom2_EventScript_24210E:: @ 824210E
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
|
||
|
closemessage
|
||
|
setvar VAR_0x4002, 0
|
||
|
setvar VAR_0x8004, 2
|
||
|
setvar VAR_0x8005, 6
|
||
|
setvar VAR_0x8006, 0
|
||
|
special sub_81A1780
|
||
|
special sp000_heal_pokemon
|
||
|
setvar VAR_0x8004, 0
|
||
|
setvar VAR_0x8005, 0
|
||
|
special sub_8163AC4
|
||
|
waitstate
|
||
|
copyvar VAR_0x8004, VAR_0x40CE
|
||
|
compare_var_to_value VAR_0x8004, 3
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
|
||
|
setvar VAR_0x8004, 18
|
||
|
special sub_81A1780
|
||
|
special sp000_heal_pokemon
|
||
|
setvar VAR_0x8004, 21
|
||
|
special sub_81A1780
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_24215A:: @ 824215A
|
||
|
setvar VAR_0x8004, 15
|
||
|
special sub_8161F74
|
||
|
setvar VAR_0x8004, 1
|
||
|
setvar VAR_0x8005, 5
|
||
|
special sub_81A1780
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleArenaBattleRoom_EventScript_242170:: @ 8242170
|
||
|
BattleFrontier_BattleDomeBattleRoom_EventScript_242170:: @ 8242170
|
||
|
BattleFrontier_BattleFactoryBattleRoom_EventScript_242170:: @ 8242170
|
||
|
BattleFrontier_BattlePalaceBattleRoom_EventScript_242170:: @ 8242170
|
||
|
BattleFrontier_BattlePyramidTop_EventScript_242170:: @ 8242170
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_242170:: @ 8242170
|
||
|
setvar VAR_0x8004, 22
|
||
|
special sub_81A1780
|
||
|
return
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_242179: @ 8242179
|
||
|
step_up
|
||
|
step_up
|
||
|
step_up
|
||
|
step_03
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_24217E: @ 824217E
|
||
|
step_00
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_242180: @ 8242180
|
||
|
step_03
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_242182: @ 8242182
|
||
|
step_down
|
||
|
step_down
|
||
|
step_down
|
||
|
step_down
|
||
|
step_02
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_242188: @ 8242188
|
||
|
step_up
|
||
|
step_up
|
||
|
step_up
|
||
|
step_up
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_24218D: @ 824218D
|
||
|
step_right
|
||
|
step_right
|
||
|
step_right
|
||
|
step_up
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_242192: @ 8242192
|
||
|
step_down
|
||
|
step_left
|
||
|
step_left
|
||
|
step_left
|
||
|
step_03
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_242198: @ 8242198
|
||
|
step_54
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_24219A: @ 824219A
|
||
|
step_55
|
||
|
step_14
|
||
|
step_up
|
||
|
step_left
|
||
|
step_left
|
||
|
step_13
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_2421A1: @ 82421A1
|
||
|
step_right
|
||
|
step_right
|
||
|
step_down
|
||
|
step_54
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_2421A6: @ 82421A6
|
||
|
step_14
|
||
|
step_14
|
||
|
step_14
|
||
|
step_14
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_2421AB: @ 82421AB
|
||
|
step_03
|
||
|
step_14
|
||
|
step_14
|
||
|
step_14
|
||
|
step_14
|
||
|
step_20
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_Movement_2421B2: @ 82421B2
|
||
|
slow_step_down
|
||
|
slow_step_down
|
||
|
slow_step_down
|
||
|
slow_step_down
|
||
|
step_02
|
||
|
step_end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8:: @ 82421B8
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8:: @ 82421B8
|
||
|
copyvar VAR_RESULT, VAR_0x40CE
|
||
|
compare_var_to_value VAR_RESULT, 1
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8
|
||
|
compare_var_to_value VAR_RESULT, 2
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2
|
||
|
compare_var_to_value VAR_RESULT, 3
|
||
|
goto_eq BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC
|
||
|
warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6
|
||
|
waitstate
|
||
|
end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_2421E8:: @ 82421E8
|
||
|
warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 10, 6
|
||
|
waitstate
|
||
|
end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2:: @ 82421F2
|
||
|
warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 14, 6
|
||
|
waitstate
|
||
|
end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC:: @ 82421FC
|
||
|
setvar VAR_0x8004, 13
|
||
|
special sub_8161F74
|
||
|
warp BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 18, 6
|
||
|
waitstate
|
||
|
end
|
||
|
|
||
|
BattleFrontier_BattleTowerBattleRoom_EventScript_24220E:: @ 824220E
|
||
|
setflag FLAG_0x077
|
||
|
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C03
|
||
|
end
|
||
|
|