mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-18 15:00:55 +00:00
Fix faint cry using wrong form index
This commit is contained in:
parent
bb4f35095d
commit
52039849ac
@ -986,7 +986,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
if (this.fusionSpecies)
|
||||
return this.fusionFaintCry(callback);
|
||||
|
||||
const key = this.getSpeciesForm().getCryKey();
|
||||
const key = this.getSpeciesForm().getCryKey(this.formIndex);
|
||||
let i = 0;
|
||||
let rate = 0.85;
|
||||
const cry = this.scene.playSound(key, { rate: rate }) as AnySound;
|
||||
|
Loading…
x
Reference in New Issue
Block a user