2017-11-10 02:21:31 +01:00
|
|
|
BattleFrontier_BattleTowerCorridor2_MapScripts:: @ 8248D4A
|
|
|
|
map_script 3, BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A
|
|
|
|
map_script 4, BattleFrontier_BattleTowerCorridor2_MapScript2_248D95
|
|
|
|
map_script 2, BattleFrontier_BattleTowerCorridor2_MapScript2_248DB2
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40CE, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D71
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40CE, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D91
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
|
|
|
|
setvar VAR_0x8004, 14
|
|
|
|
special sub_8161F74
|
|
|
|
checkplayergender
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_OBJ_GFX_ID_F, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248D8B:: @ 8248D8B
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_OBJ_GFX_ID_F, 89
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248D91:: @ 8248D91
|
|
|
|
special sub_813A76C
|
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_MapScript2_248D95: @ 8248D95
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerCorridor2_EventScript_248D9F
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248D9F:: @ 8248D9F
|
|
|
|
hideobjectat 255, BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR_2
|
|
|
|
hideobjectat 1, BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR_2
|
|
|
|
hideobjectat 4, BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR_2
|
|
|
|
special sub_8139980
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_MapScript2_248DB2: @ 8248DB2
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerCorridor2_EventScript_248DBC
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248DBC:: @ 8248DBC
|
|
|
|
lockall
|
|
|
|
setflag FLAG_SPECIAL_FLAG_0x4002
|
|
|
|
setvar VAR_0x8004, 14
|
|
|
|
setvar VAR_0x8005, 1
|
|
|
|
opendoor 1, 1
|
|
|
|
waitdooranim
|
|
|
|
clearflag FLAG_SPECIAL_FLAG_0x4002
|
|
|
|
showobjectat 1, BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR_2
|
|
|
|
showobjectat 4, BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR_2
|
|
|
|
applymovement 1, BattleFrontier_BattleTowerCorridor2_Movement_248EE6
|
|
|
|
applymovement 4, BattleFrontier_BattleTowerCorridor2_Movement_248EE6
|
|
|
|
waitmovement 0
|
|
|
|
setflag FLAG_SPECIAL_FLAG_0x4002
|
|
|
|
setvar VAR_0x8004, 14
|
|
|
|
setvar VAR_0x8005, 1
|
|
|
|
closedoor 1, 1
|
|
|
|
waitdooranim
|
|
|
|
clearflag FLAG_SPECIAL_FLAG_0x4002
|
|
|
|
applymovement 1, BattleFrontier_BattleTowerCorridor2_Movement_248EBC
|
|
|
|
applymovement 4, BattleFrontier_BattleTowerCorridor2_Movement_248EC4
|
|
|
|
applymovement 3, BattleFrontier_BattleTowerCorridor2_Movement_248ECC
|
|
|
|
applymovement 2, BattleFrontier_BattleTowerCorridor2_Movement_248ED5
|
|
|
|
waitmovement 0
|
|
|
|
delay 40
|
|
|
|
applymovement 3, BattleFrontier_BattleTowerCorridor2_Movement_2725A6
|
|
|
|
applymovement 2, BattleFrontier_BattleTowerCorridor2_Movement_2725A6
|
|
|
|
waitmovement 0
|
|
|
|
opendoor 7, 1
|
|
|
|
waitdooranim
|
|
|
|
applymovement 3, BattleFrontier_BattleTowerCorridor2_Movement_248EE3
|
|
|
|
applymovement 2, BattleFrontier_BattleTowerCorridor2_Movement_248EE3
|
|
|
|
applymovement 1, BattleFrontier_BattleTowerCorridor2_Movement_248EDE
|
|
|
|
applymovement 4, BattleFrontier_BattleTowerCorridor2_Movement_248EDE
|
|
|
|
waitmovement 0
|
|
|
|
closedoor 7, 1
|
|
|
|
waitdooranim
|
|
|
|
delay 30
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
call BattleFrontier_BattleTowerCorridor2_EventScript_248E71
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40CE, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40CE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40CE, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EA8
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40CE, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EB2
|
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248E9E:: @ 8248E9E
|
|
|
|
warp BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 255, 4, 8
|
|
|
|
waitstate
|
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248EA8:: @ 8248EA8
|
|
|
|
warp BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM_2, 255, 4, 5
|
|
|
|
waitstate
|
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_EventScript_248EB2:: @ 8248EB2
|
|
|
|
warp BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM_2, 255, 4, 5
|
|
|
|
waitstate
|
|
|
|
return
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248EBC: @ 8248EBC
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248EC4: @ 8248EC4
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248ECC: @ 8248ECC
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_up
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248ED5: @ 8248ED5
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248EDE: @ 8248EDE
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248EE3: @ 8248EE3
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor2_Movement_248EE6: @ 8248EE6
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|