From cb22cbd3f64df1be527748bcb5bb8959404ac335 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Thu, 7 Jan 2021 16:06:55 -0300 Subject: [PATCH] Tweaked preprocessor constant in include/constants/item_effects.h --- include/constants/item_effects.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/constants/item_effects.h b/include/constants/item_effects.h index 7ed1833473..3e88ce4195 100644 --- a/include/constants/item_effects.h +++ b/include/constants/item_effects.h @@ -9,18 +9,16 @@ #define ITEM0_SACRED_ASH 0x40 #define ITEM0_INFATUATION 0x80 -// field 1 masks #ifndef ITEM_EXPANSION +// field 1 masks #define ITEM1_X_SPEED 0x0F #define ITEM1_X_DEFEND 0xF0 // field 2 masks #define ITEM2_X_SPATK 0x0F #define ITEM2_X_ACCURACY 0xF0 -#endif - -// alt field 1 masks -#ifdef ITEM_EXPANSION +#else +// new field 1 masks #define ITEM1_X_ATTACK 0x1 #define ITEM1_X_DEFEND 0x2 #define ITEM1_X_SPEED 0x4