I want to create a Pokemon game, and need the information a text file from Pokemon Essentials. This is an example of the format it is in:
#-------------------------------
[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
TutorMoves = ATTRACT,BIND,CONFIDE,CUT,DOUBLETEAM,ECHOEDVOICE,ENERGYBALL,FACADE,FRUSTRATION,GIGADRAIN,GRASSKNOT,GRASSPLEDGE,HIDDENPOWER,KNOCKOFF,LIGHTSCREEN,NATUREPOWER,PROTECT,REST,RETURN,ROCKSMASH,ROUND,SAFEGUARD,SEEDBOMB,SLEEPTALK,SLUDGEBOMB,SNORE,SOLARBEAM,STRENGTH,SUBSTITUTE,SUNNYDAY,SWAGGER,SWORDSDANCE,SYNTHESIS,TOXIC,VENOSHOCK,WORKUP,WORRYSEED
EggMoves = AMNESIA,CHARM,CURSE,ENDURE,GIGADRAIN,GRASSWHISTLE,GRASSYTERRAIN,INGRAIN,LEAFSTORM,MAGICALLEAF,NATUREPOWER,PETALDANCE,POWERWHIP,SKULLBASH,SLUDGE
Compatibility = Monster,Grass
StepsToHatch = 5120
Height = 0.7
Weight = 6.9
Color = Green
Shape = Quadruped
Habitat = Grassland
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.
Generation = 1
BattlerPlayerX = -4
BattlerPlayerY = 0
BattlerEnemyX = -1
BattlerEnemyY = 26
BattlerShadowX = 0
BattlerShadowSize = 2
Evolutions = IVYSAUR,Level,16
Is there a way to have the program parse all this information and stick it into global variables, rather than manually typing it in? There are a lot of Pokemon!
Thanks for any help you can offer