summaryrefslogtreecommitdiff
path: root/include/constants/items.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-02-17 22:03:02 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-02-17 22:03:02 -0500
commitde302527c3eb7fae0c09236b6d405ea64f579845 (patch)
treeb692c7e99ed61fd558f59feed5a77f768cb05744 /include/constants/items.h
parent08a79136313ec5d82d1e62f3c9bcd2c9967a9e89 (diff)
parent28987bb1cd0e6864257ff0434508dddcddb22e98 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into evobjmv
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