From cdadd638abac061402a43e1c6cf763a56b1ff507 Mon Sep 17 00:00:00 2001 From: EmoUsedHM01 <131687820+EmoUsedHM01@users.noreply.github.com> Date: Sat, 13 Apr 2024 18:43:32 +0100 Subject: [PATCH] Forgot the breaks --- src/data/status-effect.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data/status-effect.ts b/src/data/status-effect.ts index 6208cd612ab..484ee6a5073 100644 --- a/src/data/status-effect.ts +++ b/src/data/status-effect.ts @@ -58,19 +58,19 @@ export function getStatusEffectActivationText(statusEffect: StatusEffect, pokemo // Placeholder, idk how to fix this, too new to typeScript, but it functions as normal anyway because of the pokemon && clause always returning the else value if (pokemon && pokemon.getAbility().id === Abilities.POISON_HEAL) { console.log("Poison Heal ability detected"); - return ' had its HP restored!'; + return ' had its\nHP restored!'; } else { console.log("No Poison Heal ability detected"); - return ' is hurt by poison!'; + return ' is hurt\nby poison!'; } case StatusEffect.PARALYSIS: - return ' is paralyzed! It can\'t move!'; + return ' is paralyzed!\nIt can\'t move!'; case StatusEffect.SLEEP: return ' is fast asleep.'; case StatusEffect.FREEZE: - return ' is frozen solid!'; + return ' is\nfrozen solid!'; case StatusEffect.BURN: - return ' is hurt by its burn!'; + return ' is hurt\nby its burn!'; } return '';