Fix Payback not boosting on switching

This commit is contained in:
DizzyEggg 2020-04-12 12:14:22 +02:00
parent 060b795d8e
commit 458809c5f7

View file

@ -5365,7 +5365,7 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
}
break;
case EFFECT_PAYBACK:
if (GetBattlerTurnOrderNum(battlerAtk) > GetBattlerTurnOrderNum(battlerDef))
if (GetBattlerTurnOrderNum(battlerAtk) > GetBattlerTurnOrderNum(battlerDef) && gDisableStructs[battlerDef].isFirstTurn != 2)
basePower *= 2;
break;
case EFFECT_ROUND: