Commit graph

778 commits

Author SHA1 Message Date
Kurt
809148ed54 Refactoring round two
Introduced the fully editable PK6 class object, which is now used by
PKHeX's pk6 editor, as well as updated the Box Data Report. Readability
should be increased as no

Includes bug fixes:
Odaxis' report regarding Event Flag Editor
Showdown sets using "Trait" instead of "Ability" (old old style) now can
be read.
Imported showdown sets will not use the imported gender label (instead
uses the current style, same 'value')
2015-09-23 20:29:31 -07:00
Kurt
c6c12228a9 Fix Party not updating properly with <6
If the user were to set to the last slot, the setParty method would
trickle the data down, but the getQuickFiller would then make a sprite
appear in the slot it was trickled from.

Since setParty refreshes the party sprites, there's no need to do it for
anything but a party slot.
2015-09-20 23:05:54 -07:00
Kurt
f6d1bd93d9 Remove double subscribed event 2015-09-20 23:03:42 -07:00
Kurt
d4ea56cfd6 Heavy refactoring
Remove numerous inter-form dependencies, remove hard-coded offsets,
update a few spots to use better programming practices.

Should increase the readability of PKHeX's source code.
2015-09-20 20:34:09 -07:00
Kurt
d6bbb57d7b Constrain entry of values 2015-09-20 12:05:03 -07:00
Kurt
ac4bd85af7 Update Changelog, publish new vers 2015-09-19 09:29:56 -07:00
Kurt
9e64212a33 Revert e8b7b14 Commit
Needs to trim at the first index of a null terminator; not all empty
characters at the end.

Revenge of the Trash Bytes 😆
2015-09-18 16:33:37 -07:00
Kurt
2c21bcec13 Consistency Updates + Bugfix
Fixed a user bug where they canceled out of the FolderBrowserDialog
eventually writing to an empty path.
2015-09-18 16:31:18 -07:00
Kaphotics
563d621631 Merge pull request #57 from suloku/master
Allow dumping all pk6 files to separate box folders
2015-09-18 16:17:32 -07:00
suloku
67d2abc6d4 When dumping all boxes to a folder, prompt user if he wants to create a folder for each box instead of dumping all pk6 files at the same folder. 2015-09-18 18:29:47 +02:00
Kurt
00d20b9e6b Fix trade packet from copying too much
I should really just remove this filetype as it is nearly 2 years old
and no new data can be obtained. I'm unsure if buff gets resized so this
will only copy as much data as is required to load the PKX.
2015-09-17 20:20:58 -07:00
Kurt
2ac6d8af50 Import File fixes
Trade Packets: Actually load to the stored array and populate instead of
doing nothing.
boxdata/pcdata/BattleVideo: Sets the Pokédex flags.
BattleVideo: Widens the form on load like the other box-import methods.
2015-09-17 20:18:22 -07:00
Kurt
2ea5c3b2e9 Enable Egg RNG Seed Editing
Played around with a few solutions, was happiest with (the probably
slower) linq as I didn't feel like using regex.

Supports copy/paste as all the filtering is done when the text changes;
any successful update will refresh the value in the save file.
2015-09-15 23:33:02 -07:00
Kurt
4cc9546504 Multiple open arguments and bugfix
Species autoselect was previously changed to happen during initial fill
of fields.
Multiple arguments can now be passed (ie, load a save and a pk6).
2015-09-13 09:10:44 -07:00
Kurt
22e0e7ee79 Add used wondercard detection 2015-09-12 21:32:30 -07:00
Kurt
6f94705c10 Updated path3DS usage 2015-09-11 22:17:13 -07:00
Kurt
0ad445d772 Updated Main Menu's Open feature 2015-09-10 19:59:44 -07:00
Kurt
a140cefa09 Remove unused reference
Resolves issue 53: https://github.com/kwsch/PKHeX/issues/53

There's probably other unused things but nobody is getting errors.
2015-09-09 21:03:11 -07:00
Kurt
4ec6c7662c Sync changelog 2015-09-08 20:04:26 -07:00
Kurt
f45ff5125c Fix Hidden Power Argument Usage
getHPType's input order needed to be updated -- the form usage was
changed via the characteristic fix commit.
2015-09-07 13:02:18 -07:00
Kurt
5c1cc4dfb3 Update changelog 2015-09-05 14:03:28 -07:00
Kurt
e4425b5b30 Prevent width adjusting of Inventory Editor 2015-09-05 13:57:34 -07:00
Kurt
a40a708a46 Correctly fix Characteristics
Previous fix solved it incorrectly.

