pokerogue/src/messages.ts

5 lines
207 B
TypeScript
Raw Normal View History

2023-04-14 22:32:16 -07:00
import Pokemon, { EnemyPokemon } from "./pokemon";
export function getPokemonMessage(pokemon: Pokemon, content: string): string {
return `${!pokemon.isPlayer() ? 'Wild ' : ''}${pokemon.name}${content}`;
}