diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-16 21:16:31 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-16 21:16:31 -0400 |
commit | 4d86834d12f788d78ec0ae9fc4ba999f7a0e1fc7 (patch) | |
tree | 4ebf603b351499e969df85896f7d1b860fd297bb /src/battle_main.c | |
parent | c4b61cc0ed966a194942256ce6c2936f8183d414 (diff) |
Document item use functions in pokemon.c
Diffstat (limited to 'src/battle_main.c')
-rw-r--r-- | src/battle_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_main.c b/src/battle_main.c index 361c5d9af..f4be6c33e 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -3791,7 +3791,7 @@ static void TryEvolvePokemon(void) levelUpBits &= ~(gBitTable[i]); gLeveledUpInBattle = levelUpBits; - species = GetEvolutionTargetSpecies(&gPlayerParty[i], 0, levelUpBits); + species = GetEvolutionTargetSpecies(&gPlayerParty[i], EVOTRIGGER_LEVEL_UP, levelUpBits); if (species != SPECIES_NONE) { gBattleMainFunc = WaitForEvoSceneToFinish; |