From e54247c225bc9605567cc0f2fc9e58e09e50cfdc Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Mon, 8 Oct 2018 00:57:51 -0400 Subject: partially decompile pokemon.c --- include/constants/items.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/constants/items.h') 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 -- cgit v1.2.3