summaryrefslogtreecommitdiff
path: root/asm/macros.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros.s')
-rw-r--r--asm/macros.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/asm/macros.s b/asm/macros.s
index b109595df..96f79195d 100644
--- a/asm/macros.s
+++ b/asm/macros.s
@@ -27,3 +27,13 @@
.macro thumb_func_end name
.size \name, .-\name
.endm
+
+ .macro window_template bg_id, x, y, width, height, palette, vram_tile_offset
+ .byte \bg_id
+ .byte \x
+ .byte \y
+ .byte \width
+ .byte \height
+ .byte \palette
+ .2byte \vram_tile_offset
+ .endm