diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2021-03-08 07:01:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 07:01:30 -0800 |
commit | f9431c6aab479601ee0229a109154fa4f8b8b889 (patch) | |
tree | 39a5c61fd37951b562c35db534d16146d531a7e5 /constants/sprite_constants.asm | |
parent | fb3e541e86ac6c95ad027d9c5dac055f00643aa7 (diff) | |
parent | e950809640f81c5d621c39becc4dcce15a82c064 (diff) |
Merge pull request #69 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
Diffstat (limited to 'constants/sprite_constants.asm')
-rw-r--r-- | constants/sprite_constants.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/constants/sprite_constants.asm b/constants/sprite_constants.asm index f3815283..021e05fd 100644 --- a/constants/sprite_constants.asm +++ b/constants/sprite_constants.asm @@ -97,6 +97,7 @@ const SPRITE_FRUIT_TREE ; 5d const SPRITE_GOLD_TROPHY ; 5e const SPRITE_SILVER_TROPHY ; 5f +NUM_OVERWORLD_SPRITES EQU const_value - 1 ; SpriteMons indexes (see data/sprites/sprite_mons.asm) const_next $80 @@ -136,6 +137,7 @@ SPRITE_POKEMON EQU const_value const SPRITE_GYARADOS ; a0 const SPRITE_LUGIA ; a1 const SPRITE_HO_OH ; a2 +NUM_POKEMON_SPRITES EQU const_value - SPRITE_POKEMON ; special GetMonSprite values (see engine/overworld/overworld.asm) const_next $e0 |