summaryrefslogtreecommitdiff
path: root/include/constants/items.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-02-07 00:40:17 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-02-07 00:40:17 -0500
commit0e448936b5f77561f8bb55f3e0d27e7ed5a64c99 (patch)
tree7c529306c92bcc3e482ef4e0ac89ec941bdc4097 /include/constants/items.h
parent51ade392bf16ae4c87a18f8965b8e650fe983d03 (diff)
parenta395cd7e53ed33634eef4df22814da4ba96a3357 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'include/constants/items.h')
-rw-r--r--include/constants/items.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/constants/items.h b/include/constants/items.h
index 9b88db1da..6f54e6ee4 100644
--- a/include/constants/items.h
+++ b/include/constants/items.h
@@ -401,4 +401,6 @@
// Check if the item is one that can be used on a Pokemon.
#define IS_POKEMON_ITEM(item) ((item) >= ITEM_POTION && (item) <= ITEM_0B2)
+#define IS_ITEM_MAIL(item) ((item) >= ITEM_ORANGE_MAIL && (item) <= ITEM_RETRO_MAIL)
+
#endif // GUARD_CONSTANTS_ITEMS_H