Small change to hidden ability (#3)

This commit is contained in:
Jaizu authored and GitHub committed 2021-06-09 23:07:05 +02:00
1 parent c92c3456b1
commit 4e98c268c1
1 file changed
+1 -1
+1 -1
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)