diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-10 13:47:57 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-10 13:47:57 -0500 |
commit | 417937cffc2a7c3cfac49f3b00caf1a856d0a925 (patch) | |
tree | 74e731a22fad12bbf7d122be1c2849b8682cef06 /constants/gfx_constants.asm | |
parent | cc95d1208d4a6b8291a5430a8d652a9337074788 (diff) |
Resolve #461
Diffstat (limited to 'constants/gfx_constants.asm')
-rw-r--r-- | constants/gfx_constants.asm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm index cba08a219..275fe6b9f 100644 --- a/constants/gfx_constants.asm +++ b/constants/gfx_constants.asm @@ -20,3 +20,12 @@ HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * TILE_WIDTH ; pixels EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels PALPACKET_LENGTH EQU $10 + +; sprite_oam_struct members (see macros/wram.asm) + const_def + const SPRITEOAMSTRUCT_YCOORD ; 0 + const SPRITEOAMSTRUCT_XCOORD ; 1 + const SPRITEOAMSTRUCT_TILE_ID ; 2 + const SPRITEOAMSTRUCT_ATTRIBUTES ; 3 +SPRITEOAMSTRUCT_LENGTH EQU const_value +NUM_SPRITE_OAM_STRUCTS EQU 40 ; see Sprites |