Fixed Gastro Acid's effect on Early Bird

This commit is contained in:
Eduardo Quezada D'Ottone 2021-10-02 18:16:14 -03:00
parent ebe5e03998
commit b29f5c801f

View File

@ -3126,7 +3126,7 @@ u8 AtkCanceller_UnableToUseMove(void)
else
{
u8 toSub;
if (gBattleMons[gBattlerAttacker].ability == ABILITY_EARLY_BIRD)
if (GetBattlerAbility(gBattlerAttacker) == ABILITY_EARLY_BIRD)
toSub = 2;
else
toSub = 1;