summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/item.h4
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