Fix ability select in debug givemon (#2999)

This commit is contained in:
ghoulslash 2023-05-12 09:57:37 -04:00 committed by GitHub
commit d71465d26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2327,7 +2327,7 @@ static void DebugAction_Give_Pokemon_SelectNature(u8 taskId)
}
static void DebugAction_Give_Pokemon_SelectAbility(u8 taskId)
{
u8 abilityId;
u16 abilityId;
u8 abilityCount = NUM_ABILITY_SLOTS - 1; //-1 for proper iteration
u8 i = 0;