2023-04-19 13:52:14 -07:00
|
|
|
import Pokemon from "./pokemon";
|
2023-04-14 22:32:16 -07:00
|
|
|
|
|
|
|
export function getPokemonMessage(pokemon: Pokemon, content: string): string {
|
2023-12-08 06:48:03 -08:00
|
|
|
return `${!pokemon.isPlayer() ? pokemon.hasTrainer() ? 'Foe ' : 'Wild ' : ''}${pokemon.name}${content}`;
|
2023-04-14 22:32:16 -07:00
|
|
|
}
|