diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-02-09 18:46:00 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-02-09 18:46:00 +0100 |
commit | 1a1bad312972217a7ef390df469b8cf763626a66 (patch) | |
tree | 30f526f70428465242f98ea15e660c1c5dec92e0 /include/constants | |
parent | 9e7696f25a02e233c4970f70e7b79be32646418d (diff) |
decompile pokemon_item_effect
Diffstat (limited to 'include/constants')
-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 |