From 66b3c48d6d453f63be12bd8e9f401081646957cc Mon Sep 17 00:00:00 2001 From: KennethWest Date: Sun, 5 Jan 2025 17:24:50 -0500 Subject: [PATCH] Fix [BUG] #5081 Wrong visual text when using priority moves on Psychic Terrain --- src/phases/move-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/move-phase.ts b/src/phases/move-phase.ts index 089386bee002..9d605d206902 100644 --- a/src/phases/move-phase.ts +++ b/src/phases/move-phase.ts @@ -345,7 +345,7 @@ export class MovePhase extends BattlePhase { if (failureMessage) { failedText = failureMessage; } else if (failedDueToTerrain) { - failedText = getTerrainBlockMessage(this.pokemon, this.scene.arena.getTerrainType()); + failedText = getTerrainBlockMessage(targets[0], this.scene.arena.getTerrainType()); } this.showFailedText(failedText);