summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-03 15:04:25 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-02-03 17:55:37 -0500
commit15906ca1433279d80de8770646aec36dc868faaa (patch)
treeffc269656a6123071ad9de4ca506e0fb5f0b1749 /src/pokemon.c
parent64460e01aede2bbcaa8d1dd18dd3fab590fa4a6e (diff)
Document evolution scene
Diffstat (limited to 'src/pokemon.c')
-rw-r--r--src/pokemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon.c b/src/pokemon.c
index 064e206a4..d890a3a6c 100644
--- a/src/pokemon.c
+++ b/src/pokemon.c
@@ -2993,7 +2993,7 @@ void GiveBoxMonInitialMoveset(struct BoxPokemon *boxMon)
u16 MonTryLearningNewMove(struct Pokemon *mon, bool8 firstMove)
{
- u32 retVal = 0;
+ u32 retVal = MOVE_NONE;
u16 species = GetMonData(mon, MON_DATA_SPECIES, NULL);
u8 level = GetMonData(mon, MON_DATA_LEVEL, NULL);
@@ -3009,7 +3009,7 @@ u16 MonTryLearningNewMove(struct Pokemon *mon, bool8 firstMove)
{
sLearningMoveTableID++;
if (gLevelUpLearnsets[species][sLearningMoveTableID] == LEVEL_UP_END)
- return 0;
+ return MOVE_NONE;
}
}