Merge pull request #1587 from BuffelSaft/shields-down

Fix Shields Down
This commit is contained in:
Eduardo Quezada D'Ottone 2021-10-02 00:12:29 -03:00 committed by GitHub
commit b322a42fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7285,7 +7285,7 @@ u32 IsLeafGuardProtected(u32 battler)
bool32 IsShieldsDownProtected(u32 battler)
{
return (gBattleMons[battler].ability == ABILITY_SHIELDS_DOWN
&& gBattleMons[battler].species == SPECIES_MINIOR);
&& GetFormIdFromFormSpeciesId(gBattleMons[battler].species) < GetFormIdFromFormSpeciesId(SPECIES_MINIOR_CORE_RED)); // Minior is not in core form
}
u32 IsAbilityStatusProtected(u32 battler)