shithub: pokecrystal

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