From b9d1500375a631ebf4c1cc336b57a8c366d25824 Mon Sep 17 00:00:00 2001 From: Laeticia PIERRE Date: Thu, 9 May 2024 11:08:16 +0200 Subject: [PATCH] Add default and remove new line --- src/messages.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/messages.ts b/src/messages.ts index c5be0b175c9..acb042385eb 100644 --- a/src/messages.ts +++ b/src/messages.ts @@ -13,5 +13,7 @@ export function getPokemonPrefix(pokemon: Pokemon): string { return pokemon.hasTrainer() ? 'Foe ' : 'Wild '; case BattleSpec.FINAL_BOSS: return 'Foe '; + default: + return ''; } -} +} \ No newline at end of file