Commit graph

83 commits

Author SHA1 Message Date
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
0d57b12d3d Make sortBoxes accessible
ctrl click the "Box" tab
2016-02-08 23:57:25 -08:00
Kaphotics
0a22a9cab5 Switch PP textboxes to masked
Removes some unnecessary code.
2016-01-31 20:44:30 -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
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
8232de08a4 Lock remaining controls 2016-01-26 17:53:55 -08:00
Kurt
6e29ad20d6 Update changelog
Forgot to store the total download count before publishing the latest
release.
2016-01-11 21:19:01 -08:00
Kurt
bd5a1c7db3 Use string method instead of control based 2016-01-09 12:46:13 -08:00
Kurt
8352611042 Split save exporting to multi-option
Alt modifierkey not playing nice.

To be conformed with shortcuts/languages in a later commit.
2016-01-02 22:31:04 -08:00
Kurt
7d2c853ffd UI Improvements
Moved a lot of shortcut/button functions to the main menu; should be
much neater in terms of presentation.

Split up Box Load/Dump.
Tweaked the Translation function in Util to properly find every
menustrip items.
Translation files updated with new Menu layout.

Also made the form always launch in max size, thus removing the 'Toggle
Box Interface' option.
2016-01-02 20:22:53 -08:00
Kurt
6246b01191 Add display of secure values
Not editable, as the user should not have to modify. Just display!
2015-12-28 13:52:08 -08:00
Kurt
1dc190436a Add Battle Box Lock indication 2015-12-17 19:56:21 -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
897be57e1f Add GameSync ID Editing 2015-12-16 19:33:58 -08:00
Kurt
5cf880250f Add Showdown Team exporting 2015-12-09 19:40:29 -08:00
Kurt
d36c133536 Move some form initialization to designer
Have to keep PictureBox.AllowDrop = true as it's normally overridden and
needs to be set after initialization.
2015-11-18 21:37:30 -08:00
Kurt
d1c21d460f Cleanup
Removed duplicate array initialization for getting slot filler.

Improves speed ever so slightly ;)

Other minor cleanup/rearrangement
2015-10-24 18:16:22 -07:00
Kurt
e85c57b35c Re-enable encounter type
Visibility toggling is sufficient; there never was code to re-enable.

Old cosmetic bug :)
2015-10-24 16:41:49 -07:00
Kurt
661052bcf9 Refactoring of Save File Usage
Probably breaks a thing or two... time to get testing after this new
commit.

Wrapping the stored 'savefile' into an object which handles its use
allows a clearer separation of function and easier maintenance or future
updates.

May eventually move all get/sets for each form to allow property
fetching from any window, all logic handled within the class.
2015-10-23 20:13:32 -07:00
Kurt
2e5f447dce Begin Implementing auto-modification when set
There's a few ways to finish implementing, as the program needs a way to
access Trainer Information on the fly. Quick and dirty way is to add new
global variables and set them when a save file is loaded, and a cleaner
way would be to move the 'savefile' variable into the sav class and do
all accessing from there.

Not yet decided on which. For now, the added items and code still do
nothing.
2015-10-19 19:08:56 -07:00
Kurt
c1bb9d5cec Add database view skeleton
future?
2015-10-05 18:51:52 -07:00
Kurt
21b48389cc Fix Sav manip label alignment
Its text is changed by the language files; needs to be positioned
correctly.
2015-10-04 16:35:56 -07:00
Kurt
076a8b369d Memory Editor uses pk6 object & bugfixes
Eggs cannot have memories, and have all edits disabled.
When a pk6 is saved, memories will be cleared if they should not be
present.

Fixed empty regions showing up with data
Fixed not being able to edit the first georegion for an untraded Pokemon

All lock-outs for editing should be correct now.
2015-09-28 21:11:03 -07:00
Kurt
8e0d367ddf Cleanup & Adding MaskedTextBox click events (IV/EV)
Same functionality as the previous commit's adding of Max/Min stats for
IV/EV; this one should be easier to do (Control click the textbox to
max, alt to minimize/zero).

