Fix prefixing player Pokemon with 'Foe' during final battle

This commit is contained in:
Flashfyre committed 2024-03-30 01:37:54 -04:00
1 parent c3a163b348
commit b6943f4753
1 file changed
+1 -1
+1 -1
View File
@@ -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}`;