• 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

Fairy type run time error

  • 2
    Posts
    7
    Years
    • Seen Oct 25, 2023
    when i try to compile my game i get this error

    ---------------------------
    Pokemon Consonance
    ---------------------------
    Exception: RuntimeError

    Message: Undefined value FAIRY in PBMoves

    File PBS/pokemon.txt, section 5, key Evolutions





    Compiler:1645: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



    This exception was logged in

    C:\Users\new\Saved Games/Pokemon Consonance/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    i tried searching for a solution (of course after trying to fix it myself but i don't see any problems with my pbs files and the only plugin i have is elite battle system )so if anyone has a solution please share it with me
     
    Last edited:
    i do have it defined in types.txt


    [19]
    Name=Fairy
    InternalName=FAIRY
    IsSpecialType=true
    Weaknesses=POISON,STEEL
    Resistances=FIGHTING,BUG,DARK
    Immunities=DRAGON
     
    when i try to compile my game i get this error

    ---------------------------
    Pokemon Consonance
    ---------------------------
    Exception: RuntimeError

    Message: Undefined value FAIRY in PBMoves

    File PBS/pokemon.txt, section 5, key Evolutions

    Looks like its looking for a move called FAIRY in one of the evolutions
     
    Back
    Top