shithub: pokecrystal

ref: dc4357b7fa120c47c1af9937eb809c1cc7ddbfd6
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