Ok I successfully got this working. First off, good job its awesome. It's giving me the possibility for a pokemon type league on a site i use where people can have teams with same stats pokemon to show more skill.
Could we possibly have a way to both recieve, AND distribute, and possibly even a way for people to decide which pokemon they recieve when they connect?