mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +01:00
Fix Acrobatics gem boost
This commit is contained in:
parent
a2cc51ac93
commit
432ae46570
@ -5519,7 +5519,9 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
||||
}
|
||||
break;
|
||||
case EFFECT_ACROBATICS:
|
||||
if (gBattleMons[battlerAtk].item == ITEM_NONE)
|
||||
if (gBattleMons[battlerAtk].item == ITEM_NONE
|
||||
// Edge case, because removal of items happens after damage calculation.
|
||||
|| (gSpecialStatuses[battlerAtk].gemBoost && GetBattlerHoldEffect(battlerAtk, FALSE) == HOLD_EFFECT_GEMS))
|
||||
basePower *= 2;
|
||||
break;
|
||||
case EFFECT_LOW_KICK:
|
||||
|
Loading…
Reference in New Issue
Block a user