Commit graph

67 commits

Author SHA1 Message Date
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
Kurt
67aa8d1134 Prevent multiple instances of Special Characters
Many other changes to display logic; can't be bothered to have multiple
commits on this one... :(
2014-12-19 20:22:15 -08:00
Kurt
f091fa5ca9 Simplifying Code and fixing ball population 2014-12-17 17:04:57 -08:00
Kurt
3a251d6b47 12-17-14 release fixes
Items, translations and some bug fixes.
2014-12-16 18:56:08 -08:00
Kurt
d3d7b33d8a Multilanguage Upgrades
Nuked Box IO, it was inferior relative to the functions that were added
afterwards.
2014-12-14 16:50:15 -08:00
Kurt
0e82b39e58 Repurposed Dragout to be more user friendly
Other fixes mingling too.
2014-12-14 12:15:53 -08:00
Kurt
203271fa80 Continued cleanup 2014-12-14 11:06:17 -08:00
Kurt
17f1b6ee68 Further code cleanup 2014-12-14 10:31:53 -08:00
Kurt
64ada71f84 Multilang + Cleanup
Converted the EncounterType and Games to translatable resources, and
created a method for dynamic combo lists. Still more to clean up!
2014-12-13 23:18:27 -08:00
Kurt
f2682785cc Code Cleanup 2014-12-13 14:48:34 -08:00
Kurt
2705e73f64 Undo menuStrip Deletion
I did not mean to do that...
2014-12-12 23:19:15 -08:00
Kurt
6715a87499 Minor Improvements with Region Displaying 2014-12-12 23:13:58 -08:00
Kurt
cc6b2aeda1 Adding Country/Subregion Multilanguage
Big thanks to Slashmolder for the location files and SciresM for parsing
them down to text files.
2014-12-12 22:58:34 -08:00
Kurt
c1fa685752 Manual Merge 2014-12-11 22:36:39 -08:00
Kurt
ff97a7a973 Adding Special Characters text entry 2014-12-11 21:44:05 -08:00
Kurt
a99ddf11bf Round of refactoring and improvements 2014-12-10 22:50:40 -08:00
Kurt
ea8c6d299a Various updates for next version
Added about-shortcuts and fixed a few things including secret base
flags.
2014-12-05 18:14:04 -08:00