summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2016-01-28 09:40:01 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2016-01-28 09:40:01 -0500
commit33506f382a149067d3d37ded1cf01f7e291e92a6 (patch)
tree540a414d5d1051dea45217de17053c287ac9a465
parentb272c0c3754012f83129c23c2c546013cd1e80ef (diff)
Add missing file 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 000000000..44f1f7944
--- /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