2017-11-10 02:21:31 +01:00
|
|
|
BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, BattleFrontier_BattleTowerCorridor_MapScript1_241AB5
|
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleTowerCorridor_MapScript2_241AE6
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8006, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
|
2017-11-10 02:21:31 +01:00
|
|
|
setmetatile 12, 0, 519, 0
|
|
|
|
setmetatile 12, 1, 527, 0
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_EventScript_241AD3:: @ 8241AD3
|
|
|
|
setmetatile 15, 0, 519, 0
|
|
|
|
setmetatile 15, 1, 527, 0
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_MapScript2_241AE6: @ 8241AE6
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleTowerCorridor_EventScript_241AF0
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_0, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8006, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B39
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
goto BattleFrontier_BattleTowerCorridor_EventScript_241B27
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_EventScript_241B16:: @ 8241B16
|
|
|
|
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B37
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_241B36
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_EventScript_241B27:: @ 8241B27
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_0, 0
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 255, 4, 8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_Movement_241B36: @ 8241B36
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_Movement_241B37: @ 8241B37
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_Movement_241B39: @ 8241B39
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
BattleFrontier_BattleTowerCorridor_Movement_241B3A: @ 8241B3A
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|