PKHeX
PKHeX copied to clipboard
Invalid memory error on HOME-transferred pokemon
Describe the problem
I have moved this Pokémon from HOME to brilliant diamond but I get "Invalid memory: Not cleared properly"
To Reproduce
Download deoxys.zip and import it in a BSDP file. Actually, the same also happens if I drag-and-drop a pokémon from Emerald to BSDP using the latest PKHex version.
Expected behavior
No errors should happen
Screenshots
Additional context
I am using the latest PKHex version
Looks like it is the same issue as https://github.com/kwsch/PKHeX/issues/4133, but it is setting an HT language inappropriately if you have SlotWrite > SetUpdatePKM set to True.