summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-12 23:47:13 -0500
committeryenatch <yenatch@gmail.com>2017-12-12 23:47:13 -0500
commita6656a986bf9dde51561cab090648e0117b173ad (patch)
treeaaa9f8f6d8debd7f99dbdbeefc6fbeb2c420c70d /macros.asm
parent725750d69d6877affd4121be384cc7648fc99939 (diff)
condense tileset sprite palettes
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index d99b2f4d7..9b7bdf78c 100644
--- a/macros.asm
+++ b/macros.asm
@@ -16,7 +16,12 @@ INCLUDE "macros/trade_anim.asm"
INCLUDE "macros/tilesets.asm"
RGB: MACRO
+rept _NARG / 3
dw ((\3) << 10) + ((\2) << 5) + (\1)
+ shift
+ shift
+ shift
+endr
ENDM