Please stop being a thorn, characteristics :(
2015-09-05 13:56:46 -07:00
Kurt
84586f2da9 Fix untrimmed showdown set 2015-09-04 18:50:14 -07:00
Kurt
cf94b1caf0 Fix loading of Korean Translation
Thanks cocoblue(@shin6949) for bringing this to my attention.
2015-08-12 20:06:47 -07:00
Kurt
8f13dc9433 Add 3DS country location (latitude/longitude)
Mined from the PGL website, not sure if I'd even use this for PKHeX but
someone might.
2015-08-09 21:48:45 -07:00
Kurt
e8b7b14efa Simplify \0 trimming 2015-08-08 21:44:52 -07:00
Kurt
34ad26fbb9 Sync current changelog for 8/8 2015-08-07 22:09:08 -07:00
Kurt
a055e667ce Alter starting box detection & saving
now writes the value back only on save; which alleviates the checksum
issue.
2015-08-06 22:32:12 -07:00
Kurt
11eb688a75 Add Gender font colorations
Label_Species.ForeColor is used as the default color reference (for
those who may have a custom setup).
2015-08-06 21:16:25 -07:00
Kurt
22c63b4662 Use existing getSprite method
I thought I caught all these duplicate sprite fetch methods...
2015-08-06 20:50:26 -07:00
Kurt
21878fb724 Fix chopping off EV bits 2015-08-06 20:16:07 -07:00
Kurt
e98e86aee3 Update changelog
Should be up to date.

Hopefully this should be it before the next stable release.
2015-07-28 20:41:16 -07:00
Kurt
6e9afc032e Undo https switch; the used apis don't use it
They worked just fine previously, just reverting.
2015-07-26 10:02:30 -07:00
Kurt
8dfa356a77 Fix form/nickname detection
Check for the form name in the inversion check
2015-07-21 18:17:10 -07:00
Kurt
76df492121 Add license. 2015-07-20 20:54:07 -07:00
Kaphotics
b8aa2ed3ef Merge pull request #51 from RyDroid/readme
Explaining how building a binary
2015-07-20 19:57:52 -07:00
Kaphotics
3157ae04c9 Merge pull request #52 from RyDroid/minor
Minor changes
2015-07-20 19:57:05 -07:00
Kaphotics
8e5bf82442 Merge pull request #50 from RyDroid/git
Minor changes to git config files
2015-07-20 19:56:35 -07:00
Spanti Nicola (RyDroid)
d656058524 Minor changes 2015-07-21 00:52:11 +02:00
Spanti Nicola (RyDroid)
a97adaa6b4 Explaining how building a binary 2015-07-21 00:33:59 +02:00
Spanti Nicola (RyDroid)
84f58e2065 Minor changes to git config files 2015-07-21 00:23:50 +02:00
Kurt
9fcd3a2769 Fix characteristics
Speed comes before SPA/SPD so I just have it reassign the pm6stat.
2015-07-18 20:40:11 -07:00
Kurt
04229d1b9a Tweak set detection, added lineskip 2015-07-02 17:15:56 -07:00
Kurt
449af165e1 Call the root method instead of triggering 2015-06-29 20:09:34 -07:00
Kurt
14c0679983 Add Relearn Moves copying from Current Moves 2015-06-28 14:34:38 -07:00
Kurt
c1005945fd Sanitize apostrophes
King's Shield, King's Rock, Farfetch'd are notable examples of Showdown
strings differing from game default strings.
2015-06-13 00:30:45 -07:00
Kurt
2664b587be Fix Pokédex crashing on "Fill All"
Shouldn't call setup methods after setup is complete; I extracted all
necessary operations that need to be repeated (loading the bitflags)
into a separate method.

Thanks ShaKage!
2015-06-09 23:36:03 -07:00
Kurt
e2d1cc6876 Add Korean translation
Thanks cocoblue!
http://blog.naver.com/6116949/220345593317
2015-06-08 23:30:15 -07:00
Kurt
bcd26ff2b3 Update changelog 2015-06-06 15:05:14 -07:00