Commit graph

827 commits

Author SHA1 Message Date
Kaphotics
82cdcf0e3b Add pgf retrieval 2016-02-28 13:50:06 -08:00
Kaphotics
4cfa9e322f Cleanup
Nothing.
2016-02-28 13:49:58 -08:00
Kaphotics
572e1b9e32 Add 5th Gen save file object
new SAV5(data) => easy access to boxdata/party for export.
2016-02-27 19:28:41 -08:00
Kaphotics
accbbd89eb Add Sun/Moon Version IDs
We'll see if this guess holds up.
Possible that the VC games will have Version IDs afterwards.
2016-02-27 18:25:27 -08:00
Kaphotics
e024d7824b Modifying Met Locations update Legality analysis 2016-02-27 18:10:02 -08:00
Kaphotics
37ad88a4ce Feelings for Trades
0-9 Bank
0-19 Trade
Thanks suloku
2016-02-27 10:59:40 -08:00
Kaphotics
c6796a09f0 Fix Location bugginess with Legal checking
Thanks Odaxis.
2016-02-26 20:33:18 -08:00
Kaphotics
c618e1aac6 Add encounter slot checking, edge case handling
So much information is needed to check a given aspect that it's best to
just pass the pk6 around to functions.
2016-02-26 07:52:08 -08:00
Kaphotics
59afa57d6d Fix evolution table
dex1 > dex2 failed to copy over
2016-02-26 07:50:46 -08:00
Kaphotics
47f53a3a57 Add Gardevoir Forme
Shift all afterwards by 2.
2016-02-25 22:02:51 -08:00
Kaphotics
cb6a3394d5 Add encounter tables 2016-02-25 16:19:59 -08:00
Kaphotics
4b7f253a1e Add DexNav move legality checking 2016-02-24 16:36:26 -08:00
Kaphotics
264ae85509 Simplify references to local copy
Not going to reference main form besides open/close r/w.
2016-02-24 15:29:24 -08:00
Kaphotics
643b2afb52 Cleanup
Safe casts aren't needed for Array.IndexOf
Initial Ribbon images are already set up, no need to rereference
Slicker way of inverting checkboxes.
2016-02-24 14:59:03 -08:00
Kaphotics
11b8010992 Cleanup
Use less lines to do the same thing
2016-02-24 14:38:12 -08:00
Kaphotics
194de261cf Minor cleanup
No functional changes.
2016-02-23 19:20:52 -08:00
Kaphotics
b3a4cc858e Move Relearn checks to Analysis.cs
Keeping logic out of Main.cs
2016-02-23 19:19:25 -08:00
Kaphotics
c4f9819314 Use calculated level instead of stat level 2016-02-22 22:53:21 -08:00
Kaphotics
968eabd053 Reorganization for future changes
Moving legality stuff into separate class
2016-02-22 22:52:48 -08:00
Kaphotics
7a3b0699d0 Add battle resort = egg, add smeargle bypass
I still should move this to a legality checking core, will do after this
weekend's VGC.
2016-02-20 22:21:03 -08:00
Kaphotics
153d058d67 Fix nature reset 4->X 2016-02-19 17:12:10 -08:00
Kaphotics
c7142755d0 Update changelog
Gonna shift things around later.
2016-02-18 22:34:07 -08:00
Kaphotics
c426089c07 Add Move Legality Checker
Note that this is a first iteration feature; there are known edge cases.
This feature is merely to assist the user by highlighting moves that are
outside of the typical moveset.

Levelup/Eggmove/Tutor/TMHM are used in the logic.
2016-02-17 07:54:59 -08:00
Kaphotics
baac285b59 New Release, finalize changelog 2016-02-15 21:25:31 -08:00
Kaphotics
a1e0decb2e Update changelog 2016-02-14 22:31:05 -08:00
Kaphotics
3bf15ca5de Foreign game bool fix 2016-02-13 23:01:18 -08:00
Kaphotics
819d483821 Fix XY FormDex using ORAS 2016-02-13 23:00:14 -08:00
Kaphotics
4af5e1c299 Add FormDex setting 2016-02-13 20:20:55 -08:00
Kaphotics
54e5b2b30c Fix Transfer Ability 4->6
Clear Shiny Leaves/Crown, and fix ability detection
2016-02-13 19:40:51 -08:00
Kaphotics
eae4b2ad5c Add Pokedex entry form editing
Thanks suloku for mapping out the order of flags!

