mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-06 19:50:01 +01:00
tweak formula
This commit is contained in:
parent
92429c7649
commit
f9cc09dc48
@ -7195,7 +7195,7 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
|||||||
// gBattleStruct->sameMoveTurns incremented in ppreduce
|
// gBattleStruct->sameMoveTurns incremented in ppreduce
|
||||||
if (gBattleStruct->sameMoveTurns[battlerAtk] != 0)
|
if (gBattleStruct->sameMoveTurns[battlerAtk] != 0)
|
||||||
{
|
{
|
||||||
basePower += (40 * gBattleStruct->sameMoveTurns[battlerAtk]);
|
basePower += (basePower * gBattleStruct->sameMoveTurns[battlerAtk]);
|
||||||
if (basePower > 200)
|
if (basePower > 200)
|
||||||
basePower = 200;
|
basePower = 200;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user