Quoted By:
>SuMo
Anyway, use TWLSaveTool to export your HGSS save, export your Gen 7 save with JKSM, then open them both up with PKHeX. If you open them both at the same time you can literally drag your Pokémon from your HGSS boxes to your SM boxes; PKHeX sorts everything out for you. Then just re-import your SM save with JKSM.