mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-24 06:28:37 +01:00
Stakeout
This commit is contained in:
parent
cbc0d8a57d
commit
307bbcfe97
@ -5817,6 +5817,10 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
|
|||||||
if (IS_MOVE_PHYSICAL(move))
|
if (IS_MOVE_PHYSICAL(move))
|
||||||
MulModifier(&modifier, UQ_4_12(1.5));
|
MulModifier(&modifier, UQ_4_12(1.5));
|
||||||
break;
|
break;
|
||||||
|
case ABILITY_STAKEOUT:
|
||||||
|
if (gDisableStructs[battlerDef].isFirstTurn == 2) // just switched in
|
||||||
|
MulModifier(&modifier, UQ_4_12(2.0));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// target's abilities
|
// target's abilities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user