diff options
Diffstat (limited to 'include/pokedex_screen.h')
-rw-r--r-- | include/pokedex_screen.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pokedex_screen.h b/include/pokedex_screen.h index 128fc1ad3..507750c81 100644 --- a/include/pokedex_screen.h +++ b/include/pokedex_screen.h @@ -11,6 +11,11 @@ #define DEX_CATEGORY_URBAN 7 #define DEX_CATEGORY_RARE 8 +#define DEX_CATEGORY_SIZE (sizeof(gDexCategories)/sizeof(struct { \ + const struct PokedexCategoryPage * page; \ + u8 count; \ + })) + #include "pokedex.h" extern const struct PokedexEntry gPokedexEntries[]; |