summaryrefslogtreecommitdiff
path: root/include/pokemon_storage_system_internal.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-03-15 12:24:33 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-03-15 12:24:33 -0400
commit39ef2a31a4dd12e8638ccf520952bd8f1eb1f36e (patch)
tree322293a9fe9ee82f121955fa0f8d01ddf25c2bb5 /include/pokemon_storage_system_internal.h
parent1e959e036d856eedc6bee1c01114ca93d361a160 (diff)
through AddMenu
Diffstat (limited to 'include/pokemon_storage_system_internal.h')
-rw-r--r--include/pokemon_storage_system_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pokemon_storage_system_internal.h b/include/pokemon_storage_system_internal.h
index 0b67fade3..3d80b4c6a 100644
--- a/include/pokemon_storage_system_internal.h
+++ b/include/pokemon_storage_system_internal.h
@@ -9,6 +9,8 @@
#define MAX_MON_ICONS 40
+#define MAX_MENU_ITEMS 7
+
enum
{
MODE_PARTY,
@@ -298,7 +300,7 @@ struct PokemonStorageSystemData
/* 0c66 */ u8 field_C6A;
/* 0c67 */ u8 field_C6B;
/* 0c68 */ struct WindowTemplate menuWindow;
- /* 0c70 */ struct StorageMenu menuItems[7];
+ /* 0c70 */ struct StorageMenu menuItems[MAX_MENU_ITEMS];
/* 0ca8 */ u8 menuItemsCount;
/* 0ca9 */ u8 menuWidth;
/* 0caa */ u8 field_CAE;