mirror of https://github.com/pret/pokecrystal.git
10 lines
128 B
NASM
10 lines
128 B
NASM
|
tilepal: MACRO
|
||
|
; vram bank, pals
|
||
|
x = \1 << 3
|
||
|
rept (_NARG +- 1) / 2
|
||
|
dn (x | PAL_BG_\3), (x | PAL_BG_\2)
|
||
|
shift
|
||
|
shift
|
||
|
endr
|
||
|
endm
|