https://bugs.winehq.org/show_bug.cgi?id=55630
--- Comment #18 from minrosa9 tw0ali@tutanota.com ---
That doesn't help for me.
I can confirm that the patch that DvLangg@gmx.de posted also works for me. It is the one that was posted by Nikolay Sivov in https://bugs.winehq.org/show_bug.cgi?id=56042 (now deleted and marked as obsolete, although I don't know why).
I have been using PKHeX with the patch for 3 months now, and it has been working without any problem.