summaryrefslogtreecommitdiff
path: root/include/constants/items.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-08 00:57:51 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-08 00:57:51 -0400
commite54247c225bc9605567cc0f2fc9e58e09e50cfdc (patch)
tree5096651c9f496d0cbae761803fd51d245b1fbe69 /include/constants/items.h
parentf285a81e859bb045725acac3d33f2d7d665ee8c5 (diff)
partially decompile pokemon.c
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 6135b8d6f..dd2b4c4ed 100644
--- a/include/constants/items.h
+++ b/include/constants/items.h
@@ -390,4 +390,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