shithub: pokecrystal

ref: b4261d27d8a6ed20c13dd1ff723f7d3f28833a58
dir: /macros/pals.asm/

View raw version
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