View Single Post
Old October 13th, 2010, 08:20 PM
Beginning Trainer
Join Date: Jun 2010
Gender: Male
Originally Posted by colcolstyles View Post
Perhaps that error message has something to do with the fact that you use the dynamic label "$gotit" twice. When you use "goto $gotit", the game won't know whether to go to the first "$gotit" or the second "$gotit", which is why the compiler won't let you compile.

Also, the 'givepokemon' command contains three extra parameters which are usually set to '0x00'. I haven't used Pokescript in a long time (and I suggest you switch to XSE or PKSV) but I don't think that those bytes are coded for in Pokescript's command database so you'll have to add three 'nop' commands after 'givepokemon'.
So I replace the second gotit and it should work now right?