Forgot the breaks

This commit is contained in:
EmoUsedHM01 2024-04-13 18:43:32 +01:00 committed by GitHub
parent d79a4ddf58
commit cdadd638ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 '';