shithub: pokecrystal

ref: 2d644f5077fa9ec43009ea5ec072e6ade9a1f61b
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