1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
map_script 1, BattleFrontier_BattleTowerCorridor_MapScript1_241AB5
map_script 2, BattleFrontier_BattleTowerCorridor_MapScript2_241AE6
.byte 0
BattleFrontier_BattleTowerCorridor_MapScript1_241AB5: @ 8241AB5
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241AD3
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
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleTowerCorridor_EventScript_241AF0
.2byte 0
BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0
setvar VAR_TEMP_0, 1
compare VAR_0x8006, 1
goto_eq BattleFrontier_BattleTowerCorridor_EventScript_241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B3A
applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B39
waitmovement 0
goto BattleFrontier_BattleTowerCorridor_EventScript_241B27
BattleFrontier_BattleTowerCorridor_EventScript_241B16:: @ 8241B16
applymovement 1, BattleFrontier_BattleTowerCorridor_Movement_241B37
applymovement 255, BattleFrontier_BattleTowerCorridor_Movement_241B36
waitmovement 0
BattleFrontier_BattleTowerCorridor_EventScript_241B27:: @ 8241B27
setvar VAR_TEMP_0, 0
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 255, 4, 8
waitstate
end
BattleFrontier_BattleTowerCorridor_Movement_241B36: @ 8241B36
walk_right
BattleFrontier_BattleTowerCorridor_Movement_241B37: @ 8241B37
walk_right
walk_right
BattleFrontier_BattleTowerCorridor_Movement_241B39: @ 8241B39
walk_right
BattleFrontier_BattleTowerCorridor_Movement_241B3A: @ 8241B3A
walk_right
walk_right
walk_right
walk_up
set_invisible
step_end
|