summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-06-13 16:15:11 -0400
committerGitHub <noreply@github.com>2020-06-13 16:15:11 -0400
commitc2a07276ae095a2345f68e34fcd76cdaffd889ea (patch)
tree9daf711e52915bee634e3a051f5a4f88db1d4a8f /include/constants
parenta9a427c6f268e04468c8e30242f3ed4f96036848 (diff)
parent46f4a4bbf7239743c333cd32d30b74a7b3176acc (diff)
Merge branch 'master' into doc-link
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