From fdc55113565f91864604103bf86a83308afc2f55 Mon Sep 17 00:00:00 2001 From: Kyle McGlynn Date: Sun, 21 Apr 2024 19:10:21 -0400 Subject: [PATCH] Fixed bug where Solar Beam wouldn't display if it was sunny --- src/phases.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/phases.ts b/src/phases.ts index 31f631bf4..1b3bedd08 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2295,6 +2295,7 @@ export class MovePhase extends BattlePhase { this.cancelled = activated; break; } + if (activated) { this.scene.queueMessage(getPokemonMessage(this.pokemon, getStatusEffectActivationText(this.pokemon.status.effect))); this.scene.unshiftPhase(new CommonAnimPhase(this.scene, this.pokemon.getBattlerIndex(), undefined, CommonAnim.POISON + (this.pokemon.status.effect - 1))); @@ -2317,6 +2318,7 @@ export class MovePhase extends BattlePhase { showMoveText(): void { if (this.move.getMove().getAttrs(ChargeAttr).length) { + this.scene.queueMessage(getPokemonMessage(this.pokemon, ` used\n${this.move.getName()}!`), 500); const lastMove = this.pokemon.getLastXMoves() as TurnMove[]; if (!lastMove.length || lastMove[0].move !== this.move.getMove().id || lastMove[0].result !== MoveResult.OTHER) return;