summaryrefslogtreecommitdiff
path: root/asm/macros.inc
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-01-07 01:29:26 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-01-07 01:29:26 -0600
commitefe19e95c846a658c5e9bd9908de548db00dcab5 (patch)
tree081e5528414d0293125437d7f312feeef6189f26 /asm/macros.inc
parentf0df833f37a20745ded2b13240c692fe20d2dc1c (diff)
Extract door animations
Diffstat (limited to 'asm/macros.inc')
-rw-r--r--asm/macros.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/asm/macros.inc b/asm/macros.inc
index ee58cc14e..7c35e059d 100644
--- a/asm/macros.inc
+++ b/asm/macros.inc
@@ -119,3 +119,17 @@
.2byte \unknown
.fill 4 @ padding
.endm
+
+ .macro door_anim_frame unknown, offset
+ .byte \unknown
+ .byte 0 @ padding
+ .2byte \offset
+ .endm
+
+ .macro door_anim_gfx metatile_num, unknown, unknown2, tile_addr, palette_addr
+ .2byte \metatile_num
+ .byte \unknown
+ .byte \unknown2
+ .4byte \tile_addr
+ .4byte \palette_addr
+ .endm