summaryrefslogtreecommitdiff
path: root/src/tv.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-09-08 11:53:48 -0400
committerhuderlem <huderlem@gmail.com>2019-09-16 19:21:23 -0500
commit85d97542cdb269278aad3cc3735c29845f9d8738 (patch)
tree73ed7b2dd004aff52c7f6816ac5e7bb2652c9a7f /src/tv.c
parent258784f263d7834696db552a1b47cf6bd1dfd6b4 (diff)
Use MAX_MON_MOVES constants
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tv.c b/src/tv.c
index ef826a4af..1c014d103 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -182,7 +182,7 @@ static void DoTVShowPokemonContestLiveUpdates2(void);
static const struct {
u16 species;
- u16 moves[4];
+ u16 moves[MAX_MON_MOVES];
u8 level;
u8 location;
} sPokeOutbreakSpeciesList[] = {
@@ -2329,7 +2329,7 @@ void sub_80EE35C(u16 foeSpecies, u16 species, u8 moveIdx, const u16 *movePtr, u1
show->battleSeminar.foeSpecies = foeSpecies;
show->battleSeminar.species = species;
show->battleSeminar.move = movePtr[moveIdx];
- for (i = 0, j = 0; i < 4; i ++)
+ for (i = 0, j = 0; i < MAX_MON_MOVES; i ++)
{
if (i != moveIdx && movePtr[i])
{