summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.asm b/macros.asm
index 7a7b2d1aa..486c6e519 100644
--- a/macros.asm
+++ b/macros.asm
@@ -248,5 +248,5 @@ palgreen EQUS "$0020 *"
palblue EQUS "$0001 *"
dsprite: MACRO
- db \1 * 8 + \2, \3 * 8 + \4, \5, \6
+ db (\1 * 8) % $100 + \2, (\3 * 8) % $100 + \4, \5, \6
endm