• 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!
  • 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.

PBMoves Runtime Error

Soccersam

Hilbert is Badass
  • 179
    Posts
    8
    Years
    • Seen Feb 26, 2024
    Hey everyone,
    So I was tinkering around a bit with the pokemon PBS (just removing the SmellingSalts item), and when I tried to run the game, It gives me this error.
    ---------------------------
    Scarlet
    ---------------------------
    Exception: RuntimeError

    Message: Incorrect value 25 in PBMoves

    File PBS/pokemon.txt, section 296, key Moves

    1,TACKLE,1,FOCUSENERGY,4,SANDATTACK,7,ARMTHRUST,10,VITALTHROW,13,FAKEOUT,16,WHIRLWIND,19,KNOCKOFF,22,25,BELLYDRUM,28,FORCEPALM,31,SEISMICTOSS,34,WAKEUPSLAP,37,ENDURE,40,CLOSECOMBAT,43,REVERSAL,46,HEAV...



    Compiler:1648:in `checkEnumField'

    Compiler:1679:in `csvEnumField!'

    Compiler:2384:in `pbCompilePokemonData'

    Compiler:2370:in `each'

    Compiler:2370:in `pbCompilePokemonData'

    Compiler:2368:in `loop'

    Compiler:2449:in `pbCompilePokemonData'

    Compiler:2352:in `each'

    Compiler:2352:in `pbCompilePokemonData'

    Compiler:2351:in `each'



    This exception was logged in

    C:\Users\wickedsoham\Saved Games/Scarlet/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    The first error popped up earlier when I added a GENTLEMAN trainer in-game, giving him a Budew. It showed that I had Sylveon as one of Eevee's evolutions (even though I am not using Gen 6). So I removed it. Then it showed some error about SmellingSalts, so I removed it. And now, it shows this error.
    What am I doing wrong?
     
    Thanks, I replaced my pokemon.txt with a fresh one, but now I get this error-
    ---------------------------
    Scarlet
    ---------------------------
    Exception: RuntimeError

    Message: Undefined value SMELLINGSALTS in PBMoves

    File PBS/pokemon.txt, section 56, key EggMoves

    BEATUP,CLOSECOMBAT,COUNTER,ENCORE,FOCUSPUNCH,FORESIGHT,MEDITATE,REVENGE,REVERSAL,SLEEPTALK,SMELLINGSALTS



    Compiler:1645:in `checkEnumField'

    Compiler:1679:in `csvEnumField!'

    Compiler:2384:in `pbCompilePokemonData'

    Compiler:2370:in `each'

    Compiler:2370:in `pbCompilePokemonData'

    Compiler:2368:in `loop'

    Compiler:2449:in `pbCompilePokemonData'

    Compiler:2352:in `each'

    Compiler:2352:in `pbCompilePokemonData'

    Compiler:2351:in `each'



    This exception was logged in

    C:\Users\wickedsoham\Saved Games/Scarlet/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    What exactly is wrong with Smelling Salts? It isn't there in my items.txt, so maybe that's what's causing the error.
    If it's so, then can anyone please tell me what to do? (remove Smelling Salts for all the pokemon from my pokemon.txt or add it in my items.txt . I tried the former and got an error, so maybe the latter is the correct answer...)
     
    Thanks, I replaced my pokemon.txt with a fresh one, but now I get this error-
    ---------------------------
    Scarlet
    ---------------------------
    Exception: RuntimeError

    Message: Undefined value SMELLINGSALTS in PBMoves

    File PBS/pokemon.txt, section 56, key EggMoves

    BEATUP,CLOSECOMBAT,COUNTER,ENCORE,FOCUSPUNCH,FORESIGHT,MEDITATE,REVENGE,REVERSAL,SLEEPTALK,SMELLINGSALTS



    Compiler:1645:in `checkEnumField'

    Compiler:1679:in `csvEnumField!'

    Compiler:2384:in `pbCompilePokemonData'

    Compiler:2370:in `each'

    Compiler:2370:in `pbCompilePokemonData'

    Compiler:2368:in `loop'

    Compiler:2449:in `pbCompilePokemonData'

    Compiler:2352:in `each'

    Compiler:2352:in `pbCompilePokemonData'

    Compiler:2351:in `each'



    This exception was logged in

    C:\Users\wickedsoham\Saved Games/Scarlet/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    What exactly is wrong with Smelling Salts? It isn't there in my items.txt, so maybe that's what's causing the error.
    If it's so, then can anyone please tell me what to do? (remove Smelling Salts for all the pokemon from my pokemon.txt or add it in my items.txt . I tried the former and got an error, so maybe the latter is the correct answer...)
    Or rather, is SmellingSalts an egg move? How do I fix this?
     
    Or rather, is SmellingSalts an egg move? How do I fix this?

    Classic. Look in your Move PBS and check if it is SmellingSaltS or if it is SmellingSalT
    and then change it accordingly in your pokemon.txt
     
    It's SmellingSalts in both.
    I fixed it nevertheless, I just copied and pasted an entire fresh PBS folder in my game. Doesn't really matter, I didn't make any major changes.
     
    Back
    Top