Fix Brine (#388)

Addresses #387
This commit is contained in:
LOuroboros 2020-05-24 05:05:26 -03:00 committed by GitHub
parent de6811b85e
commit fa1e5d1a37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5882,7 +5882,7 @@ static u32 CalcMoveBasePowerAfterModifiers(u16 move, u8 battlerAtk, u8 battlerDe
MulModifier(&modifier, UQ_4_12(2.0));
break;
case EFFECT_BRINE:
if (gBattleMons[battlerAtk].hp <= (gBattleMons[battlerAtk].maxHP / 2))
if (gBattleMons[battlerDef].hp <= (gBattleMons[battlerDef].maxHP / 2))
MulModifier(&modifier, UQ_4_12(2.0));
break;
case EFFECT_VENOSHOCK: