From f4d34f70c42dc5fd4bb152fb67f06c37656edf3a Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sun, 10 Jan 2021 01:54:41 -0300 Subject: [PATCH] Renamed some X Defend labels to reflect its new name --- src/data/pokemon/item_effects.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/pokemon/item_effects.h b/src/data/pokemon/item_effects.h index bbc88cac7..eebdf5223 100644 --- a/src/data/pokemon/item_effects.h +++ b/src/data/pokemon/item_effects.h @@ -335,9 +335,9 @@ const u8 gItemEffect_XAttack[8] = { [7] = 1, }; -const u8 gItemEffect_XDefend[8] = { +const u8 gItemEffect_XDefense[8] = { #ifdef BATTLE_ENGINE - [1] = ITEM1_X_DEFEND, + [1] = ITEM1_X_DEFENSE, #else [1] = 1 << 4, #endif @@ -539,7 +539,7 @@ const u8 *const gItemEffectTable[] = [ITEM_GUARD_SPEC - ITEM_POTION] = gItemEffect_GuardSpec, [ITEM_DIRE_HIT - ITEM_POTION] = gItemEffect_DireHit, [ITEM_X_ATTACK - ITEM_POTION] = gItemEffect_XAttack, - [ITEM_X_DEFENSE - ITEM_POTION] = gItemEffect_XDefend, + [ITEM_X_DEFENSE - ITEM_POTION] = gItemEffect_XDefense, [ITEM_X_SPEED - ITEM_POTION] = gItemEffect_XSpeed, [ITEM_X_ACCURACY - ITEM_POTION] = gItemEffect_XAccuracy, [ITEM_X_SP_ATK - ITEM_POTION] = gItemEffect_XSpecialAttack,