You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Use constants for asm collision data
This commit is contained in:
13
macros/tilesets.asm
Executable file
13
macros/tilesets.asm
Executable 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
|
||||
Reference in New Issue
Block a user