From 292d460810f6a40550f6f3521374eb334243db12 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Fri, 12 May 2023 14:02:14 +0200 Subject: [PATCH] Fix ability select in debug givemon --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index 3fb79d2e86..8fff84d57d 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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;