summaryrefslogtreecommitdiff
path: root/asm/macros.inc
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros.inc')
-rw-r--r--asm/macros.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/asm/macros.inc b/asm/macros.inc
index 4eae2cccc..3cc26c6f7 100644
--- a/asm/macros.inc
+++ b/asm/macros.inc
@@ -119,6 +119,12 @@
.fill 4 @ padding
.endm
+ .macro overworld_frame ptr:req, width:req, height:req, frame:req
+ .4byte (\ptr + (\width * \height * \frame * 64) / 2)
+ .2byte (\width * \height * 64) / 2
+ .2byte 0 @ padding
+ .endm
+
.macro credits_entry number, text
.4byte \number
.4byte \text