Fix Venoshock

Damage should double if target is poisoned, not attacker.
This commit is contained in:
BuffelSaft 2021-08-25 22:57:10 +12:00
parent 38120afbac
commit bb89d03a1d

View File

@ -7453,7 +7453,7 @@ static u32 CalcMoveBasePowerAfterModifiers(u16 move, u8 battlerAtk, u8 battlerDe
MulModifier(&modifier, UQ_4_12(2.0));
break;
case EFFECT_VENOSHOCK:
if (gBattleMons[battlerAtk].status1 & STATUS1_PSN_ANY)
if (gBattleMons[battlerDef].status1 & STATUS1_PSN_ANY)
MulModifier(&modifier, UQ_4_12(2.0));
break;
case EFFECT_RETALITATE: