5 lines
207 B
TypeScript
5 lines
207 B
TypeScript
|
import Pokemon, { EnemyPokemon } from "./pokemon";
|
||
|
|
||
|
export function getPokemonMessage(pokemon: Pokemon, content: string): string {
|
||
|
return `${!pokemon.isPlayer() ? 'Wild ' : ''}${pokemon.name}${content}`;
|
||
|
}
|