summaryrefslogtreecommitdiff
path: root/src/data/battle_frontier
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-08 01:15:36 -0500
committerGitHub <noreply@github.com>2020-01-08 01:15:36 -0500
commite5df61e362beaaab9ae4344f4f160397df9c54cc (patch)
tree8bb86e5e523406b21daa08aff9bce080184fe31e /src/data/battle_frontier
parent017fa294b5c88ddd7513cb4976b5c29cad0b94a5 (diff)
parent8b1595ebc36a623240fa8dd509864f5400eed1f9 (diff)
Merge branch 'master' into doc-dome
Diffstat (limited to 'src/data/battle_frontier')
-rw-r--r--src/data/battle_frontier/apprentice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/battle_frontier/apprentice.h b/src/data/battle_frontier/apprentice.h
index 0fdb87f96..349dc9619 100644
--- a/src/data/battle_frontier/apprentice.h
+++ b/src/data/battle_frontier/apprentice.h
@@ -934,7 +934,7 @@ static const bool8 sValidApprenticeMoves[MOVES_COUNT] =
// WHICH_MOVE has max 5 occurrences, defined as NUM_WHICH_MOVE_QUESTIONS
// WHICH_FIRST has max 1 occurrence, lead mon should only be chosen once
// WHICH_SPEECH has max 1 occurrence, as the apprentice leaves after its asked
-static const u8 sQuestionPossibilities[] =
+static const u8 sQuestionPossibilities[MAX_APPRENTICE_QUESTIONS] =
{
QUESTION_ID_WHAT_ITEM,
QUESTION_ID_WHAT_ITEM,