diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-09-24 11:39:39 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-09-24 11:39:39 -0400 |
| commit | c299cf10675164502a7c487a29014b2927a403c0 (patch) | |
| tree | 9b86cf7c96cb46e35a38a7f7b018efb032fabbcb /constants | |
| parent | Add constants and table macros for the map sprite sets (#392) (diff) | |
| download | pokeyellow-c299cf10675164502a7c487a29014b2927a403c0.tar.gz pokeyellow-c299cf10675164502a7c487a29014b2927a403c0.tar.xz pokeyellow-c299cf10675164502a7c487a29014b2927a403c0.zip | |
Use a SPRITE_SET_LENGTH constant
Diffstat (limited to 'constants')
| -rw-r--r-- | constants/sprite_set_constants.asm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/constants/sprite_set_constants.asm b/constants/sprite_set_constants.asm index 4f617c4a..56e4ccbb 100644 --- a/constants/sprite_set_constants.asm +++ b/constants/sprite_set_constants.asm @@ -36,3 +36,6 @@ DEF NUM_SPLIT_SETS EQU const_value - FIRST_SPLIT_SET ; split directions DEF EAST_WEST EQU 1 DEF NORTH_SOUTH EQU 2 + +; each sprite set has 9 walking sprites and 2 still sprites +DEF SPRITE_SET_LENGTH EQU 9 + 2 |
