mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-29 18:26:09 +00:00
Fix prefixing player Pokemon with 'Foe' during final battle
This commit is contained in:
parent
c3a163b348
commit
b6943f4753
@ -8,7 +8,7 @@ export function getPokemonMessage(pokemon: Pokemon, content: string): string {
|
|||||||
prefix = !pokemon.isPlayer() ? pokemon.hasTrainer() ? 'Foe ' : 'Wild ' : '';
|
prefix = !pokemon.isPlayer() ? pokemon.hasTrainer() ? 'Foe ' : 'Wild ' : '';
|
||||||
break;
|
break;
|
||||||
case BattleSpec.FINAL_BOSS:
|
case BattleSpec.FINAL_BOSS:
|
||||||
prefix = 'Foe ';
|
prefix = !pokemon.isPlayer() ? 'Foe ' : '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return `${prefix}${pokemon.name}${content}`;
|
return `${prefix}${pokemon.name}${content}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user