mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-26 02:02:20 +02:00
Mons having no TM moves don't freeze the game in the dex
This commit is contained in:
parent
42fce61135
commit
81e95104f5
@ -1132,6 +1132,8 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
|
|||||||
|
|
||||||
if (!isCaught || !isFormCaught) {
|
if (!isCaught || !isFormCaught) {
|
||||||
error = true;
|
error = true;
|
||||||
|
} else if (this.tmMoves.length < 1) {
|
||||||
|
error = true;
|
||||||
} else {
|
} else {
|
||||||
this.blockInput = true;
|
this.blockInput = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user