mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-12-01 19:26:16 +00:00
5 lines
221 B
TypeScript
5 lines
221 B
TypeScript
import Pokemon from "./pokemon";
|
|
|
|
export function getPokemonMessage(pokemon: Pokemon, content: string): string {
|
|
return `${!pokemon.isPlayer() ? pokemon.hasTrainer() ? 'Foe ' : 'Wild ' : ''}${pokemon.name}${content}`;
|
|
} |