• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

"Incorrect value 18 in PBMoves" error when compiling

Sir_Tman

Overworked game Dev
  • 198
    Posts
    9
    Years
    Ive never seen this error before it just poped up out of nowhere when i try to run the game.
    Code:
    ---------------------------
    Pokemon Treasure
    ---------------------------
    Exception: RuntimeError
    Message: Incorrect value 18 in PBMoves
    File PBS/pokemon.txt, section 5, key Evolutions
    
    Compiler:1648:in `checkEnumField'
    
    Compiler:1679:in `csvEnumField!'
    
    Compiler:2493:in `pbCompilePokemonData'
    
    Compiler:2483:in `each'
    
    Compiler:2483:in `pbCompilePokemonData'
    
    Compiler:2480:in `each'
    
    Compiler:2480:in `pbCompilePokemonData'
    
    Compiler:4038:in `pbCompileAllData'
    
    Compiler:4162
    All i understand is there something wrong with the number 18 in my pokemon psb
     
    Post it as an attachment or copy the relevant bit of code until line 20 maybe we can take a look. Also make sure there are no empty spaces whatsoever.
     
    I wasn't able to find anything strange, except that a couple of 6 gen pokémon like hoopa don't have an ability.
     
    Yes I'm still adding them in but they have been like that for awhile and my game worked fine then when I was play testing this error appeared out of no where and I didn't change anything.
     
    Back
    Top