Commit graph

1352 commits

Author SHA1 Message Date
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
Kaphotics
f290e5be32 Cleanup 2016-02-06 16:27:09 -08:00
Kaphotics
9facabd945 Add if (obtained & CTRL) skip to FillDex
Satisfies https://projectpokemon.org/forums/showthread.php?48120
2016-02-05 22:11:34 -08:00
Kaphotics
64d29e3278 Remove unnecessary braces 2016-02-05 22:10:08 -08:00
Kaphotics
115ca91bea Fix HPType off by 1
Fixes #73
Thanks krelbit!
2016-02-03 15:41:43 -08:00
Kaphotics
d1f04b28ab Refactoring
Clarity++
2016-02-02 20:05:46 -08:00
Kaphotics
a329a17c62 Tweak Box name get/set 2016-02-01 22:33:15 -08:00
Kaphotics
10f542f240 Update README.md
Updated description to resolve confusion with Issue #70
2016-02-01 20:04:57 -08:00
Kaphotics
2d4d973689 Refactoring
lines--
2016-01-31 23:15:54 -08:00
Kaphotics
e6d9a0681e Fix CardTitle trimming
Trim off null terminators
2016-01-31 22:14:22 -08:00
Kaphotics
0a22a9cab5 Switch PP textboxes to masked
Removes some unnecessary code.
2016-01-31 20:44:30 -08:00
Kaphotics
b67598cfb9 Refactoring
Simplify a few usages, tweak specialchars to only have one instance open
(in a different way)
2016-01-30 23:03:43 -08:00
Kaphotics
803a09e1c2 Improve Menu->Open 'main' detection
If main exists, default filename to 'main' when dialog shows
Added detection if main is in last opened folder (if the user copied to
a nonstandard path).
2016-01-29 18:46:14 -08:00
Kaphotics
6b04a46618 Remove unneeded check
0 species causes a return two lines above, thus 0 species && 0 ec will
never happen.
2016-01-29 18:04:02 -08:00
Kaphotics
be2b86e973 Don't show form if already open
Loop through all openforms to see if any are already open.
2016-01-29 18:02:54 -08:00
Kaphotics
b95cbbbfce Simplify Unicode usage
Now shows current status as a checkbox.
2016-01-29 17:27:20 -08:00
Kaphotics
3c1c6b86ba Clear OT memories on set if !Gen6 2016-01-28 19:35:48 -08:00
Kaphotics
970a887728 Clear OT memories of transferred mons
No memories are formed, remove them if they exist.
2016-01-28 18:51:27 -08:00
Kaphotics
1c53243283 Remove ram2sav
Also removed injectiondebug and trade packet handling.

Improved BAK suggested filename (last saved timestamp)
2016-01-27 20:24:32 -08:00
Kaphotics
6ab7ba4bc1 Add LastSavedTime string
Backup purposes.
2016-01-27 19:57:17 -08:00
Kaphotics
2a1bb41f62 Recalculate IV total on randomization
updateIVs calls updateStats at the end.
2016-01-26 21:06:53 -08:00
Kaphotics
8469d04417 Refactoring
Polishing polish
2016-01-26 21:04:17 -08:00
Kaphotics
9bfeb050c9 Only export team if data exists
Try-catch already handles it, but let's be safe.
2016-01-26 18:52:08 -08:00
Kaphotics
8232de08a4 Lock remaining controls 2016-01-26 17:53:55 -08:00
Kaphotics
dee466cf73 Add Min/Max button 2016-01-24 10:23:57 -08:00
Kaphotics
35465b837e Minor refactoring
Load used WC even if dismissed, i/o for main display operates by passing
PK6 instead of byte[]
2016-01-24 10:19:30 -08:00