summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-11-03 07:56:05 -0500
committeryenatch <yenatch@gmail.com>2015-11-03 07:56:05 -0500
commit1c1fe276ca59726bb0008c60006c6b48cd093573 (patch)
tree817fb9c92dd798e89a891c3924bda3df955344e0 /macros.asm
parent25c126c69beebfdf26d0de286e25c65f6f3db16e (diff)
parent2faa4a0f70edd91bde908139b3fd5b6b5aebf017 (diff)
Merge pull request #324 from PikalaxALT/master
Movement and map objects
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 16b298268..68436697f 100644
--- a/macros.asm
+++ b/macros.asm
@@ -79,11 +79,17 @@ bigdw: MACRO ; big-endian word
ENDM
dba: MACRO ; dbw bank, address
+ rept _NARG
dbw BANK(\1), \1
+ shift
+ endr
ENDM
dab: MACRO ; dwb address, bank
+ rept _NARG
dwb \1, BANK(\1)
+ shift
+ endr
ENDM
lb: MACRO ; r, hi, lo