Met_RS was unused; since the met location string list is sequential,
GameInfo.cs just used 0-87, 87-196, 0-87|196-212 for RS/FRLG/E.
Cannibalized the array and split it into 3.
Only concatenate the swarm list once all swarm slots have been
generated, use ienumerable to remove the need to call ToArray except for
the finalization
Fixes#954
Incorporates changes from #955
TMHM info was loaded to Emerald personal table
Static encounter table reformatted to separate arrays which are then
combined later (reduces indentation, possible to further separate into
other tables if need be).
Swarm slots replace encounter slots 0 and 1, species id is the only data not found in encounter raw data.
Swarm encounter slots have hardcoded species and location only, levels are loaded from the encounter raw data
I check and all the levels that was harcoded in the swarm static encounters are found in encounters slots 0 and 1
Is impossible to differentiated gen 3 normal eggs to gift eggs after hatched, assume normal egg.
In the case of pokemon box eggs with special moves those moves should be analyzed separately and check the pokemon legal moves with both possible origins: normal egg and box egg
- Add emerald roaming PKM
- Fix version exclusive for Tornadus/Thundurus
- Add HGSS Togepi egg move
- Add N' Zorua met location
- Misc species ID location ID and Met_Level fixes
Last move wasn't being transferred; TransformLearnset updated to fix
export
Output byte array needed to be resized +=4 as the terminator bytes
weren't added
Egg levels, ingame trade recognition
Noticed that the levelup tables for gen3/4 are missing their last move
(truncated to 0xFFFF), will have to fix later
Add overrides for detecting encounter type
Will need to come up with something more intelligent for when this met
location info is lost on transfer. Probably some re-parse guessing like
was done for Gen1/2.
Fix hitmonlee/chan level
Noticed that Aerodacytl is met at level 5 with current level 30; will
have to figure out a way to work around Current!=Met level
As noted in #947
FR/LG don't have any species > 251, so remapping didn't change the
binary.
To re-map rse the ushort species ID was written back to the byte array
at the same offset; after the entire table was loaded it was saved as a
new packed binary.
Launching from args sets the Environment.CurrentDirectory to that of the
files that launched the program; instead we want the
Application.StartupPath (where the exe is, which is where our backup
files are).
Closes#948