Hi there,
Apologies if this is in the incorrect category, but basically a while before Sun/Moon came out I wanted to replay X. So I used BrowserHax (was on an old firmware) and used a utility to backup the save file from the game (the save file has all the Pokémon I ever had since around Sinnoh...