Fix Foul Play
if != else if. Pretty sure I broke this when adding Body Press.
This commit is contained in:
parent
9a72178fa2
commit
35af7a9cc1
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue