diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2017-11-11 16:10:17 -0600 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2017-11-11 16:10:17 -0600 |
commit | f497c1508bb285fb0a7065df2ca2168ec6fac14b (patch) | |
tree | 856eaaf0138d198a1f9f3d7d7466d3d522af7fcb /data/scripts/maps/BattleFrontier_BattleTowerCorridor.inc | |
parent | 2e40384fa22725de06a5293454b8962ab4de8f4d (diff) |
Split files from event_scripts.s
Also move maps/scripts to scripts/maps
Diffstat (limited to 'data/scripts/maps/BattleFrontier_BattleTowerCorridor.inc')
-rw-r--r-- | data/scripts/maps/BattleFrontier_BattleTowerCorridor.inc | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/data/scripts/maps/BattleFrontier_BattleTowerCorridor.inc b/data/scripts/maps/BattleFrontier_BattleTowerCorridor.inc new file mode 100644 index 000000000..3369e4d75 --- /dev/null +++ b/data/scripts/maps/BattleFrontier_BattleTowerCorridor.inc @@ -0,0 +1,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_to_value 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_0x4000, 0, BattleFrontier_BattleTowerCorridor_EventScript_241AF0 + .2byte 0 + +BattleFrontier_BattleTowerCorridor_EventScript_241AF0:: @ 8241AF0 + setvar VAR_0x4000, 1 + compare_var_to_value 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_0x4000, 0 + warp BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 255, 4, 8 + waitstate + end + +BattleFrontier_BattleTowerCorridor_Movement_241B36: @ 8241B36 + step_right + +BattleFrontier_BattleTowerCorridor_Movement_241B37: @ 8241B37 + step_right + step_right + +BattleFrontier_BattleTowerCorridor_Movement_241B39: @ 8241B39 + step_right + +BattleFrontier_BattleTowerCorridor_Movement_241B3A: @ 8241B3A + step_right + step_right + step_right + step_up + step_54 + step_end + |