pokecrystal-board/macros/pals.asm
2017-12-10 20:50:08 -05:00

10 lines
140 B
NASM
Executable File

tilepal: MACRO
; vram bank, pals
x = \1 << OAM_TILE_BANK
rept (_NARG +- 1) / 2
dn (x | PAL_BG_\3), (x | PAL_BG_\2)
shift
shift
endr
endm