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

Undefined value FAIRY in PBMoves error

Plutoniarch

Ghost King
9
Posts
8
Years
    • Seen May 13, 2018
    So, I received this error message when compiling my game:


    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Undefined value FAIRY in PBMoves

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





    Compiler:438:in `checkEnumField'

    Compiler:423:in `csvEnumField!'

    Compiler:1885:in `pbCompilePokemonData'

    Compiler:1875:in `each'

    Compiler:1875:in `pbCompilePokemonData'

    Compiler:1872:in `each'

    Compiler:1872:in `pbCompilePokemonData'

    Compiler:4098:in `pbCompileAllData'

    Compiler:4212




    I have several modifications, hence the Fairy type. How do I fix this?
     
    Last edited by a moderator:
    2
    Posts
    7
    Years
  • this is the pokemon.txt file
    [1]
    Name=Bulbasaur
    InternalName=BULBASAUR
    Type1=GRASS
    Type2=POISON
    BaseStats=45,49,49,45,65,65
    GenderRate=FemaleOneEighth
    GrowthRate=Parabolic
    BaseEXP=64
    EffortPoints=0,0,0,0,1,0
    Rareness=45
    Happiness=70
    Abilities=OVERGROW
    HiddenAbility=CHLOROPHYLL
    Moves=1,TACKLE,3,GROWL,7,LEECHSEED,9,VINEWHIP,13,POISONPOWDER,13,SLEEPPOWDER,15,TAKEDOWN,19,RAZORLEAF,21,SWEETSCENT,25,GROWTH,27,DOUBLEEDGE,31,WORRYSEED,33,SYNTHESIS,37,SEEDBOMB
    EggMoves=AMNESIA,CHARM,CURSE,ENDURE,GIGADRAIN,GRASSWHISTLE,GRASSYTERRAIN,INGRAIN,LEAFSTORM,MAGICALLEAF,NATUREPOWER,PETALDANCE,POWERWHIP,SKULLBASH,SLUDGE
    Compatibility=Monster,Grass
    StepsToHatch=5355
    Height=0.7
    Weight=6.9
    Color=Green
    Habitat=Grassland
    RegionalNumbers=1,231
    Kind=Seed
    Pokedex=Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.
    BattlerPlayerY=0
    BattlerEnemyY=25
    BattlerAltitude=0
    Evolutions=IVYSAUR,Level,16
    [2]
    Name=Ivysaur
    InternalName=IVYSAUR
    Type1=GRASS
    Type2=POISON
    BaseStats=60,62,63,60,80,80
    GenderRate=FemaleOneEighth
    GrowthRate=Parabolic
    BaseEXP=142
    EffortPoints=0,0,0,0,1,1
    Rareness=45
    Happiness=70
    Abilities=OVERGROW
    HiddenAbility=CHLOROPHYLL
    Moves=1,TACKLE,1,GROWL,1,LEECHSEED,3,GROWL,7,LEECHSEED,9,VINEWHIP,13,POISONPOWDER,13,SLEEPPOWDER,15,TAKEDOWN,20,RAZORLEAF,23,SWEETSCENT,28,GROWTH,31,DOUBLEEDGE,36,WORRYSEED,39,SYNTHESIS,44,SOLARBEAM
    Compatibility=Monster,Grass
    StepsToHatch=5355
    Height=1.0
    Weight=13.0
    Color=Green
    Habitat=Grassland
    RegionalNumbers=2,232
    Kind=Seed
    Pokedex=To support its bulb, Ivysaur's legs grow sturdy. If it spends more time lying in the sunlight, the bud will soon bloom into a large flower.
    BattlerPlayerY=0
    BattlerEnemyY=21
    BattlerAltitude=0
    Evolutions=VENUSAUR,Level,32
    [3]
    Name=Venusaur
    InternalName=VENUSAUR
    Type1=GRASS
    Type2=POISON
    BaseStats=80,82,83,80,100,100
    GenderRate=FemaleOneEighth
    GrowthRate=Parabolic
    BaseEXP=236
    EffortPoints=0,0,0,0,2,1
    Rareness=45
    Happiness=70
    Abilities=OVERGROW
    HiddenAbility=CHLOROPHYLL
    Moves=1,TACKLE,1,GROWL,1,LEECHSEED,1,VINEWHIP,3,GROWL,7,LEECHSEED,9,VINEWHIP,13,POISONPOWDER,13,SLEEPPOWDER,15,TAKEDOWN,20,RAZORLEAF,23,SWEETSCENT,28,GROWTH,31,DOUBLEEDGE,32,PETALDANCE,39,WORRYSEED,45,SYNTHESIS,50,PETALBLIZZARD,53,SOLARBEAM
    Compatibility=Monster,Grass
    StepsToHatch=5355
    Height=2.0
    Weight=100.0
    Color=Green
    Habitat=Grassland
    RegionalNumbers=3,233
    Kind=Seed
    Pokedex=Venusaur's flower is said to take on vivid colors if it gets plenty of nutrition and sunlight. The flower's aroma soothes the emotions of people.
    BattlerPlayerY=0
    BattlerEnemyY=9
    BattlerAltitude=0
    Evolutions=
    [4]
    Name=Charmander
    InternalName=CHARMANDER
    Type1=FIRE
    BaseStats=39,52,43,65,60,50
    GenderRate=FemaleOneEighth
    GrowthRate=Parabolic
    BaseEXP=62
    EffortPoints=0,0,0,1,0,0
    Rareness=45
    Happiness=70
    Abilities=BLAZE
    HiddenAbility=SOLARPOWER
    Moves=1,SCRATCH,1,GROWL,7,EMBER,10,SMOKESCREEN,16,DRAGONRAGE,19,SCARYFACE,25,FIREFANG,28,FLAMEBURST,34,SLASH,37,FLAMETHROWER,43,FIRESPIN,46,INFERNO
    EggMoves=AIRCUTTER,ANCIENTPOWER,BEATUP,BELLYDRUM,BITE,CRUNCH,DRAGONDANCE,DRAGONPULSE,DRAGONRUSH,FLAREBLITZ,FOCUSPUNCH,METALCLAW,OUTRAGE
    Compatibility=Monster,Dragon
    StepsToHatch=5355
    Height=0.6
    Weight=8.5
    Color=Red
    Habitat=Mountain
    RegionalNumbers=4,234
    Kind=Lizard
    Pokedex=The flame that burns at the tip of its tail is an indication of its emotions. The flame wavers when Charmander is happy, and blazes when it is enraged.
    BattlerPlayerY=0
    BattlerEnemyY=21
    BattlerAltitude=0
    Evolutions=CHARMELEON,Level,16
    [5]
    Name=Charmeleon
    InternalName=CHARMELEON
    Type1=FIRE
    BaseStats=58,64,58,80,80,65
    GenderRate=FemaleOneEighth
    GrowthRate=Parabolic
    BaseEXP=142
    EffortPoints=0,0,0,1,1,0
    Rareness=45
    Happiness=70
    Abilities=BLAZE
    HiddenAbility=SOLARPOWER
    Moves=1,SCRATCH,1,GROWL,1,EMBER,7,EMBER,10,SMOKESCREEN,17,DRAGONRAGE,21,SCARYFACE,28,FIREFANG,32,FLAMEBURST,39,SLASH,43,FLAMETHROWER,50,FIRESPIN,54,INFERNO
    Compatibility=Monster,Dragon
    StepsToHatch=5355
    Height=1.1
    Weight=19.0
    Color=Red
    Habitat=Mountain
    RegionalNumbers=5,235
    Kind=Flame
    Pokedex=Without pity, its sharp claws destroy foes. If it encounters a strong enemy, it becomes agitated, and the flame on its tail flares with a bluish white color.
    BattlerPlayerY=0
    BattlerEnemyY=17
    BattlerAltitude=0
    Evolutions=CHARIZARD,Level,36
     
    Back
    Top