its okay, I know how to compile now thanks to the mighty hackmew. As I learn more, i will post tutorials and the like.
The form changing script I'm making basically chnges arceus/shaymin/giratina/rotom/deoxys etc. forms without evolutions. It checks the first pokemon to see if it is compatiable with form changing, takes a screenshot of all of its data, writes them to blank offsets, removes the first pokemon, gives you the new form and copies all the stats on the new pokemon. Confused? It'll come clear soon... (paradoxial smirk)