From 91c0374bda37c898b94afcfda722b7e51480818b Mon Sep 17 00:00:00 2001 From: Mumble <171087428+frutescens@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:53:54 -0700 Subject: [PATCH] Update src/phases/learn-move-phase.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/phases/learn-move-phase.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/phases/learn-move-phase.ts b/src/phases/learn-move-phase.ts index 9e0a53db373..1c2fd9aefce 100644 --- a/src/phases/learn-move-phase.ts +++ b/src/phases/learn-move-phase.ts @@ -48,11 +48,12 @@ export class LearnMovePhase extends PlayerPartyMemberPokemonPhase { /** * This displays a chain of messages (listed below) and asks if the user wishes to forget a move. + * * > [Pokemon] wants to learn the move [MoveName] - * > However, [Pokemon] alreadyknows four moves. - * > Should a move be forgotten and replaced with [MoveName]? --> Mode.CONFIRM -> Yes: Go to this.forgetMoveProcess(), No: Go to this.rejectMoveAndEnd() - * @param move - the Move to be learned - * @param Pokemon - the Pokemon learning the move + * > However, [Pokemon] already knows four moves. + * > Should a move be forgotten and replaced with [MoveName]? --> `Mode.CONFIRM` -> Yes: Go to `this.forgetMoveProcess()`, No: Go to `this.rejectMoveAndEnd()` + * @param move The Move to be learned + * @param Pokemon The Pokemon learning the move */ replaceMoveCheck(move: Move, pokemon: Pokemon) { const learnMovePrompt = i18next.t("battle:learnMovePrompt", { pokemonName: getPokemonNameWithAffix(pokemon), moveName: move.name });