• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
9
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. :)
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    Did you save your changes to pokemon.txt? Did you compile the game after doing so? Did you edit the correct pokemon.txt?
     
    9
    Posts
    9
    Years
    • Seen Jan 2, 2016
    I was already wondering how you could manually compile because playtest doesn't seem to do it for me every time
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    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