Commit graph

233 commits

Author SHA1 Message Date
Kurt
5b3623caa5 Remove use of Regex 2015-09-23 22:44:15 -07:00
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
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
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
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
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
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
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
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
0518c677c9 Add load last saved box on load
mimics the game
2015-05-06 19:30:31 -07:00
Kurt
bbf43d7e34 Refactoring and Showdown Bug Fix
Thanks Odaxis for reporting the Showdown import edge case with Mr. Mime!
2015-04-28 07:39:50 -07:00
Kurt
7727ea23f6 More sanity checks for argument strings
It just doesn't want to behave at all.
Thanks BPSpike for reporting this edge case!
2015-04-25 00:35:22 -07:00
Kurt
225302c149 Double hotfix!
Wondercards with unknown items (null -> load unknown); block Eon Ticket
Fix language auto-loading
2015-04-05 10:48:18 -07:00
Kurt
330fe29055 Minor fix
Pokerus days will no longer cause errors
2015-04-04 20:45:29 -07:00
Kurt
3fd9793e5e Re-do PKRS display logic
Fixed PKRS strain duration limits too.
2015-04-02 18:44:03 -07:00
Kurt
9928bc1e14 Easier wondercard opening 2015-03-31 17:58:23 -07:00
Kurt
53cfb0d54f OT Trash Bytes
Thanks again, LunarCookies!
2015-03-23 22:51:04 -07:00
Kurt
1d3b439753 Nickname Trash Bytes
Thanks LunarCookies!
2015-03-23 19:35:46 -07:00
Kurt
4217a474e1 PKRS Days duration on load fix 2015-03-18 21:34:12 -07:00
Kurt
1aa77e2c9b Set Import Fixes & Trash Byte Fix
Set will now import gender and set nickname properly, also will now
import Showdown's stat descriptions.

Latest OT will now write only enough bytes and won't overwrite any
previous names, leading to trash bytes. Fun.
2015-03-18 20:45:06 -07:00
Kurt
0839f1b43c Finish implementing Showdown/Smogon paste importing
Some other minor tweaks to smooth the code.
2015-03-16 19:25:59 -07:00
Kurt
b906491d2f Refactoring, QR operations -> method 2015-03-13 19:59:51 -07:00
Kurt
a8583b0ca0 Usage Fixes
Reordered tabs and such to make it friendlier for key-recorded macros.
2015-03-12 08:25:27 -07:00
Kurt
0907f56e06 Implement extra Language Translations (Portuguese)
Should be easy enough to add subsequent ones without errors; just modify

lang_val -> abbrev
main_langlist -> as it will appear in the dropdown
2015-03-11 22:51:56 -07:00
Kurt
b56edf1fec Continued Refactoring
Should be good now, a lot of silly stuff removed.
2015-03-11 21:44:12 -07:00
Kurt
a395676169 Add ORAS Item Arguments 2015-03-10 22:32:37 -07:00
Kurt
0e05742a1f Add Wondercard QR
Main form string fixes to accompany the WC updates.
2015-03-10 21:18:35 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
b1adf41b81 Add Hidden Power quick selector 2015-03-08 17:41:13 -07:00
Kurt
9f78b40f1b Form Fixes and Improvements
Now hiding the label/combobox too.
Thanks SwingBlade!
2015-03-08 00:48:57 -08:00
Kaphotics
e0fe57a150 Merge pull request #44 from FullLifeGames/patch-1
Fixing a bug with the Country Sub Region selection
2015-03-05 00:15:52 -08:00
Kurt
3d39df36c5 Add ORAS Items to Memory Item Usage List
Thanks liopds.
2015-03-04 17:57:42 -08:00
Kurt
1ff60e7231 Click Hidden Power Type to change
Hold Control to go backwards in the list.
2015-03-03 18:57:08 -08:00
FullLifeGames
aa309ae034 Fixing a bug with the Country Sub Region selection
This bug occurred via switching from "Australia" to "Austria" while selecting "Vorarlberg".
It throws an ArgumentException and this is the fix I used while working on this: http://projectpokemon.org/forums/showthread.php?44994-Mass-Editor-for-all-PKHeX-supported-files
2015-03-03 18:11:21 +01:00
Kurt
42ca854a0d Fix AltQR loading of data not in tabs. 2015-03-01 11:04:06 -08:00
Kurt
5ed3e58572 OnLoad pk6/ek6 species/language fix
new blank data loading moved to before the launch arguments are
interpreted
2015-02-28 10:35:35 -08:00
Kurt
ade0f44726 Dragout Preview hotfix for TID/SID/Gender changing
Previously didn't update; does now!
2015-02-27 21:51:19 -08:00
Kurt
89ff5576c9 Gentle QR fuzz & Pre-Loading main form on load 2015-02-27 19:03:36 -08:00
Kurt
409df4fe7e QR handling for multiple QR codes in same img 2015-02-27 18:20:50 -08:00