mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 03:57:38 +01:00
Shields Down protects all meteor form Minior
This was only working with red core minior.
This commit is contained in:
parent
e6a2d2226f
commit
1f3983cb05
@ -7138,7 +7138,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) < 6); // Minior is not in core form
|
||||
}
|
||||
|
||||
u32 IsAbilityStatusProtected(u32 battler)
|
||||
|
Loading…
Reference in New Issue
Block a user