From 6c7b41f4d986d8be188cf48690f4f471be3bb965 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Mon, 10 Feb 2025 19:13:07 +0100 Subject: [PATCH] Showing error message when clicking tm option if no tm moves are available --- src/ui/pokedex-page-ui-handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/pokedex-page-ui-handler.ts b/src/ui/pokedex-page-ui-handler.ts index 76f3ce44370..2047095d067 100644 --- a/src/ui/pokedex-page-ui-handler.ts +++ b/src/ui/pokedex-page-ui-handler.ts @@ -1133,6 +1133,7 @@ export default class PokedexPageUiHandler extends MessageUiHandler { if (!isCaught || !isFormCaught) { error = true; } else if (this.tmMoves.length < 1) { + ui.showText(i18next.t("pokedexUiHandler:noTmMoves")); error = true; } else { this.blockInput = true;