Small change how hidden abilities are accessed in PE

This commit is contained in:
TheXaman 2021-06-09 23:10:25 +02:00
parent 6556d5291b
commit 1463b857c3

View file

@ -7022,7 +7022,7 @@ static void PrintMonStatsToggle(u8 taskId)
#ifdef POKEMON_EXPANSION
else //Hidden abilities
{
ability0 = gBaseStats[species].abilityHidden;
ability0 = gBaseStats[species].abilities[2];
PrintInfoScreenTextSmallWhite(gAbilityNames[ability0], abilities_x, abilities_y);
PrintInfoScreenTextSmall(gAbilityDescriptionPointers[ability0], abilities_x, abilities_y + 14);
}