mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-25 01:32:21 +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) {
|
||||
error = true;
|
||||
} else if (this.tmMoves.length < 1) {
|
||||
error = true;
|
||||
} else {
|
||||
this.blockInput = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user