Cries are pitched down when at low HP
parent
baaa00656e
commit
34f748f331
|
@ -1148,7 +1148,7 @@ export class SummonPhase extends PartyMemberPokemonPhase {
|
||||||
ease: 'Sine.easeIn',
|
ease: 'Sine.easeIn',
|
||||||
scale: pokemon.getSpriteScale(),
|
scale: pokemon.getSpriteScale(),
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
pokemon.cry();
|
pokemon.cry(pokemon.getHpRatio() > 0.25 ? undefined : { rate: 0.85 });
|
||||||
pokemon.getSprite().clearTint();
|
pokemon.getSprite().clearTint();
|
||||||
pokemon.resetSummonData();
|
pokemon.resetSummonData();
|
||||||
this.scene.time.delayedCall(1000, () => this.end());
|
this.scene.time.delayedCall(1000, () => this.end());
|
||||||
|
@ -3736,7 +3736,7 @@ export class AttemptCapturePhase extends PokemonPhase {
|
||||||
|
|
||||||
this.scene.playSound('pb_rel');
|
this.scene.playSound('pb_rel');
|
||||||
pokemon.setY(this.originalY);
|
pokemon.setY(this.originalY);
|
||||||
pokemon.cry();
|
pokemon.cry(pokemon.getHpRatio() > 0.25 ? undefined : { rate: 0.85 });
|
||||||
pokemon.tint(getPokeballTintColor(this.pokeballType));
|
pokemon.tint(getPokeballTintColor(this.pokeballType));
|
||||||
pokemon.setVisible(true);
|
pokemon.setVisible(true);
|
||||||
pokemon.untint(250, 'Sine.easeOut');
|
pokemon.untint(250, 'Sine.easeOut');
|
||||||
|
|
Loading…
Reference in New Issue