Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Parse the INI file into an array
- 2. Get the information needed to do the following out of it (Context dependant):
- For each pokemon
- Grab the name, make it the key in a key:value
- learnsets[pokemon]={}
- for each move
- learnsets[pokemon] = move[append
- 0,2,4 etc is levels, 1,3,5 are the corisponding moves [1,Scratch,1,Grawl,7,ember...]
- for each level/move, add move:[level] recursively in the pokemon:{moves:[]}
- Spit out the array, which should be in a friendly format
Advertisement
Add Comment
Please, Sign In to add comment