summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-14 03:58:20 -0500
committerGriffinR <griffin.richards@comcast.net>2019-12-17 20:56:13 -0500
commitddfa0c6298f4c4dcde9b40782bbdf41867bff761 (patch)
tree91f6af03f1d2c0e8b464c865f7fb3e91630f30ad /src/data
parent49f1a90534180445d293761e2bdac165b49319a2 (diff)
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,