Merge pull request #1491 from surskitty/mega_evolution_hidden_abilities
Pokemon with no ability recheck first ability slot.
This commit is contained in:
commit
2ad251cec3
1 changed files with 3 additions and 0 deletions
|
@ -5374,6 +5374,9 @@ u8 GetAbilityBySpecies(u16 species, u8 abilityNum)
|
|||
else
|
||||
gLastUsedAbility = gBaseStats[species].abilities[0];
|
||||
|
||||
if (gLastUsedAbility == ABILITY_NONE)
|
||||
gLastUsedAbility = gBaseStats[species].abilities[0];
|
||||
|
||||
return gLastUsedAbility;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue