mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-30 14:20:42 +01:00
Merge pull request #1643 from ghoulslash/echoed_voice
better echoed voice power boost
This commit is contained in:
commit
c5b810b508
@ -7195,10 +7195,9 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
||||
// gBattleStruct->sameMoveTurns incremented in ppreduce
|
||||
if (gBattleStruct->sameMoveTurns[battlerAtk] != 0)
|
||||
{
|
||||
if (gBattleStruct->sameMoveTurns[battlerAtk] >= 5)
|
||||
basePower *= 5;
|
||||
else
|
||||
basePower *= gBattleStruct->sameMoveTurns[battlerAtk];
|
||||
basePower += (basePower * gBattleStruct->sameMoveTurns[battlerAtk]);
|
||||
if (basePower > 200)
|
||||
basePower = 200;
|
||||
}
|
||||
break;
|
||||
case EFFECT_PAYBACK:
|
||||
|
Loading…
Reference in New Issue
Block a user