Well, this is how my progress goes:
1. Getting the exact information about the pokemon (calculate EVs, IVs and more...). Attacks, abillities etc. Exp points and more.
2. Save the code to your AR.
3. Activate the code on your HG/SS, getting the Pokémon, and releasing it on my Save-File...