mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-28 00:24:11 +01:00
Fix Punishment dmg
This commit is contained in:
parent
1d8cc9b741
commit
149b3453f6
@ -5186,7 +5186,7 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
||||
basePower = sHeatCrushPowerTable[i];
|
||||
break;
|
||||
case EFFECT_PUNISHMENT:
|
||||
basePower = 60 + (CountBattlerStatIncreases(battlerAtk, FALSE) * 20);
|
||||
basePower = 60 + (CountBattlerStatIncreases(battlerDef, FALSE) * 20);
|
||||
if (basePower > 200)
|
||||
basePower = 200;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user