diff options
| author | Garak <thomastaps194@comcast.net> | 2018-07-04 11:11:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-04 11:11:45 -0400 |
| commit | e06b63efc9ea39875b17f00e5ff20c2e0fcb0415 (patch) | |
| tree | e8d37347ae000823943ef57973dc34dd98633b40 /data/maps/BattleFrontier_BattleTowerCorridor | |
| parent | 9acd55ae4f9e455a92765aaee5929240097f9f8f (diff) | |
| parent | efebc51972b23ddffa2700b1dd6895d4728646a3 (diff) | |
Merge pull request #1 from pret/master
synching with source repo
Diffstat (limited to 'data/maps/BattleFrontier_BattleTowerCorridor')
| -rw-r--r-- | data/maps/BattleFrontier_BattleTowerCorridor/border.bin | bin | 8 -> 0 bytes | |||
| -rw-r--r-- | data/maps/BattleFrontier_BattleTowerCorridor/events.inc | 6 | ||||
| -rw-r--r-- | data/maps/BattleFrontier_BattleTowerCorridor/header.inc | 2 | ||||
| -rw-r--r-- | data/maps/BattleFrontier_BattleTowerCorridor/map.bin | bin | 170 -> 0 bytes | |||
| -rw-r--r-- | data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc | 59 |
5 files changed, 66 insertions, 1 deletions
diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/border.bin b/data/maps/BattleFrontier_BattleTowerCorridor/border.bin Binary files differdeleted file mode 100644 index f496f458e..000000000 --- a/data/maps/BattleFrontier_BattleTowerCorridor/border.bin +++ /dev/null diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/events.inc b/data/maps/BattleFrontier_BattleTowerCorridor/events.inc new file mode 100644 index 000000000..23f3377f3 --- /dev/null +++ b/data/maps/BattleFrontier_BattleTowerCorridor/events.inc @@ -0,0 +1,6 @@ +BattleFrontier_BattleTowerCorridor_EventObjects: @ 853B7A4 + object_event 1, EVENT_OBJ_GFX_TEALA, 0, 9, 2, 3, 9, 0, 0, 0, 0, 0x0, 0 + +BattleFrontier_BattleTowerCorridor_MapEvents:: @ 853B7BC + map_events BattleFrontier_BattleTowerCorridor_EventObjects, 0x0, 0x0, 0x0 + diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/header.inc b/data/maps/BattleFrontier_BattleTowerCorridor/header.inc index f72c8fe29..361e6be03 100644 --- a/data/maps/BattleFrontier_BattleTowerCorridor/header.inc +++ b/data/maps/BattleFrontier_BattleTowerCorridor/header.inc @@ -1,5 +1,5 @@ BattleFrontier_BattleTowerCorridor: @ 8485200 - .4byte BattleFrontier_BattleTowerCorridor_MapAttributes + .4byte BattleFrontier_BattleTowerCorridor_Layout .4byte BattleFrontier_BattleTowerCorridor_MapEvents .4byte BattleFrontier_BattleTowerCorridor_MapScripts .4byte 0x0 diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/map.bin b/data/maps/BattleFrontier_BattleTowerCorridor/map.bin Binary files differdeleted file mode 100644 index 0b0803f91..000000000 --- a/data/maps/BattleFrontier_BattleTowerCorridor/map.bin +++ /dev/null diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc b/data/maps/BattleFrontier_BattleTowerCorridor/scripts.inc new file mode 100644 index 000000000..9ff6bbc59 --- /dev/null +++ b/data/maps/BattleFrontier_BattleTowerCorridor/scripts.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_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 + |
