Species number is invalid

ThePocketMob

Rookie
Member
Joined
Jun 15, 2020
Posts
2
So, I have been working on my Pokemon FanGame, Pokemon Light and for some reason, whenever I recieve a Pokemon, It gives me an error saying its id is equal to 651, it does this with every pokemon, I dont even have a Pokemon #651. Like seriously.

Here is the full error:

Note I am using Pokemon Essentials v17.2
https://hasteb.in/onoyedew.coffeescript -- Full Error.

#FangameHelp

Thanks for any help! :D
 

Maruno

Pokémon Essentials dev
Essentials Developer
Joined
Apr 5, 2017
Posts
409
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 supposed to go between those two words but it's nothing instead. It's not saying your species is 651.

The error is in your randomiser script. That's all we can say, given the information we have.
 
Top