Commit graph

931 commits

Author SHA1 Message Date
Kurt
98a479ded3 Implement PGT/PGF -> PK6 file opening 2015-12-26 16:05:26 -08:00
Kurt
20276e4293 Finish PGT conversion 2015-12-26 16:05:09 -08:00
Kurt
85e000da27 Expose IV32
Needed to check for PGT random IVs (essentially unnecessary)
2015-12-26 16:04:54 -08:00
Kurt
92fe0910fe Add 4th gen crypto (+PGT specific optional arg)
PGT files are encrypted with the PK4's checksum instead of the PID;
however, the shuffle value is still determined by the PID.
2015-12-26 15:55:25 -08:00
Kurt
b990f6c39a Add remaining KOR codes
Fixes the early return issue on 4->5 conversion
2015-12-26 15:50:46 -08:00
Kurt
8a77a1cd6c First look at PK4 code 2015-12-26 13:00:00 -08:00
Kurt
1644e6c848 Use traded status (HT Name) when setting untraded
This now prevents untraded mons from being modified (which is intended).
2015-12-26 10:42:29 -08:00
Kurt
7f0d714683 Tweak trade status detect for modifying geolocation 2015-12-26 10:37:07 -08:00
Kurt
cd962396af Cache initialization state on language change
User prompts -> restore after finish

Moved mouseslot right-click abort logic earlier.
2015-12-26 10:26:42 -08:00
Kurt
5325975e76 Implement gen5 event PID method
force shiny method, thanks to all the researchers active during genV RNG
research.

Slight tweaks to force ability.
2015-12-25 18:17:47 -08:00
Kurt
9b7394f631 Fix order of operation
cast happened before modulo, resulting in negative return values
2015-12-25 17:54:14 -08:00
Kurt
c91512dc15 Implement Gender/Ability criteria 2015-12-25 17:06:56 -08:00
Kurt
1c257c0a24 Implement PGF import->convert
Program should now be able to handle imported PGFs; due to no gen5 save
data being available, that data has to be fabricated. User has to enter
in their OT/ID/Version details, but a skeleton to make it legal is the
default data.
2015-12-25 14:08:43 -08:00
Kurt
20ae99f20d Finish PGF import 2015-12-25 14:07:17 -08:00
Kurt
374f8b0c83 Fix pk6 modifying and event handling logic
Memories won't be modified if the window has it disabled
Geolocations won't be modified if the Pokemon is an event Pokemon and is
so-far untraded.

Misc change: initializing boxes won't do unnecessary calcs.
2015-12-24 15:38:07 -08:00
Kurt
ca9fa674dd Update changelog
Gonna keep the old release date.
2015-12-23 08:02:06 -08:00
Kurt
2d4920e8bb Fix FlagDiff
No longer supports 1MB decrypted saves (because honestly who does that)
2015-12-23 07:58:43 -08:00
Kurt
75c9799f7b Fix scrolling through trainer stats 2015-12-23 07:57:41 -08:00
Kurt
1bb07b5998 Add pgf skeleton & supports
Untested and not intended to be correct; just establishing the framework
for now.
2015-12-22 21:14:50 -08:00
Kurt
b27abe3509 Bugfix 2015-12-21 20:45:44 -08:00
Kurt
54bd371b50 Fix Showdown Export IVs 2015-12-20 10:55:47 -08:00
Kurt
308dfd2c24 Fix Showdown Export nicknames 2015-12-20 10:50:09 -08:00
Kurt
b0200f1a5c Update changelog for 12/20/15 2015-12-20 00:22:01 -08:00
Kurt
aa7af78cd9 Change minimum logic
0-5 -> add pk has a max scroll of 0 not 1
2015-12-19 16:32:22 -08:00
Kurt
d325028bec Tweak set/delete/view logic
Better incorporates colored slots and final states after actions are
performed.

When setting, the database list will scroll to the absolute end
possible.
2015-12-19 16:29:44 -08:00
Kurt
d102da0e6c Tweak setting logic and size references
Acting on a slot will now work on set/delete
2015-12-19 16:25:32 -08:00
Kurt
0c2d2ac049 Add drag rearrangement of Wonder Cards 2015-12-18 22:17:01 -08:00
Kurt
5baff6fb8f Tweak ListBox interaction
Redefine text instead of clearing and regeneration.

I like this method of manipulation much better; got rid of the old list
box and added a contextmenu to the Received List.

Also added Drag&Drop support.
2015-12-18 22:04:01 -08:00
Kurt
e2a176aac6 Clear empty wc6 slots, show current action slot
Like the main window, indicate which slot the user has
viewed/set/deleted.

Cards with cardID=0 are removed (none existing)
2015-12-18 20:48:47 -08:00
Kurt
fbbb99037c Finalize design of WC
Add row indications just in case it isn't clear
2015-12-18 20:32:01 -08:00
Kurt
39aa1ac205 Refine WC presentation 2015-12-18 20:25:16 -08:00
Kurt
8dc4ad9c9d Update changelog 12/18/15
12/18/15
2015-12-17 21:16:14 -08:00
Kurt
e4e662e2f2 Wonder Card update
Added preview display for all Wonder Cards; consistency in calling them
Wonder Cards.
2015-12-17 21:15:40 -08:00
Kurt
1dc190436a Add Battle Box Lock indication 2015-12-17 19:56:21 -08:00
Kurt
9d6e18484f Backup suggested clean file name 2015-12-17 19:04:19 -08:00
Kurt
3e5c5c9fec Change default BOX string.
Forgot to catch this one.
2015-12-17 18:59:54 -08:00
Kurt
a8dbe9e268 Change default BOX string 2015-12-17 18:58:48 -08:00
Kurt
9e4f13d00d Reorganize & SAV Backup
Alt Click the Export SAV button.
Remove Tools Tab and transferred richtextbox outputs to Clipboard
exports.
2015-12-17 18:55:59 -08:00
Kurt
7efa4716f4 Remove Tools Tab 2015-12-17 18:55:19 -08:00
Kurt
aab5821fb5 Fix typo 2015-12-16 19:36:12 -08:00
Kurt
897be57e1f Add GameSync ID Editing 2015-12-16 19:33:58 -08:00
Kaphotics
36a1550dd3 Add GameSyncID property
Thanks daxtsu for figuring out where this value is stored.

I plan on adding a "GameSync ID" related button in the Main window's SAV tabs.
2015-12-15 11:32:21 -08:00
Kurt
3d4847f1bc Reorganize logic
Behaves better
2015-12-14 22:14:57 -08:00
Kurt
fd8455b158 Reduce complexity 2015-12-14 22:04:37 -08:00
Kurt
808e035d20 Remove unnecessary submethod 2015-12-14 21:39:56 -08:00
Kurt
d91f3ee231 Path.Combine 2015-12-14 07:52:25 -08:00
Kurt
6101fd2123 CopyTo 2015-12-14 07:52:05 -08:00
Kurt
a51bf8389c Switch DataTable to int[][]
Little less silly.
2015-12-13 22:31:34 -08:00
Kurt
627f8e9c91 Remove unused array 2015-12-13 20:12:08 -08:00
Kurt
c51e3ae8a5 Fix xorpad infinite loop when loading from exepath 2015-12-12 23:39:43 -08:00