Fix move skipping from Candy Jar levels

This commit is contained in:
Flashfyre 2024-03-25 18:31:51 -04:00
parent 0a0e3fe0df
commit 6c89af4488
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ export class PokemonLevelIncrementModifier extends ConsumablePokemonModifier {
pokemon.levelExp = 0;
}
pokemon.scene.unshiftPhase(new LevelUpPhase(pokemon.scene, pokemon.scene.getParty().indexOf(pokemon), pokemon.level - 1, pokemon.level));
pokemon.scene.unshiftPhase(new LevelUpPhase(pokemon.scene, pokemon.scene.getParty().indexOf(pokemon), pokemon.level - levelCount.value, pokemon.level));
return true;
}