mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Port dbsprite macro for OAM y,x,tile,attr data from pokecrystal
This commit is contained in:
parent
f53341efa1
commit
76289dfda0
15 changed files with 893 additions and 872 deletions
|
|
@ -15,3 +15,8 @@ color EQUS "+ PAL_COLOR_SIZE *"
|
|||
|
||||
tiles EQUS "* LEN_2BPP_TILE"
|
||||
tile EQUS "+ LEN_2BPP_TILE *"
|
||||
|
||||
dbsprite: MACRO
|
||||
; x tile, y tile, x pixel, y pixel, vtile offset, attributes
|
||||
db (\2 * TILE_WIDTH) % $100 + \4, (\1 * TILE_WIDTH) % $100 + \3, \5, \6
|
||||
ENDM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue