Skip to content

Commit

Permalink
Fixes Guts countering frostbite spAtk reduction (rh-hideout#4351)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneed69 authored and Pawkkie committed May 16, 2024
1 parent 086f191 commit f01288d
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 @@ -9751,8 +9751,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 || gBattleMoves[move].effect != EFFECT_FACADE)
&& abilityAtk != ABILITY_GUTS)
&& (B_BURN_FACADE_DMG < GEN_6 || gBattleMoves[move].effect != EFFECT_FACADE))
return UQ_4_12(0.5);
return UQ_4_12(1.0);
}
Expand Down

0 comments on commit f01288d

Please sign in to comment.