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

[PBS Question] Undefined value SMELLINGSALTS in PBMoves

  • 1
    Posts
    4
    Years
    • Seen Feb 12, 2022
    Hi everyone,

    I'm really (really) new at game design with V17 essentials, and I'm trying to include at least the Gen 6 Pokemon in my project, using some txt. that I found here...
    But this error constantly occurs:


    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17.2]

    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:418:in `checkEnumField'

    Compiler:403:in `csvEnumField!'

    Compiler:1709:in `pbCompilePokemonData'

    Compiler:1698:in `each'

    Compiler:1698:in `pbCompilePokemonData'

    Compiler:1695:in `loop'

    Compiler:1775:in `pbCompilePokemonData'

    Compiler:1680:in `each'

    Compiler:1680:in `pbCompilePokemonData'

    Compiler:1679:in `each'




    How i can fix it?
     
  • 1,403
    Posts
    10
    Years
    • Seen Apr 29, 2024
    I guess SMELLINGSALTS isn't defined and you need to say SMELLINGSALT (it changed name at some point).
     

    Maruno

    Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    The moves.txt file you downloaded from wherever looks like it's an old version with old move names (SmellingSalt, Hi Jump Kick and the like). Your best bet is to amend that somehow (rename the moves in there, copy from the version that comes with Essentials, find a more recent downloadable version of the file, etc.).
     
    Back
    Top