• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

"Invalid species number" error when adding more Pok?mon

  • 9
    Posts
    10
    Years
    • Seen Jan 2, 2016
    "Invalid species number" error when adding more Pokémon

    This is a very straight foreward problem I got right here.

    I added all of the Gen6 Pokemon in the "pokemon.txt",
    and tried a simple pbAddPokemon script for one of the new ones (Pokemon number 716) and got this error message:

    Message: Section122:861:in `__mf_initialize'The species number (no. 716 of 649) is invalid.

    Clearly I have to increase the species number somewhere to match the now 720 pokemon.
    I was looking for quite some time and didn't manage to find it...
    Maybe I'm just simply looking in the wrong place but yeah, I hope that someone can help me. :)
     
    I was already wondering how you could manually compile because playtest doesn't seem to do it for me every time
     
    If you play from within RMXP, then ordinarily the game will compile itself automatically if it sees a PBS file has changed. However, you can hold Ctrl at the start to force it to happen, just to make sure.
     
    Back
    Top