mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
16 lines
227 B
NASM
Executable File
16 lines
227 B
NASM
Executable File
; Used in tilesets/*.asm
|
|
|
|
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
|
|
|
|
tilecoll: MACRO
|
|
db COLL_\1, COLL_\2, COLL_\3, COLL_\4
|
|
endm
|