Commit graph

446 commits

Author SHA1 Message Date
chenzw95
fde1c95700 Distinguish between Leagues of both regions
An oddity will otherwise force the smaller index (Kalos') to be selected instead.
2016-05-08 18:47:22 +08:00
Kaphotics
0f69fcb7f8 Add load modifyPK6 override
Extracted existing dialog from openFile to a method.
For loadBoxesFromDB and opening a box binary.

Thanks Eskuero for the suggestion!
2016-05-05 18:52:43 -07:00
Kaphotics
0c92f180c6 Update OT gender color on clickOT
load from save -> load gender, also fetch color.

Thanks Eskuero!
2016-05-05 18:47:40 -07:00
Kaphotics
34cb70e16b Commit the rest
Why github do you just ignore if I save
2016-04-30 20:25:12 -07:00
Kaphotics
3213db3020 Keep gender when changing species
Only do gender detection if it's from previous games
2016-04-30 14:43:47 -07:00
Kaphotics
7a94640c0c Add wc6full bin
Include loading into the database
2016-04-29 23:24:23 -07:00
Kaphotics
1de3f31e9f Minor refactor
cleanup, remove parenthesis/unused

EV total backcolor matches IV backcolor instead of a defined color (for
those who alter their default color schemes)
2016-04-28 21:43:16 -07:00
Kaphotics
397fb30df5 Remove Code Generator
Using the Cache for CyberGadget removes any need for a code generator,
as the code generator had many holes (partial writes if data already was
correct); future games would be odd to balance.
2016-04-27 21:07:35 -07:00
Kaphotics
dc43dea409 Fix demo & opening wc6 form
ctrl + drop wc6 -> window errors out, caught exception masks the
failure.

Prevent it by default
2016-04-26 23:01:59 -07:00
Kaphotics
2233747d87 Box Dump tweak
Disable for ORAS demo
Use box name for folder name instead of "BOX #"

Minor modifications adding if (SAV.XY) for future game branching.
2016-04-25 22:03:16 -07:00
Kaphotics
d3b5968efd Add more savegame specific safeguards for pk6set 2016-04-24 12:40:46 -07:00
Kaphotics
cb2e3d9a04 Add legal EC generation
Wurmple evolution is accounted for, as is past gen EC matching PID.
2016-04-21 19:44:22 -07:00
Kaphotics
2c523dcd97 Allow wc6fulls to be added to DB
Minor load/save improvements
2016-04-21 18:47:51 -07:00
Kaphotics
027e0e19b1 Refactoring 2016-04-18 18:21:50 -07:00
Kaphotics
f39730b2b3 Init default savefile
No need to have warning when importing a wc6 as PKHeX has the default
info now.

Resolves #99 indirectly.
2016-04-17 15:41:28 -07:00
Kaphotics
802ecc9c66 Add wc6 import prompt if no SAV loaded 2016-04-16 11:32:25 -07:00
Kaphotics
707285cf0d Improve form centering, cleanup
Center database/report forms on load; doesn't happen by default as there
is no parent assigned when it is called by Show().

Add a form->form centering method, cleaned up the code behind the 16byte
hex seed fields.
2016-04-15 16:11:46 -07:00
Kaphotics
309d521201 Add loading override for Battle Vido
for those who want to check pk6's without modifications
2016-04-14 17:10:06 -07:00
Kaphotics
4ff64a2ff8 Fix transporter string
Cosmetic bug due to shuffling the languages around
2016-04-14 02:36:40 -07:00
Kaphotics
e590aaf0d4 Fix hotkey exit (Q) prompt 2016-04-12 18:40:37 -07:00
Kaphotics
115d1f0591 Language loading fix
PKHeX pt would cause exception

Flip ja/en order to match ingame values
2016-04-10 09:33:38 -07:00
Kaphotics
76e62ccd46 Fix language change deleting data
create a new pk6 separate from the form's pk6 storage which can be
modified.
2016-04-09 18:56:29 -07:00
Kaphotics
1f35c4a577 Fix jksv detection
Root of 3DS's sd card, not in the Nintendo 3DS folder
2016-04-09 18:09:13 -07:00
Kaphotics
cfe982dbe1 Add JKSV detection 2016-04-08 22:14:16 -07:00
Kaphotics
1c531b0673 Bring popup to front instead of alert
Any call to open a form that is already open (special characters, box
report, database) would alert that it's already open. Just bring it to
the front. Since it may be hidden, just move it back into view (align to
main program's top-left location)
2016-04-07 22:16:08 -07:00
Kaphotics
1eff57bd87 Simplify move suggestion method
Relying on linq... so rich.

Take the suggested moves, select a string array, and join.
2016-04-07 17:42:53 -07:00
Kaphotics
53e046fd7f Disallow exporting backup if sav is not exportable
CTRL-B could bypass the 'export' option being disabled.
2016-04-06 18:36:10 -07:00
Kaphotics
d3fbaed225 Remove moveID references, use language strings
Fixes #96
The legality core should not rely on text resources for legality output,
and move IDs are meaningless to the common user.
2016-04-06 18:13:43 -07:00
Kaphotics
cb9cab9ac0 wc6full fix
fix typo, add filter
2016-04-06 17:46:34 -07:00
Kaphotics
e0a2226228 Add cache detection to other sav detection methods 2016-04-05 20:37:36 -07:00
Kaphotics
4f6f0dddf0 Add cache folder detection to main window open 2016-04-05 20:27:57 -07:00
Kaphotics
b200592a6b Showdown Import/Export Shortcut Keys
CTRL-T: Import from Clipboard
CTRL-SHIFT-T: Export to Clipboard
2016-04-04 20:41:26 -07:00
Kaphotics
d1cd61f0c4 Fix ctrl held at launch exception 2016-04-04 20:41:26 -07:00
Kaphotics
09811c32e4 Add verbose export
Partial commit error fixed
2016-04-03 17:11:58 -07:00
Kaphotics
cf7ca51d83 Let the program handle genderless pkm on load
Previously a Male Arceus would load (gender 0 = male), just have the
program handle the gender/species.
2016-04-02 14:03:04 -07:00
chenzw95
2ac37336dd Reset OpenFileDialog path only if it does not exist 2016-03-31 01:14:32 +08:00
chenzw95
f6c593ac7d Explicitly set InitialDirectory when creating new OpenFileDialog
Probably fixes most "no disk in drive" issues.
2016-03-31 00:24:58 +08:00
chenzw95
28671eaf2d ORAS: fix incorrect display if only daycare 1 is empty 2016-03-29 17:58:14 +08:00
Kaphotics
f728608216 Add Clear All for Memory Country/Region 2016-03-26 19:40:02 -07:00
Kaphotics
f55c2df910 Remove old ramsav cases
Unnecessary, program can't handle them anymore.
2016-03-25 00:10:57 -07:00
Kaphotics
a2c42a2293 RelearnMove suggestion instead of copyMoves 2016-03-25 00:10:11 -07:00
Kaphotics
ebb6349ceb Less cryptic encountertype choices
Resolves #91
2016-03-24 17:04:28 -07:00
Kaphotics
ea3fabe8e9 Drop past gen pkm -> slot img refresh
Fixes #89
Thanks poutros
2016-03-24 16:44:57 -07:00
Kaphotics
2b91145612 Clear bad egg background when slot is overwritten
PKHeX will never write a sanity=0 or bad chk, so no need to check.
(anyone can make the program do that though!)
2016-03-23 21:35:36 -07:00
Kaphotics
eec754256a Lambda
Slick.
2016-03-22 20:30:48 -07:00
Kaphotics
c89e3a84c1 Allow menu strip to stay open on chk click
Allows the user to click multiple options in Set to SAV and Database
filters without having the options disappear on click.
2016-03-22 20:14:11 -07:00
Kaphotics
17109093bd Update legality display before alert
Instead of updating after displaying why it's (not) legal.
2016-03-20 21:57:50 -07:00
Kaphotics
7269c97699 Minor tweaks
Update legality on showdown export
Update all legality on legality analysis triggered (PB_Legal or
contextmenu)
2016-03-17 18:58:30 -07:00
Kaphotics
76b3031263 Invalidate legality on bad moveset
Make the legality pictureboxes global for the Main form.
2016-03-14 23:26:29 -07:00
Kaphotics
945d0187ee Lowercase hax detection 2016-03-14 17:55:42 -07:00