Merge pull request #1606 from BuffelSaft/venoshock

Fix Venoshock
This commit is contained in:
ghoulslash 2021-08-25 13:53:24 -06:00 committed by GitHub
commit b6d0996467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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