summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2018-02-06 19:45:56 -0600
committerGitHub <noreply@github.com>2018-02-06 19:45:56 -0600
commitc79d259508d47a8b5bde5b9060b8fe8c6989bd44 (patch)
tree912c739848391da17525e57420570b3730053675 /include/constants
parent5969695b8bbdab5182d0d651bbd2d256a12c0404 (diff)
parent9a8ec555e68fb143ffe900c778ddb85d5bd145a5 (diff)
Merge pull request #541 from camthesaxman/german_debug
build German debug version
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/decorations.h2
-rw-r--r--include/constants/items.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/constants/decorations.h b/include/constants/decorations.h
index 2e3558721..c361ccdf1 100644
--- a/include/constants/decorations.h
+++ b/include/constants/decorations.h
@@ -123,4 +123,6 @@
#define DECOR_REGICE_DOLL 119
#define DECOR_REGISTEEL_DOLL 120
+#define DECOR_COUNT 121
+
#endif // GUARD_CONSTANTS_DECORATIONS_H
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