summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-08 05:43:06 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-08 05:43:06 -0500
commitef67f2d33b45348d76d722f250cdbcc8485be264 (patch)
tree2fb5d08a962dea3329bcd876ea2d237cf8c6d3c1 /src/data
parent68cdd7b1cb5a293b3de42185fe17d85b4067b3ad (diff)
Merge master into ObjEvent rename and prune accidental inclusions
Diffstat (limited to 'src/data')
-rw-r--r--src/data/battle_frontier/apprentice.h2
-rw-r--r--src/data/pokemon/item_effects.h2
2 files changed, 2 insertions, 2 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,
diff --git a/src/data/pokemon/item_effects.h b/src/data/pokemon/item_effects.h
index 2c153b0ef..698d97a43 100644
--- a/src/data/pokemon/item_effects.h
+++ b/src/data/pokemon/item_effects.h
@@ -236,7 +236,7 @@ const u8 gItemEffect_PPMax[9] = {
};
const u8 gItemEffect_GuardSpec[8] = {
- [3] = ITEM3_MIST,
+ [3] = ITEM3_GUARD_SPEC,
[5] = ITEM5_FRIENDSHIP_LOW | ITEM5_FRIENDSHIP_MID,
[6] = 1,
[7] = 1,