diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-04 18:13:33 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-05 16:21:32 -0500 |
commit | e950809640f81c5d621c39becc4dcce15a82c064 (patch) | |
tree | 34a5978b2f0ef50e540ec1800f02bc603790f4ec /constants/sprite_anim_constants.asm | |
parent | 472051eb5e6057f064547c88320e7dbdb142ac4f (diff) |
Define more struct offset constants with rsreset instead of const_def
Diffstat (limited to 'constants/sprite_anim_constants.asm')
-rw-r--r-- | constants/sprite_anim_constants.asm | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/constants/sprite_anim_constants.asm b/constants/sprite_anim_constants.asm index 8a372f4e..a00303c0 100644 --- a/constants/sprite_anim_constants.asm +++ b/constants/sprite_anim_constants.asm @@ -1,22 +1,22 @@ ; sprite_anim_struct members (see macros/wram.asm) - const_def - const SPRITEANIMSTRUCT_INDEX ; 0 - const SPRITEANIMSTRUCT_FRAMESET_ID ; 1 - const SPRITEANIMSTRUCT_ANIM_SEQ_ID ; 2 - const SPRITEANIMSTRUCT_TILE_ID ; 3 - const SPRITEANIMSTRUCT_XCOORD ; 4 - const SPRITEANIMSTRUCT_YCOORD ; 5 - const SPRITEANIMSTRUCT_XOFFSET ; 6 - const SPRITEANIMSTRUCT_YOFFSET ; 7 - const SPRITEANIMSTRUCT_DURATION ; 8 - const SPRITEANIMSTRUCT_DURATIONOFFSET ; 9 - const SPRITEANIMSTRUCT_FRAME ; a - const SPRITEANIMSTRUCT_JUMPTABLE_INDEX ; b - const SPRITEANIMSTRUCT_VAR1 ; c - const SPRITEANIMSTRUCT_VAR2 ; d - const SPRITEANIMSTRUCT_VAR3 ; e - const SPRITEANIMSTRUCT_VAR4 ; f -SPRITEANIMSTRUCT_LENGTH EQU const_value +rsreset +SPRITEANIMSTRUCT_INDEX rb ; 0 +SPRITEANIMSTRUCT_FRAMESET_ID rb ; 1 +SPRITEANIMSTRUCT_ANIM_SEQ_ID rb ; 2 +SPRITEANIMSTRUCT_TILE_ID rb ; 3 +SPRITEANIMSTRUCT_XCOORD rb ; 4 +SPRITEANIMSTRUCT_YCOORD rb ; 5 +SPRITEANIMSTRUCT_XOFFSET rb ; 6 +SPRITEANIMSTRUCT_YOFFSET rb ; 7 +SPRITEANIMSTRUCT_DURATION rb ; 8 +SPRITEANIMSTRUCT_DURATIONOFFSET rb ; 9 +SPRITEANIMSTRUCT_FRAME rb ; a +SPRITEANIMSTRUCT_JUMPTABLE_INDEX rb ; b +SPRITEANIMSTRUCT_VAR1 rb ; c +SPRITEANIMSTRUCT_VAR2 rb ; d +SPRITEANIMSTRUCT_VAR3 rb ; e +SPRITEANIMSTRUCT_VAR4 rb ; f +SPRITEANIMSTRUCT_LENGTH EQU _RS NUM_SPRITE_ANIM_STRUCTS EQU 10 ; see wSpriteAnimationStructs ; wSpriteAnimDict keys (see wram.asm) |