From caf7b1934444b0710f8d3fadfb61690c317fd1e7 Mon Sep 17 00:00:00 2001 From: AJ Fontaine Date: Fri, 13 Jun 2025 21:10:21 -0400 Subject: [PATCH] Remove leftover enforce func loop --- src/field/pokemon.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 4a3ef9034f3..fce7bb63497 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -6064,15 +6064,6 @@ export class EnemyPokemon extends Pokemon { this.luck = (this.shiny ? this.variant + 1 : 0) + (this.fusionShiny ? this.fusionVariant + 1 : 0); - let prevolution: SpeciesId; - let speciesId = species.speciesId; - while ((prevolution = pokemonPrevolutions[speciesId])) { - const _evolution = pokemonEvolutions[prevolution].find( - pe => pe.speciesId === speciesId && (!pe.evoFormKey || pe.evoFormKey === this.getFormKey()), - ); - speciesId = prevolution; - } - if (this.hasTrainer() && globalScene.currentBattle) { const { waveIndex } = globalScene.currentBattle; const ivs: number[] = [];