Closes#213
Distribution medals only given if the Pokémon has Secret Training unlocked. Clicking Give All with no medals will give 30, then clicking again will give the final 6. Of course if the Pokémon already had it unlocked but not 30 it will bump to 36, but it's up to the user to None/Give as desired.
Gen5/6 had dummied these items; since they aren't dummied in G4 we need
to manually override the value from ??? to HM06+1 and HM06+2
Thanks msbhvn & Liger0!
version.txt as a program resource -> check against online copy, if
online has an earlier date then indicate that an update is available.
When posting a new update, the version.txt has to be updated with a new
yyyyMMdd.
Ask me on IRC why I prefer to do things this way ;)
Allows for dragging between boxes
Pop up via shift-click Box tab
Click the swap arrows to flip Main/Viewer current box
Fixes swallowed exception: DragDrop a slot (filename), start another
within 500ms before deletion thread deletes original dragdrop file;
since filenames are the same the file for the active dragdrop will no
longer exist resulting in an exception. Solved by tracking the current
path of a dragdrop operation.
Had to refactor the draginfo into its own class to 'cleanly' communicate
between forms.
Line 2211:
When the fields are loaded, if the user modifies the Ability on a <=Gen5
save file, if the ability is modified, the PID will be randomized to fit
the new PID.
When the Ability combobox is loaded, the personal entry may have 0 for
the ability2 (indicating same as ability1); if so, copy ability1 instead
of filtering it out.
When the Ability index is loaded, hidden ability is checked first, else
it tries to match: invalid, hidden (unflagged=illegal), if abilities
same use PIDAbility, else use the actual ability index.
When the dragdrop succeeds to a location outside the program, the effect
is Move.
When the dragdrop succeeds to another slot, the effect is Link.
When the dragdrop succeeds to Tabs, the effect is Copy.
When the dragdrop fails, the effect is None.