summaryrefslogtreecommitdiff
path: root/macros/gfx.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gfx.asm')
-rw-r--r--macros/gfx.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/gfx.asm b/macros/gfx.asm
index e9851501a..2c67cfc8a 100644
--- a/macros/gfx.asm
+++ b/macros/gfx.asm
@@ -44,7 +44,7 @@ ENDM
depixel EQUS "ldpixel de,"
bcpixel EQUS "ldpixel bc,"
-dsprite: MACRO
-; y tile, y pixel, x tile, x pixel, vtile offset, attributes
- db (\1 * TILE_WIDTH) % $100 + \2, (\3 * TILE_WIDTH) % $100 + \4, \5, \6
+dbsprite: MACRO
+; x tile, y tile, x pixel, y pixel, vtile offset, attributes
+ db (\2 * TILE_WIDTH) % $100 + \4, (\1 * TILE_WIDTH) % $100 + \3, \5, \6
ENDM