Remove special Body Press effect

Only include the official effect for Body Press to stay faithful to the gen 8 games.
This commit is contained in:
BuffelSaft 2021-03-16 23:37:02 +13:00
parent 7d237d8ff6
commit 937c24ca51

View file

@ -7308,19 +7308,11 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
} }
} }
if (gBattleMoves[move].effect == EFFECT_BODY_PRESS) if (gBattleMoves[move].effect == EFFECT_BODY_PRESS)
{
if (IS_MOVE_PHYSICAL(move))
{ {
atkStat = gBattleMons[battlerAtk].defense; atkStat = gBattleMons[battlerAtk].defense;
atkStage = gBattleMons[battlerAtk].statStages[STAT_DEF]; atkStage = gBattleMons[battlerAtk].statStages[STAT_DEF];
} }
else else
{
atkStat = gBattleMons[battlerAtk].spDefense;
atkStage = gBattleMons[battlerAtk].statStages[STAT_SPDEF];
}
}
else
{ {
if (IS_MOVE_PHYSICAL(move)) if (IS_MOVE_PHYSICAL(move))
{ {