From 4e98c268c1ba507bbcd18eddf153bab47bb9abdf Mon Sep 17 00:00:00 2001 From: Jaizu Date: Wed, 9 Jun 2021 23:07:05 +0200 Subject: [PATCH] Small change to hidden ability (#3) --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index 36102339e1..c6bc23fb34 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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)