summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-12-25 11:39:20 -0600
committerGitHub <noreply@github.com>2019-12-25 11:39:20 -0600
commitee61726136c4d3c9a84eb89672890b66e31f4f45 (patch)
tree3cdbd28208021c88c14c5d014f7b59699b7783e7 /src/data
parent026e1108b26f4ce5cea362997135bd8efc7cb28a (diff)
parent23f952b34ecc3d527b2bfee86ee1f35e1abe8246 (diff)
Merge pull request #936 from GriffinRichards/doc-tower
Document Battle Tower scripts
Diffstat (limited to 'src/data')
-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,