Fix zombie pokemon

This commit is contained in:
Dean 2025-06-14 20:38:05 -07:00
parent a9869569fa
commit 65d24aed56

View File

@ -408,7 +408,7 @@ function summonPlayerPokemonAnimation(pokemon: PlayerPokemon): Promise<void> {
onComplete: () => { onComplete: () => {
pokemon.cry(pokemon.getHpRatio() > 0.25 ? undefined : { rate: 0.85 }); pokemon.cry(pokemon.getHpRatio() > 0.25 ? undefined : { rate: 0.85 });
pokemon.getSprite().clearTint(); pokemon.getSprite().clearTint();
pokemon.resetSummonData(); pokemon.fieldSetup(true);
globalScene.time.delayedCall(1000, () => { globalScene.time.delayedCall(1000, () => {
if (pokemon.isShiny()) { if (pokemon.isShiny()) {
globalScene.unshiftPhase(new ShinySparklePhase(pokemon.getBattlerIndex())); globalScene.unshiftPhase(new ShinySparklePhase(pokemon.getBattlerIndex()));