diff --git a/src/battle_debug.c b/src/battle_debug.c index cf5fb881a..b69f9e0a8 100644 --- a/src/battle_debug.c +++ b/src/battle_debug.c @@ -1265,7 +1265,7 @@ static void SetUpModifyArrows(struct BattleDebugMenu *data) { case LIST_ITEM_ABILITY: data->modifyArrows.minValue = 0; - data->modifyArrows.maxValue = ABILITIES_COUNT_GEN6 - 1; + data->modifyArrows.maxValue = ABILITIES_COUNT_GEN7 - 1; data->modifyArrows.maxDigits = 3; data->modifyArrows.modifiedValPtr = &gBattleMons[data->battlerId].ability; data->modifyArrows.typeOfVal = VAL_U8; @@ -1273,7 +1273,7 @@ static void SetUpModifyArrows(struct BattleDebugMenu *data) break; case LIST_ITEM_MOVES: data->modifyArrows.minValue = 0; - data->modifyArrows.maxValue = MOVES_COUNT_GEN6 - 1; + data->modifyArrows.maxValue = MOVES_COUNT_GEN7 - 1; data->modifyArrows.maxDigits = 3; data->modifyArrows.modifiedValPtr = &gBattleMons[data->battlerId].moves[data->currentSecondaryListItemId]; data->modifyArrows.typeOfVal = VAL_U16;