diff options
author | golem galvanize <golemgalvanize@github.com> | 2018-02-12 14:00:47 -0500 |
---|---|---|
committer | golem galvanize <golemgalvanize@github.com> | 2018-02-12 14:00:47 -0500 |
commit | 4ac064bbaf54966082a860e6b6723c5ec654c436 (patch) | |
tree | b419b2bb1a7fe7d17c440d58e5000c21e832386c /include/constants/items.h | |
parent | f81c52b56e865d8ecc753a69a31a5148548320a6 (diff) | |
parent | a4787bc06a323071d32d3e0705e9cd39d9221452 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu
Diffstat (limited to 'include/constants/items.h')
-rw-r--r-- | include/constants/items.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/constants/items.h b/include/constants/items.h index ca6fdbf64..8717ecbd5 100644 --- a/include/constants/items.h +++ b/include/constants/items.h @@ -464,4 +464,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 |