From ed84c75f8e31ac0dde6d683e34724f74e674cef9 Mon Sep 17 00:00:00 2001 From: innerthunder Date: Mon, 2 Sep 2024 14:40:03 -0700 Subject: [PATCH] "killMoves" --> "koMoves" --- src/field/pokemon.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index fbc13f58bb0..0ca7deb9c8f 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -4025,7 +4025,7 @@ export class EnemyPokemon extends Pokemon { * If there are any moves that can KO an opponent (i.e. a player Pokemon), * those moves are the only ones considered for selection on this turn. */ - const killMoves = movePool.filter(pkmnMove => { + const koMoves = movePool.filter(pkmnMove => { if (!pkmnMove) { return false; } @@ -4041,8 +4041,8 @@ export class EnemyPokemon extends Pokemon { && moveTargets.some(p => p.getAttackDamage(this, move, !p.battleData.abilityRevealed, false, isCritical).damage >= p.hp); }, this); - if (killMoves.length > 0) { - movePool = killMoves; + if (koMoves.length > 0) { + movePool = koMoves; } /**