Skip to content

Commit

Permalink
Fixes Guts countering frostbite spAtk reduction (#4351)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneed69 committed Apr 5, 2024
1 parent d1c2a10 commit 520efa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 520efa0

Please sign in to comment.