summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2016-12-06 21:14:18 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2016-12-06 21:14:18 -0500
commit9f6ec022011d607cd3354559a32e75ad276e63d2 (patch)
tree318afb4a9c2acc964a1e318efcfe7616c1f2c08c /macros.asm
parent81467634ec0c58e77554319cf7ece67e60a3d320 (diff)
Hardcoded pointers in Pokedex banks
Diffstat (limited to 'macros.asm')
-rwxr-xr-xmacros.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 425f2b2..8ea6e91 100755
--- a/macros.asm
+++ b/macros.asm
@@ -17,6 +17,14 @@ dwb: MACRO
db \2
ENDM
+dba: MACRO
+ dbw BANK(\1), \1
+ ENDM
+
+dab: MACRO
+ dwb \1, BANK(\1)
+ ENDM
+
dn: MACRO
rept _NARG / 2
db (\1) << 4 + (\2)