Merge pull request #1668 from BuffelSaft/foulplay

Fix Foul Play
This commit is contained in:
Eduardo Quezada D'Ottone 2021-09-22 11:49:42 -03:00 committed by GitHub
commit 1795154754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7791,7 +7791,7 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
atkStage = gBattleMons[battlerDef].statStages[STAT_SPATK];
}
}
if (gBattleMoves[move].effect == EFFECT_BODY_PRESS)
else if (gBattleMoves[move].effect == EFFECT_BODY_PRESS)
{
atkStat = gBattleMons[battlerAtk].defense;
atkStage = gBattleMons[battlerAtk].statStages[STAT_DEF];