Mons having no TM moves don't freeze the game in the dex

This commit is contained in:
Wlowscha 2025-02-10 18:30:03 +01:00
parent 42fce61135
commit 81e95104f5
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -1132,6 +1132,8 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
if (!isCaught || !isFormCaught) {
error = true;
} else if (this.tmMoves.length < 1) {
error = true;
} else {
this.blockInput = true;