From c63fdf9f8ca8b1ce9d961cabb13b99fbd2a925e7 Mon Sep 17 00:00:00 2001 From: Mumble <171087428+frutescens@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:12:00 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com> --- src/field/pokemon.ts | 2 +- src/phases/faint-phase.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 9e73738d58c..6c2515c90a6 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -2914,7 +2914,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { // set splice index here, so future scene queues happen before FaintedPhase this.scene.setPhaseQueueSplice(); if ((!isNullOrUndefined(destinyTag) || !isNullOrUndefined(grudgeTag)) && dmg) { - // Destiny Bond will activate during FaintPhase + // Destiny Bond and Grudge will activate during FaintPhase this.scene.unshiftPhase(new FaintPhase(this.scene, this.getBattlerIndex(), isOneHitKo, destinyTag ?? undefined, grudgeTag ?? undefined, source)); } else { this.scene.unshiftPhase(new FaintPhase(this.scene, this.getBattlerIndex(), isOneHitKo)); diff --git a/src/phases/faint-phase.ts b/src/phases/faint-phase.ts index 2ce6e1d65df..68b6ccf95c2 100644 --- a/src/phases/faint-phase.ts +++ b/src/phases/faint-phase.ts @@ -39,7 +39,7 @@ export class FaintPhase extends PokemonPhase { private grudgeTag?: GrudgeTag; /** - * The source Pokemon that dealt fatal damage and should get KO'd by Destiny Bond, if applicable + * The source Pokemon that dealt fatal damage */ private source?: Pokemon;