mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 15:38:11 +01:00
Merge pull request #1234 from LOuroboros/guts
Implemented Guts' missing effect
This commit is contained in:
commit
06e3097d44
@ -6922,6 +6922,10 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
|
|||||||
if (gDisableStructs[battlerDef].isFirstTurn == 2) // just switched in
|
if (gDisableStructs[battlerDef].isFirstTurn == 2) // just switched in
|
||||||
MulModifier(&modifier, UQ_4_12(2.0));
|
MulModifier(&modifier, UQ_4_12(2.0));
|
||||||
break;
|
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
|
// target's abilities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user