Renamed some X Defend labels to reflect its new name

This commit is contained in:
LOuroboros 2021-01-10 01:54:41 -03:00
parent db37c4f25c
commit f4d34f70c4

View File

@ -335,9 +335,9 @@ const u8 gItemEffect_XAttack[8] = {
[7] = 1, [7] = 1,
}; };
const u8 gItemEffect_XDefend[8] = { const u8 gItemEffect_XDefense[8] = {
#ifdef BATTLE_ENGINE #ifdef BATTLE_ENGINE
[1] = ITEM1_X_DEFEND, [1] = ITEM1_X_DEFENSE,
#else #else
[1] = 1 << 4, [1] = 1 << 4,
#endif #endif
@ -539,7 +539,7 @@ const u8 *const gItemEffectTable[] =
[ITEM_GUARD_SPEC - ITEM_POTION] = gItemEffect_GuardSpec, [ITEM_GUARD_SPEC - ITEM_POTION] = gItemEffect_GuardSpec,
[ITEM_DIRE_HIT - ITEM_POTION] = gItemEffect_DireHit, [ITEM_DIRE_HIT - ITEM_POTION] = gItemEffect_DireHit,
[ITEM_X_ATTACK - ITEM_POTION] = gItemEffect_XAttack, [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_SPEED - ITEM_POTION] = gItemEffect_XSpeed,
[ITEM_X_ACCURACY - ITEM_POTION] = gItemEffect_XAccuracy, [ITEM_X_ACCURACY - ITEM_POTION] = gItemEffect_XAccuracy,
[ITEM_X_SP_ATK - ITEM_POTION] = gItemEffect_XSpecialAttack, [ITEM_X_SP_ATK - ITEM_POTION] = gItemEffect_XSpecialAttack,