diff options
author | golem galvanize <golemgalvanize@github.com> | 2018-02-13 22:12:02 -0500 |
---|---|---|
committer | golem galvanize <golemgalvanize@github.com> | 2018-02-13 22:12:02 -0500 |
commit | e5b6d15f9163cca8688cd67ca5a0563ce6667601 (patch) | |
tree | 5492d50f51f51acca9cf1861c7b5936182649364 /include/constants/items.h | |
parent | 42cfbcb197bb271e675a4b2b9e70a2647bd65532 (diff) | |
parent | 398e775d906ff4f1e5aaad3d8a9eee530c7b122d (diff) |
move data to c
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 |