Cries are pitched down when at low HP
This commit is contained in:
1 parent
baaa00656e
commit
34f748f331
1 file changed
+2
-2
+2
-2
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user