summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-12-16 22:08:54 -0500
committergarak <garakmon@gmail.com>2019-12-17 15:05:23 -0500
commit1ef4c20101e166a07a19d499dcc8c4466ac4cfe9 (patch)
tree581b644ae104e0de13070421702341c523b7f2f5 /asm
parent4668d17866013fe4bfd147c7ba1cacefe790d5bd (diff)
dump some anim commands and movement action funcs
Diffstat (limited to 'asm')
-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