diff options
Diffstat (limited to 'include/pokemon_storage_system_internal.h')
-rw-r--r-- | include/pokemon_storage_system_internal.h | 4 |
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; |