pokecrystal-board/macros/tilesets.asm

16 lines
227 B
NASM
Raw Normal View History

2017-12-13 21:36:24 -08:00
; Used in tilesets/*.asm
2016-01-28 06:40:01 -08:00
tilepal: MACRO
; vram bank, pals
2017-12-10 17:50:08 -08:00
x = \1 << OAM_TILE_BANK
2016-01-28 06:40:01 -08:00
rept (_NARG +- 1) / 2
dn (x | PAL_BG_\3), (x | PAL_BG_\2)
shift
shift
endr
2017-12-28 13:31:16 -08:00
ENDM
2017-12-12 13:27:09 -08:00
tilecoll: MACRO
db COLL_\1, COLL_\2, COLL_\3, COLL_\4
2017-12-28 13:31:16 -08:00
ENDM