diff options
author | Sierra A <6080951+Sierraffinity@users.noreply.github.com> | 2020-06-10 17:17:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 17:17:35 -0700 |
commit | 46f4a4bbf7239743c333cd32d30b74a7b3176acc (patch) | |
tree | bf38b6f1e63f1cd485e60adcdb8899bafde56fc7 /include/constants | |
parent | a05eea93122f04e4aa3580e0e505376ead0d6e19 (diff) | |
parent | 74edaed4265cc7e964a5383c3e0fb8ef256f2bf8 (diff) |
Merge pull request #1074 from Sierraffinity/item-menu-cleanup
Begin item_menu.c cleanup
Diffstat (limited to 'include/constants')
-rw-r--r-- | include/constants/item.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/constants/item.h b/include/constants/item.h index a5c34418d..3277f2379 100644 --- a/include/constants/item.h +++ b/include/constants/item.h @@ -16,5 +16,9 @@ #define KEYITEMS_POCKET 4 #define POCKETS_COUNT 5 +// The TM/HM pocket is the largest pocket, so the maximum amount of items +// in a pocket is its count + 1 for the cancel option +#define MAX_POCKET_ITEMS (BAG_TMHM_COUNT + 1) + #endif // GUARD_ITEM_CONSTANTS_H |