mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 01:37:36 +00:00
Cries are pitched down when at low HP
This commit is contained in:
parent
baaa00656e
commit
34f748f331
@ -1148,7 +1148,7 @@ export class SummonPhase extends PartyMemberPokemonPhase {
|
||||
ease: 'Sine.easeIn',
|
||||
scale: pokemon.getSpriteScale(),
|
||||
onComplete: () => {
|
||||
pokemon.cry();
|
||||
pokemon.cry(pokemon.getHpRatio() > 0.25 ? undefined : { rate: 0.85 });
|
||||
pokemon.getSprite().clearTint();
|
||||
pokemon.resetSummonData();
|
||||
this.scene.time.delayedCall(1000, () => this.end());
|
||||
@ -3736,7 +3736,7 @@ export class AttemptCapturePhase extends PokemonPhase {
|
||||
|
||||
this.scene.playSound('pb_rel');
|
||||
pokemon.setY(this.originalY);
|
||||
pokemon.cry();
|
||||
pokemon.cry(pokemon.getHpRatio() > 0.25 ? undefined : { rate: 0.85 });
|
||||
pokemon.tint(getPokeballTintColor(this.pokeballType));
|
||||
pokemon.setVisible(true);
|
||||
pokemon.untint(250, 'Sine.easeOut');
|
||||
|
Loading…
x
Reference in New Issue
Block a user