Use constants for asm collision data

This commit is contained in:
Remy Oukaour
2017-12-12 16:27:09 -05:00
parent b006415371
commit e4a61cf1ae
77 changed files with 2725 additions and 33 deletions

13
macros/tilesets.asm Executable file
View File

@@ -0,0 +1,13 @@
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