summaryrefslogtreecommitdiff
path: root/include/pokedex_screen.h
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2021-02-11 21:50:39 -0500
committerKurausukun <lord.uber1@gmail.com>2021-02-11 21:50:39 -0500
commit6c77c7a714e2e3dc674b24d8aaa96ccf63d51d95 (patch)
treedea4d43193696bb2e3d78b65737b92cd08a27b1b /include/pokedex_screen.h
parenta34c9d09b6b4da949ec6da6fa31b9f6eb12bdbee (diff)
[LEAK-INFORMED] match the rest of pokedex_screen
Diffstat (limited to 'include/pokedex_screen.h')
-rw-r--r--include/pokedex_screen.h5
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[];