mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 17:34:20 +01:00
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
@ -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…
x
Reference in New Issue
Block a user