From 149b3453f6bbb28bbd825a2b5d2f611b73bfaa9b Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sun, 3 Nov 2019 19:58:04 +0100 Subject: [PATCH] Fix Punishment dmg --- src/battle_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index a00b7c87ef..093288cb58 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -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;