So it's a DesMuME problem, and not a PKHeX problem (I thought differently because PokéGen does work for me). That's sad, because at least PKHeX is still being supported. Thank you, I guess I will have to look for solutions elsewhere.
One small question: how did you get the data that you show in the screenshot there?
modedit: don't double post.