mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-24 01:02:19 +02:00
Showing error message when clicking tm option if no tm moves are available
This commit is contained in:
parent
0cbcf59704
commit
6c7b41f4d9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user