From 2ebffb991283eb90c3310b5746049276720f9a23 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 29 Sep 2018 13:53:37 +0200 Subject: [PATCH] allow gen7 moves and abilities for debug --- src/battle_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battle_debug.c b/src/battle_debug.c index cf5fb881ae..b69f9e0a80 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;