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

@ -7309,16 +7309,8 @@ 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;
{ atkStage = gBattleMons[battlerAtk].statStages[STAT_DEF];
atkStat = gBattleMons[battlerAtk].defense;
atkStage = gBattleMons[battlerAtk].statStages[STAT_DEF];
}
else
{
atkStat = gBattleMons[battlerAtk].spDefense;
atkStage = gBattleMons[battlerAtk].statStages[STAT_SPDEF];
}
} }
else else
{ {