Fixes Guts countering frostbite spAtk reduction (#4351)

This commit is contained in:
sneed 2024-04-05 19:11:11 +03:00 committed by GitHub
parent d1c2a10af6
commit 520efa01c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9555,8 +9555,7 @@ static inline uq4_12_t GetBurnOrFrostBiteModifier(u32 battlerAtk, u32 move, u32
return UQ_4_12(0.5);
if (gBattleMons[battlerAtk].status1 & STATUS1_FROSTBITE
&& IS_MOVE_SPECIAL(move)
&& (B_BURN_FACADE_DMG < GEN_6 || gMovesInfo[move].effect != EFFECT_FACADE)
&& abilityAtk != ABILITY_GUTS)
&& (B_BURN_FACADE_DMG < GEN_6 || gMovesInfo[move].effect != EFFECT_FACADE))
return UQ_4_12(0.5);
return UQ_4_12(1.0);
}