Document item use functions in pokemon.c

This commit is contained in:
PikalaxALT
2021-03-16 21:16:31 -04:00
parent c4b61cc0ed
commit 4d86834d12
10 changed files with 223 additions and 216 deletions
+1 -1
View File
@@ -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;