summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-10-17 17:18:52 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-10-17 17:18:52 -0400
commitf53d65c536096213b6826765f81a0f436c88fe72 (patch)
tree6ab57a1b6ff362ee8bb61909996d843af4e4835e /macros.asm
parentda7849d800d37156360845fa17e361d2521dce29 (diff)
Battle intro animation function
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 60cc07a23..e1f3fa31b 100644
--- a/macros.asm
+++ b/macros.asm
@@ -78,6 +78,13 @@ bigdw: MACRO ; big-endian word
dx 2, \1
ENDM
+dba: MACRO ; dbw bank, address
+ dbw BANK(\1), \1
+ ENDM
+
+dab: MACRO ; dwb address, bank
+ dwb \1, BANK(\1)
+ ENDM
lb: MACRO ; r, hi, lo
ld \1, (\2) << 8 + (\3)