mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-24 18:01:05 +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}`;
|
|
} |