From 8351866d0d01f920df7bd97b2f350bcc24acceb6 Mon Sep 17 00:00:00 2001 From: Lylian Date: Mon, 4 Nov 2024 22:27:34 +0100 Subject: [PATCH] wild Zoroark creates an illusion according to the current biome --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 4064dab8ed1..1ab3f503740 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -441,7 +441,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { this.loadAssets(false, true).then(() => this.playAnim()); } else { let availables: Species[] = []; - let randomIllusion: PokemonSpecies = this.scene.arena.randomSpecies(this.scene.currentBattle.waveIndex, this.level) + let randomIllusion: PokemonSpecies = this.scene.arena.randomSpecies(this.scene.currentBattle.waveIndex, this.level); if (this.isBoss()) { availables = [ Species.ENTEI, Species.RAIKOU, Species.SUICUNE ]; randomIllusion = getPokemonSpecies(availables[this.randSeedInt(availables.length)]);