Commit graph

437 commits

Author SHA1 Message Date
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
Kaphotics
9cf6753a36 Lowercase Update
Addresses #82
2016-03-14 17:54:30 -07:00
Kaphotics
c08e8a75c5 Safe accessing
2 gender chars at most -> any fuzz/bad pk6 won't throw here.
2016-03-13 23:20:45 -07:00
Kaphotics
b357a00fe3 calendar at current date on load 2016-03-13 18:38:11 -07:00
Kaphotics
c6439aa03c Add legality indication on loading to tabs 2016-03-13 18:09:12 -07:00
Kaphotics
2e0a06034c Add Full Size WC6 importing 2016-03-13 10:54:33 -07:00
Kaphotics
0ebbcbccb4 Move Legality check rewrite
Moved to checks
Returns why it's invalid
Added base egg move checks -- all eggs need level1 moves, can only be
pushed out. The move table acts as a sliding window; grab a list of
level1 moves, tack on relearn moves, then observe window view (last 4).
Added egg met level check
2016-03-12 09:16:41 -08:00
Kaphotics
019d074f0d Speed up startup time
SelectionLength takes a lot of time when loading fields, so only start
doing it when the form is totally loaded.
2016-03-11 20:57:55 -08:00
Kaphotics
9210ef06c6 Add Move checking
Tweaked some inner logic to validate moves on creation of new
legalityanalysis for use in display, with refresh methods.
2016-03-11 20:56:40 -08:00
Kaphotics
0e1599e9d5 Farewell QR! label
Moved into the contextmenu.

shortcuts available:
shift click picturebox -> out QR (to window)
alt click picturebox -> in QR (from clipboard)
2016-03-11 18:40:08 -08:00