aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gfx.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-11-12 15:44:07 -0500
committerGitHub <noreply@github.com>2025-11-12 15:44:07 -0500
commit5943b96cf6d5eda52df2ad689af0ac251e4e0841 (patch)
tree1e90b28cfce0c0876ad7f9886fb2ad405478fd39 /macros/gfx.asm
parentUse the same tools/make_patch.c as Gen 2 (diff)
downloadpokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.gz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.xz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.zip
Use features of RGBDS 1.0.0 (#537)
Diffstat (limited to 'macros/gfx.asm')
-rw-r--r--macros/gfx.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/gfx.asm b/macros/gfx.asm
index 8c02bcd7..817f8787 100644
--- a/macros/gfx.asm
+++ b/macros/gfx.asm
@@ -1,4 +1,4 @@
-MACRO RGB
+MACRO? RGB
REPT _NARG / 3
dw palred (\1) + palgreen (\2) + palblue (\3)
SHIFT 3
@@ -16,7 +16,7 @@ DEF color EQUS "+ PAL_COLORS *"
DEF tiles EQUS "* TILE_SIZE"
DEF tile EQUS "+ TILE_SIZE *"
-MACRO dbsprite
+MACRO? dbsprite
; 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