kwsch / PKHeX

Pokémon Save File Editor
https://projectpokemon.org/pkhex/
Other
3.71k stars 698 forks source link

RBY: Legality Issues with Pokemon with less than 4 moves #3277

Closed soopercool101 closed 3 years ago

soopercool101 commented 3 years ago

Describe the problem Some Pokemon with less than 4 moves are flagged as illegal, regardless of if they can have that few moves.

To Reproduce Here are two PK1 files that were obtained through legitimate gameplay and are flagged as illegal regardless PKM.zip

Expected behavior These Pokemon should not be flagged illegal.

Screenshots image

Additional context Not all Pokemon are affected by this bug. My 2 Pikachu and Butterfree are, but my Rattata and Nidoran are not.

Lusamine commented 3 years ago

Pikachu is legal for me on latest commit.

Can you explain how you got 3 moves on Butterfree?

Lusamine commented 3 years ago

I was able to get something similar in Red version by doing the following:

image

kwsch commented 3 years ago

PKHeX's minimum move logic does not account for evolution pathways and levelup-skiplearn scenarios.