From b6943f475382567e739221cd91600825b71c011d Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sat, 30 Mar 2024 01:37:54 -0400 Subject: [PATCH] Fix prefixing player Pokemon with 'Foe' during final battle --- src/messages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages.ts b/src/messages.ts index e5696c324..aeffd3610 100644 --- a/src/messages.ts +++ b/src/messages.ts @@ -8,7 +8,7 @@ export function getPokemonMessage(pokemon: Pokemon, content: string): string { prefix = !pokemon.isPlayer() ? pokemon.hasTrainer() ? 'Foe ' : 'Wild ' : ''; break; case BattleSpec.FINAL_BOSS: - prefix = 'Foe '; + prefix = !pokemon.isPlayer() ? 'Foe ' : ''; break; } return `${prefix}${pokemon.name}${content}`;