I have found a simpler way to have Random Wifi Legal Pokes from 4th Generation. All you need is Pokesav. No Poketransfer program needed. This is especially helpful for those who have the actual game and not a flash cart[can't use Pokegen].
If the Pokemon was bred:
Step 1: Create the Pokemon as...