diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-10-17 11:05:44 -0700 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-10-17 11:05:44 -0700 |
commit | aa6e1a91fc89d01ad65eb532d6832767c936807a (patch) | |
tree | 77ea1ef0aa2dff7e70165741fcc455c8faaadfc7 /include/constants/items.h | |
parent | 46e957bacd9ba5538262c89bb87e1915167bb201 (diff) | |
parent | d05339979e39580b162e618087136bb220a4f20d (diff) |
Merge branch 'master' into vs_seeker
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 6135b8d6f..dd2b4c4ed 100644 --- a/include/constants/items.h +++ b/include/constants/items.h @@ -390,4 +390,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 |