From 91c92e9c045024feae939b6afb99b717611468a6 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Mon, 4 Jan 2021 03:36:33 -0300 Subject: [PATCH] #if X_ITEMS_REWORK == TRUE -> #ifdef BATTLE_ENGINE --- src/data/pokemon/item_effects.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/data/pokemon/item_effects.h b/src/data/pokemon/item_effects.h index 25cee98e92..edf22e6e5a 100644 --- a/src/data/pokemon/item_effects.h +++ b/src/data/pokemon/item_effects.h @@ -325,7 +325,7 @@ const u8 gItemEffect_DireHit[8] = { }; const u8 gItemEffect_XAttack[8] = { -#if X_ITEMS_REWORK == TRUE +#ifdef BATTLE_ENGINE [1] = ITEM1_X_ATTACK, #else [0] = 1, @@ -336,7 +336,7 @@ const u8 gItemEffect_XAttack[8] = { }; const u8 gItemEffect_XDefend[8] = { -#if X_ITEMS_REWORK == TRUE +#ifdef BATTLE_ENGINE [1] = ITEM1_X_DEFEND, #else [1] = 1 << 4, @@ -347,7 +347,7 @@ const u8 gItemEffect_XDefend[8] = { }; const u8 gItemEffect_XSpeed[8] = { -#if X_ITEMS_REWORK == TRUE +#ifdef BATTLE_ENGINE [1] = ITEM1_X_SPEED, #else [1] = 1, @@ -358,7 +358,7 @@ const u8 gItemEffect_XSpeed[8] = { }; const u8 gItemEffect_XAccuracy[8] = { -#if X_ITEMS_REWORK == TRUE +#ifdef BATTLE_ENGINE [1] = ITEM1_X_ACCURACY, #else [2] = 1 << 4, @@ -369,7 +369,7 @@ const u8 gItemEffect_XAccuracy[8] = { }; const u8 gItemEffect_XSpecialAttack[8] = { -#if X_ITEMS_REWORK == TRUE +#ifdef BATTLE_ENGINE [1] = ITEM1_X_SPATK, #else [2] = 1, @@ -380,7 +380,7 @@ const u8 gItemEffect_XSpecialAttack[8] = { }; const u8 gItemEffect_XSpecialDefense[8] = { -#if X_ITEMS_REWORK == TRUE +#ifdef BATTLE_ENGINE [1] = ITEM1_X_SPDEF, #else [2] = 1,