mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
Implemented Guts' missing effect
This commit is contained in:
parent
fb8a6b408f
commit
9c6a5f1ab6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user