summaryrefslogtreecommitdiff
path: root/include/constants/items.h
diff options
context:
space:
mode:
authorCameron Hall <cameronghall@cox.net>2018-01-25 00:07:15 -0600
committerCameron Hall <cameronghall@cox.net>2018-01-25 00:07:15 -0600
commit4c1e0b8b303320a173203b8ab94c2a695555ace3 (patch)
treed4d9b533701d73709a3cf58676678ab0e32a9ec9 /include/constants/items.h
parentd6f6e12490f5d980c66c2de0f767bbaf8da75da1 (diff)
integrate debug functions in mail.c and decompile some debug code
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