pokecrystal/macros/pals.asm

10 lines
140 B
NASM
Raw Normal View History

2016-01-28 14:40:01 +00:00
tilepal: MACRO
; vram bank, pals
2017-12-11 01:50:08 +00:00
x = \1 << OAM_TILE_BANK
2016-01-28 14:40:01 +00:00
rept (_NARG +- 1) / 2
dn (x | PAL_BG_\3), (x | PAL_BG_\2)
shift
shift
endr
endm