Its a place called Pokemonshowdown.com
It lets you battle online with any pokemon on X and Y. Build your owns team with stragegy's and everything and use them online. Test teams before making them on the 3ds its a very helpful site