Implemented Guts' missing effect

This commit is contained in:
LOuroboros 2020-11-16 20:22:59 -03:00
parent fb8a6b408f
commit 9c6a5f1ab6

View File

@ -6922,6 +6922,10 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
if (gDisableStructs[battlerDef].isFirstTurn == 2) // just switched in
MulModifier(&modifier, UQ_4_12(2.0));
break;
case ABILITY_GUTS:
if (gBattleMons[battlerAtk].status1 & STATUS1_ANY && IS_MOVE_PHYSICAL(move))
MulModifier(&modifier, UQ_4_12(1.5));
break;
}
// target's abilities