shithub: pokecrystal

ref: 39367a1b689c14220f4c6bdc2c4d8981bafa9c73
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