You have a randomiser script, and it looks like it's accepting :CHARMANDER but pumping out nil instead of a different species. If you pay attention, the error message says "The species number (no. of 651)" and there's a double space between "no." and "of" - clearly something (a number) was...