summaryrefslogtreecommitdiff
path: root/include/constants/items.h
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-02-11 22:13:15 -0600
committerGitHub <noreply@github.com>2018-02-11 22:13:15 -0600
commita4787bc06a323071d32d3e0705e9cd39d9221452 (patch)
tree2d28f4c71469281f6c1edbeb14205551642b25bd /include/constants/items.h
parent98860220e9317a86b9171677086c9dc7cbeaf0f0 (diff)
parent1bb05809d21fc86017e49e722e9d22a2f0c111fc (diff)
Merge pull request #207 from DizzyEggg/decompile_pokemon_123
Decompile and clean pokemon files
Diffstat (limited to 'include/constants/items.h')
-rw-r--r--include/constants/items.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/constants/items.h b/include/constants/items.h
index ca6fdbf64..8717ecbd5 100644
--- a/include/constants/items.h
+++ b/include/constants/items.h
@@ -464,4 +464,7 @@
#define NUM_TECHNICAL_MACHINES 50
#define NUM_HIDDEN_MACHINES 8
+// Check if the item is one that can be used on a Pokemon.
+#define IS_POKEMON_ITEM(item) ((item) >= ITEM_POTION && (item) <= ITEM_0B2)
+
#endif // GUARD_CONSTANTS_ITEMS_H