kwsch / PKHeX

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

Attempting to change nickname of different language throws error #3643

Closed BRTPOB closed 1 year ago

BRTPOB commented 1 year ago

Describe the problem When you've got a Pokemon from a different region, and you try to reset the Nickname to that of the actual species in your language, you will receive an error that "Invalid: Nickname does not match species name."

To Reproduce Attached PKM of Fuecoco. PKM is of German origin, attempting to change Nickname to Fuecoco (ENG) returns error.

Expected behavior Expected Species to have no bearing on nickname.

Screenshots image

Additional context If the Nickname checkbox is unchecked, then the bug occurs. If you check the Nickname checkbox, the bug does not occur. 909 - Fuecoco.zip

kwsch commented 1 year ago

A hatched German Fuecoco should be created with Krokel, not Fuecoco.

The file you attached is a German one with Fuecoco, not Krokel as expected, hence the message. Loading it to tabs, the program auto-corrects it to Krokel and is then legal.