Completed code to fully load a trainer and all of their pokemon