mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
16 lines
211 B
NASM
16 lines
211 B
NASM
|
RGB: MACRO
|
||
|
rept _NARG / 3
|
||
|
dw ((\3) << 10) + ((\2) << 5) + (\1)
|
||
|
shift
|
||
|
shift
|
||
|
shift
|
||
|
endr
|
||
|
ENDM
|
||
|
|
||
|
palettes EQUS "* 8"
|
||
|
palette EQUS "+ 8 *"
|
||
|
|
||
|
palred EQUS "$0001 *"
|
||
|
palgreen EQUS "$0020 *"
|
||
|
palblue EQUS "$0400 *"
|