summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-04-29 18:28:03 -0700
committerMarcus Huderle <huderlem@gmail.com>2017-04-29 18:28:03 -0700
commitd7403bcbf7af7a1f859ca8988809a53f4a7359cc (patch)
tree6dab61c50d4c6d183a25e7e8cc530b89896ad577 /macros.asm
parent5c424364d833de0b209d26151109c1313b40b827 (diff)
Fixup Haunter gfx
Diffstat (limited to 'macros.asm')
-rwxr-xr-xmacros.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 02d2e1f..246e003 100755
--- a/macros.asm
+++ b/macros.asm
@@ -123,6 +123,17 @@ VIDEO_DATA_TILES: MACRO
ENDM
;\1 = pointer to 2bpp tile data
+;\2 = bank of data
+;\3 = destination for tile data in VRAM
+;\4 = size of 2bpp tile data to copy
+VIDEO_DATA_TILES_BANK: MACRO
+ dw \1
+ db \2
+ dw \3
+ dw (\4 << 2)
+ ENDM
+
+;\1 = pointer to 2bpp tile data
;\2 = destination for tile data in VRAM
;\3 = size of 2bpp tile data to copy
VIDEO_DATA_TILES_BANK2: MACRO