summaryrefslogtreecommitdiff
path: root/constants/gfx_constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'constants/gfx_constants.asm')
-rw-r--r--constants/gfx_constants.asm9
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