Small change to hidden ability (#3)

This commit is contained in:
Jaizu 2021-06-09 23:07:05 +02:00 committed by GitHub
parent c92c3456b1
commit 4e98c268c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1970,7 +1970,7 @@ static void DebugAction_Give_Pokemon_SelectAbility(u8 taskId)
if (gBaseStats[sDebugMonData->mon_speciesId].abilities[1] != ABILITY_NONE)
abilityCount++;
#ifdef POKEMON_EXPANSION
if (gBaseStats[sDebugMonData->mon_speciesId].abilityHidden != ABILITY_NONE)
if (gBaseStats[sDebugMonData->mon_speciesId].abilities[2] != ABILITY_NONE)
abilityCount++;
#endif
if (gMain.newKeys & DPAD_ANY)