summaryrefslogtreecommitdiff
path: root/macros/pals.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-01-29 01:00:48 -0500
committeryenatch <yenatch@gmail.com>2016-01-29 01:00:48 -0500
commit11173a3807bde4e2d5b681717258b5b14f5f2d43 (patch)
tree8e1692fe02b30ceeb2d797c001e0594175e29b78 /macros/pals.asm
parent289d3dea86b82c4ce7eb7268ef33980688306587 (diff)
parent5322b56a8357e5e5a8847f3329b52faa3f7016d8 (diff)
Merge pull request #333 from PikalaxALT/master
Split base stats, rearrange wram.asm, naming screen
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 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