Fixed a few bugs with the existing ModifyAll code.
2016-02-13 19:17:35 -08:00
Kaphotics
8f84e13fb0 Fill Dex -> Modify Dex methods 2016-02-12 23:01:28 -08:00
Kaphotics
4eab4c2434 Fix box import filecount msg
ctr is not initialized to 0 (instead to 30*CB_BoxSelect.SelectedIndex),
so we need to undo that to get the actual count of files imported.

Fixes #74
2016-02-12 00:01:15 -08:00
Kaphotics
a48642cb32 Fix Adventure Start Time editing
Previously only date was editable and the time was not considered.
New logic takes first datetime, removes seconds, then adds the second
datetime's seconds.

Since the second datetime's date is 2000, 1, 1, the resulting value is
just totalseconds (since midnight) regardless of date (which is the
first datetime).
2016-02-11 23:44:50 -08:00
Kaphotics
7b380cd0aa Refactoring
Minor fixes to coding style

PGT fixed default OT name from pk4HeX to PKHeX. Yay for replace all
"pk"-"pk4" case insensitivity.
2016-02-11 23:42:42 -08:00
Kaphotics
52b0b107f9 Fix OT Gender not being set on 5->6 2016-02-11 23:29:57 -08:00
Kaphotics
e8c1fb662d Add automatic save backup
Create "bak" file, or export a backup successfully anywhere to receive
the "create bak folder" prompt. When saves are loaded (with a new
timestamp), they will be backed up. Repeat loads of the same file will
not be backed up, as a backup of that file already exists
(OT/Game/SavedAt is the hash used).
2016-02-11 21:41:31 -08:00
Kaphotics
cab1959aa7 Add Version Name to backup name
Seems ok.
2016-02-11 20:53:11 -08:00
Kaphotics
aeab85cb83 Simplify Characteristic calc
++ increments after calculation, array accessor uses the calculated
value
2016-02-11 20:52:10 -08:00
Kaphotics
1b4975f6c5 SAV remember import name&dir 2016-02-11 00:56:10 -08:00
Kaphotics
f296154d30 Refactoring
Merging declaration and assignment outside of form constructor.

Alert user if they tried to set Eon Ticket to X/Y.
2016-02-11 00:43:44 -08:00
Kaphotics
d2214f4fa1 Refactoring 2016-02-10 00:33:42 -08:00
Kaphotics
02c786f91f Update changelog
Processed the commits to summarize what has been modified.
2016-02-09 19:12:24 -08:00
Kaphotics
caa08ff6db Update changelog
Moved to correct section (it's not a pkx editing tab but a box editing
tab)
2016-02-09 18:59:55 -08:00
Kaphotics
62bb9350ba Improve 1MB error messages 2016-02-09 15:44:59 -08:00
Kaphotics
9f6e31f6eb Fix 1MB importing opposite
Yes => 0
No => 1
Nobody uses 1MB imports anyway...
2016-02-09 15:37:12 -08:00
Kaphotics
da862c2ae5 Remove "Cancel" option where not necessary 2016-02-09 15:35:56 -08:00
Kaphotics
97b766eadb Add SAV6 ChecksumsValid property 2016-02-09 15:30:10 -08:00
Kaphotics
091f5c10d2 Simplify getStringList method calls
No need to go to List and back to array.
2016-02-09 15:27:24 -08:00
Kaphotics
0d57b12d3d Make sortBoxes accessible
ctrl click the "Box" tab
2016-02-08 23:57:25 -08:00
Kaphotics
f693085ffa Update changelog
A few to keep track.
2016-02-07 23:27:46 -08:00