summaryrefslogtreecommitdiff
path: root/macros/pals.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-06-17 08:41:55 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-06-17 08:41:55 -0400
commita2c4251575150cbf563f0c95238e440b0a1d9c80 (patch)
tree4db6f8f8dacb5f8da3ad53584bf7caacb0757dec /macros/pals.asm
parent2ea71281336e8d54bb52d11e3d6955a103606549 (diff)
home/movement.asm
Diffstat (limited to 'macros/pals.asm')
-rwxr-xr-xmacros/pals.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/pals.asm b/macros/pals.asm
new file mode 100755
index 00000000..44f1f794
--- /dev/null
+++ b/macros/pals.asm
@@ -0,0 +1,9 @@
+tilepal: MACRO
+; vram bank, pals
+x = \1 << 3
+rept (_NARG +- 1) / 2
+ dn (x | PAL_BG_\3), (x | PAL_BG_\2)
+ shift
+ shift
+endr
+endm