kwsch / PKHeX

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

Legal Pokemon (Cleffa, Giratina) appear as illegal #3326

Closed zurgeg closed 2 years ago

zurgeg commented 2 years ago

Describe the problem 2 legal Pokemon I have in a Pokemon Platinum save (Cleffa and Giratina) are appearing as illegal:

To Reproduce This Pokemon (the Giratina obtained just after fighting Cyrus) Static Encounter Giratina in Platinum Or this Cleffa (Wild Encounter Grass, at met level, caught in Mt. Coronet): Mt. Coronet Cleffa

Expected behavior These Pokemon should be recognized as legal by PKHeX

Screenshots The error I get on Cleffa: Invalid PID for encounter

And the one on Giratina: Various validation errors

Giratina's "Main" page: image

Additional context N/A

sora10pls commented 2 years ago

Please provide your PK4 data when submitting issues like this.

zurgeg commented 2 years ago

Please provide your PK4 data when submitting issues like this.

Alright, I'll get them in a minute. If it helps, I can try to make a Pokemon from scratch that can reproduce it too.

kwsch commented 2 years ago

Unable to replicate. image image

zurgeg commented 2 years ago

Here are the PK4 Files: Giratina and Cleffa.zip

zurgeg commented 2 years ago

Alright, so I just checked my save, and something odd seems to be happening, because my Giratina is showing up as coming from "a faraway place". However, the Cleffa is still completely intact

kwsch commented 2 years ago

Cleffa has a bad PIDIV correlation; PID should be A8D92E8B for the IVs that it has (maintaining Modest nature).

27F1E5EB => Lax A7F165EB => Naive A8D92E8B => Modest 28D9AE8B => Timid 17E6D0C1 => Naive 97E650C1 => Rash

188BE729 is none of them, hence it does not have a Method 1 PIDIV correlation (matches no other known correlation), thus hacked/cheats interfering = illegal.

zurgeg commented 2 years ago

Cleffa has a bad PIDIV correlation; PID should be A8D92E8B for the IVs that it has (maintaining Modest nature).

27F1E5EB => Lax A7F165EB => Naive A8D92E8B => Modest 28D9AE8B => Timid 17E6D0C1 => Naive 97E650C1 => Rash

188BE729 is none of them, hence it does not have a Method 1 PIDIV correlation (matches no other known correlation), thus hacked/cheats interfering = illegal.

Huh, that's odd, I have no clue what happened there, I guess I'll check to see if I had a cheat on or something.