Removed SavePKX / OpenPKX; they are only used inside one method and
don't need to be persistent.
2015-09-27 10:00:45 -07:00
Kurt
27492e1600 Add IV/EV click modification
Control to modify IVs, Alt to modify EVs
Left click to set to 31 (or max remaining EVs)
Right click to set to 0.

Feels much better with the Key being the IV/EV switch, not the
left/right click (for left/right column editing).

Think of it as L(oad)/R(eset) 👍
2015-09-25 21:56:15 -07:00
Kurt
67aa4753d6 Remove 1MB native support
Finally rid of this monster.

There still exists a bug when loading the pk6 data to tabs; still need
to fix that before it's stable.
2015-09-23 22:45:44 -07:00
Kurt
f6d1bd93d9 Remove double subscribed event 2015-09-20 23:03:42 -07:00
Kurt
d4ea56cfd6 Heavy refactoring
Remove numerous inter-form dependencies, remove hard-coded offsets,
update a few spots to use better programming practices.

Should increase the readability of PKHeX's source code.
2015-09-20 20:34:09 -07:00
Kurt
2ea5c3b2e9 Enable Egg RNG Seed Editing
Played around with a few solutions, was happiest with (the probably
slower) linq as I didn't feel like using regex.

Supports copy/paste as all the filtering is done when the text changes;
any successful update will refresh the value in the save file.
2015-09-15 23:33:02 -07:00
Kurt
a055e667ce Alter starting box detection & saving
now writes the value back only on save; which alleviates the checksum
issue.
2015-08-06 22:32:12 -07:00
Kurt
0518c677c9 Add load last saved box on load
mimics the game
2015-05-06 19:30:31 -07:00
Kurt
b906491d2f Refactoring, QR operations -> method 2015-03-13 19:59:51 -07:00
Kurt
a8583b0ca0 Usage Fixes
Reordered tabs and such to make it friendlier for key-recorded macros.
2015-03-12 08:25:27 -07:00
Kurt
b1adf41b81 Add Hidden Power quick selector 2015-03-08 17:41:13 -07:00
Kurt
1ff60e7231 Click Hidden Power Type to change
Hold Control to go backwards in the list.
2015-03-03 18:57:08 -08:00
Kurt
ee050c531e Font Flexibility 2015-02-26 21:07:18 -08:00
Kurt
d856a8c95c QRgen initial (unworking)
Further improvements to overall system stability and other minor
adjustments have been made to enhance the user experience.
2015-02-24 20:10:47 -08:00
Kurt
f5917c0319 Change Exit hotkey to what it should be (E)
Ctrl X for cutting should work as intended now.
2015-02-22 13:04:12 -08:00
Kurt
9bd1d302e1 Added Nature Stat Modification Tooltip 2015-02-21 12:59:22 -08:00
Kurt
b41ad06537 Main Form Trainer Name special chars
Adjusted shortcut to control clicking on the textbox; easier than right
click.
2015-01-27 23:28:44 -08:00
Kurt
7c40b00b54 ram2sav pre commit 2015-01-26 22:05:04 -08:00
Kurt
f49758f57e Save File Dialog Fix
Thanks Alphadelta14 (Alpha)!
2015-01-26 16:49:41 -08:00
Kurt
4b3cc3c186 Box io update 2015-01-25 11:24:00 -08:00
Kurt
349713e893 All Files Filter 2015-01-24 15:13:17 -08:00
Kurt
8ab19985c5 boxdata i/o + changelog 2015-01-24 11:16:20 -08:00
Kurt
d5daa001dd Add Distribution Super Training Flags
Thanks SciresM!
2015-01-17 09:36:48 -08:00
Kurt
a2dd748762 PKX.Structures improving
Added a better defined PK6 struct too.
2014-12-24 16:20:39 -08:00
Kurt
4d53c00668 Code cleanup
Removing the majority of Public usage of methods within the main cs form
2014-12-23 23:29:57 -08:00
Kurt
3a70ba6ce5 Speed up slot filling, reduced redundancy 2014-12-20 11:27:29 -08:00