summaryrefslogtreecommitdiff
path: root/engine/tilesets
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-05-25 05:25:43 -0400
committerentrpntr <entrpntr@gmail.com>2020-05-25 17:04:16 -0400
commit14f6ddbe3c61dc0b395bc295403ceef9d7ef6b2e (patch)
treee5377a053beeae4ac5d719f2974c3b9f3a67855f /engine/tilesets
parentf84274fb73db48c998e5c811559388ebab6419ce (diff)
Finish disassembling banks 7 and 8.
Diffstat (limited to 'engine/tilesets')
-rw-r--r--engine/tilesets/mapgroup_roofs.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/engine/tilesets/mapgroup_roofs.asm b/engine/tilesets/mapgroup_roofs.asm
new file mode 100644
index 00000000..b269e527
--- /dev/null
+++ b/engine/tilesets/mapgroup_roofs.asm
@@ -0,0 +1,18 @@
+LoadMapGroupRoof::
+ ld a, [wMapGroup]
+ ld e, a
+ ld d, 0
+ ld hl, MapGroupRoofs
+ add hl, de
+ ld a, [hl]
+ cp -1
+ ret z
+ ld hl, Roofs
+ ld bc, 9 tiles
+ call AddNTimes
+ ld de, vTiles2 tile $0a
+ ld bc, 9 tiles
+ call CopyBytes
+ ret
+
+INCLUDE "data/maps/roofs.asm"