Commit graph

241 commits

Author SHA1 Message Date
Kurt
6431ef1f68 Update Fill Pokedex method
Now just spams Give All for every species before writing forms (and
encounter count if necessary)
2015-10-15 04:23:41 -07:00
Kurt
f6bddf6fce Ramsav/Powersave cleanup
Old code which is unnecessary.
2015-10-14 18:45:45 -07:00
Kurt
633d4e040b Add export option for (filtered?) results.
It might be wise to just ball up all the results (as decrypted) to speed
up form loading (by just having to read one file instead of >1000 at a
time).

Maybe just scoop up all the files into the database and filter dupes,
but no way to remove stuff....
2015-10-12 17:12:20 -07:00
Kurt
d17a322bca Hide ESV on filter reset
Misbehaved depending on state before reset. This should do the trick.
2015-10-12 00:12:21 -07:00
Kurt
1c663a8600 Add Indicator label & fix focus issue
Indicator will now tell the source of the file last viewed
Focus fix pairs with the main form adding the focus argument to the
method; the window will no longer lose focus (ie, pass focus to the Main
form)
2015-10-12 00:10:40 -07:00
Kurt
805300a41d Implement Create Data Report
Required adding a pre-filtered method to the report form in order to
process data.

Probably gonna end up with stupid identifiers stretching everything, but
at least it shows where everything is. Best to export to a csv table
anyway.
2015-10-10 18:29:02 -07:00
Kurt
03900d1414 Code cleanup (reordering)
Additionally, Resetting Filters will reset the newly added Generation
ComboBox.
2015-10-10 10:28:24 -07:00
Kurt
be2e95b1c8 Add Generation filter
When the SelectedIndex of the Version ComboBox is changed, the
Generation index will be set to zero (and vice versa) to prevent
conflicting search criteria.
2015-10-10 10:18:55 -07:00
Kurt
0e194ec861 Allow subfolders to be accessed when loading 2015-10-10 10:02:32 -07:00
Kurt
0b42980119 Reset last slot viewed on search 2015-10-09 06:34:26 -07:00
Kurt
07bf3b2312 Fix search -> scrollbar interaction
Setting the value doesn't trigger the fill update; manually update
regardless of scroll position.
2015-10-08 20:18:42 -07:00
Kurt
8ef03eaccd Database sanity checking before opening 2015-10-08 17:40:36 -07:00
Kurt
d9073cea98 Finish first iteration of Database & Search
Should surpass the search options of Pokécheck ;)

Quite easy to add extra search options too!
2015-10-07 20:19:34 -07:00
Kurt
ccb5f6e428 Add more flag setting logic
Checks the opposing checkbox when set.

Of course one could take this further but it should be left up to the
user for insane tweaks.
2015-10-06 17:19:15 -07:00
Kurt
f0faf76fc6 Fix Box Report errors
Thanks RustInPeace for initiating the conversation.

Getting EggLoc needs to call getLocation with eggMet set (for HGSS
mons).
Fixed 0 index for Box/Slot in the identifier; BOX 1 => B1
Should only add the pkm to the list if its checksum is valid.
2015-10-06 16:45:26 -07:00
Kurt
42387f9eac Pokédex Update
Big thanks to Siobonbon for finally clearing up the muck that had been
sitting around for so long 👍

The mysterious dex flags are much clearer now, there is no 'via trade'
flag (it's the forms owned flag)
2015-10-05 21:56:51 -07:00
Kurt
c1bb9d5cec Add database view skeleton
future?
2015-10-05 18:51:52 -07:00
Kurt
26e6aa3d81 Fix Volcanic Ash overwrite
Thanks MilesPikachu!
2015-09-27 06:42:02 -07:00
Kurt
809148ed54 Refactoring round two
Introduced the fully editable PK6 class object, which is now used by
PKHeX's pk6 editor, as well as updated the Box Data Report. Readability
should be increased as no

Includes bug fixes:
Odaxis' report regarding Event Flag Editor
Showdown sets using "Trait" instead of "Ability" (old old style) now can
be read.
Imported showdown sets will not use the imported gender label (instead
uses the current style, same 'value')
2015-09-23 20:29:31 -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
d6bbb57d7b Constrain entry of values 2015-09-20 12:05:03 -07:00
Kurt
22e0e7ee79 Add used wondercard detection 2015-09-12 21:32:30 -07:00
Kurt
e4425b5b30 Prevent width adjusting of Inventory Editor 2015-09-05 13:57:34 -07:00
Kurt
21878fb724 Fix chopping off EV bits 2015-08-06 20:16:07 -07:00
Kurt
2664b587be Fix Pokédex crashing on "Fill All"
Shouldn't call setup methods after setup is complete; I extracted all
necessary operations that need to be repeated (loading the bitflags)
into a separate method.

Thanks ShaKage!
2015-06-09 23:36:03 -07:00
Kurt
0518c677c9 Add load last saved box on load
mimics the game
2015-05-06 19:30:31 -07:00
Kurt
252d40293a Use the PKX sprite fetch method instead
Should be always up to date now.
2015-04-30 00:01:17 -07:00
Kurt
2b3780e233 Use the PKX sprite fetch method instead
Having many clones of the same method is bad, especially if fixes are
required...
2015-04-29 17:23:23 -07:00
Kurt
225302c149 Double hotfix!
Wondercards with unknown items (null -> load unknown); block Eon Ticket
Fix language auto-loading
2015-04-05 10:48:18 -07:00
Kurt
9928bc1e14 Easier wondercard opening 2015-03-31 17:58:23 -07:00
Kurt
d45e62b6ef Quick removal of unneeded code
binding stuff is set by the setForms method
2015-03-28 20:53:20 -07:00
Kurt
c46d609e7d Fix Vivillon Form loading/saving
Thanks KingGengar & Favna!
2015-03-28 20:50:59 -07:00
Kurt
b906491d2f Refactoring, QR operations -> method 2015-03-13 19:59:51 -07:00
Kurt
b56edf1fec Continued Refactoring
Should be good now, a lot of silly stuff removed.
2015-03-11 21:44:12 -07:00
Kurt
677378d198 Image String Tweak to imply it's a wondercard. 2015-03-10 22:32:03 -07:00
Kurt
0e05742a1f Add Wondercard QR
Main form string fixes to accompany the WC updates.
2015-03-10 21:18:35 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
75100b6dad Cap u16 MaskedTextBoxes at 65535, set = if > 2015-02-26 22:50:27 -08:00
Kurt
ee050c531e Font Flexibility 2015-02-26 21:07:18 -08:00
Kaisonic
277b8674f6 Add ProgressBar to Box Data Report
So it's not completely unresponsive while generating
2015-02-11 17:47:59 -05:00
Kurt
65ba403db4 Improved Resizing 2015-02-08 14:51:53 -08:00
SoujiSeta
64e22d9132 increasing maximum width on Inventory editor to account for mono differences 2015-02-08 13:03:00 -06:00
SoujiSeta
7ecddd2150 Fix for uncaught numeric parse exception 2015-02-08 02:38:11 -06:00
Kurt
e056c59457 Don't add bitflags >= 2048 2015-02-07 18:10:16 -08:00
Kurt
1630b38e50 Community Improvements 2015-02-06 18:30:35 -08:00
Kurt
25185f4112 Add Drag&Drop for flagdiff, improved diff function 2015-02-05 19:17:47 -08:00
Kurt
4a542a38f7 Add cyber/ramsav to flagdiff 2015-02-05 18:46:52 -08:00
Kurt
6f516a23d1 Cleaning & Minor Improvements/Additions 2015-01-31 20:40:35 -08:00
Kurt
43b1afec3f Bugfixes 2015-01-31 15:59:23 -08:00
Kurt
8f18613558 Add entry deletion and ingame font 2015-01-31 10:35:50 -08:00
Kurt
63c52c5334 Adding font to Trainer window 2015-01-30 22:37:48 -08:00
Kurt
7c40b00b54 ram2sav pre commit 2015-01-26 22:05:04 -08:00
Kurt
96874a826b Overwrite Wondercard Flags instead of ORing.
Fixed some misc stuff too, main change @ line 200.
2015-01-11 08:10:56 -08:00
SoujiSeta
ba97983a7f Fixed issue which only occurs when running Mono in which calling Add on a DataGridViewRowCollection could set the first row's cell to be in edit mode. 2015-01-03 19:44:06 -06:00
SoujiSeta
e432e1755b Fixed bug in the Super Training dialog in which the changeRecordVal function would attempt to copy 4 bytes from a 2 bytes array. 2015-01-03 19:41:31 -06:00
SoujiSeta
5e9f6f0839 Fixed issue in which Blue, Red, Yellow flute was removed from Medicine pouch in ORAS. 2015-01-03 13:20:21 -06:00
Kurt
bc1776f8a2 Added verbosity to export and internal arrays
Also finished implementation of PKRS strain/days hiding depending on
infected/cured status.
2014-12-26 10:46:18 -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
e44cac062b Translation method input update 2014-12-19 20:19:41 -08:00
Kurt
b2100bcd00 Translation fixes 2014-12-18 18:59:30 -08:00
Kurt
90dffe42ca Add some PSS stats 2014-12-17 16:31:44 -08:00
Kurt
3a251d6b47 12-17-14 release fixes
Items, translations and some bug fixes.
2014-12-16 18:56:08 -08:00
Kurt
baf989ba0c Secret Base Tab Renaming 2014-12-15 20:13:17 -08:00
Kurt
c6a84cc1bf DexNav fix 2014-12-15 20:08:36 -08:00
Kurt
9daa73adf3 Disallow species = 0 2014-12-15 18:13:46 -08:00
Kurt
4349a06898 Adding Vivillon Form ingame-encountering
Thank you mapaler (枫谷剑仙)!
2014-12-15 18:13:29 -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
f2883845a4 Fix Secret Base Flags
Should be 100% now.
2014-12-14 12:36:44 -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
f8cd5c5c7c Add Export to CSV 2014-12-13 20:02:15 -08:00
Kurt
94f9379fd6 Improving data display for BoxReport 2014-12-13 19:32:51 -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
981965899a Standardization 2014-12-11 21:45:01 -08:00
Kurt
84fd7f4da9 Removing some redundancy 2014-12-10 23:00:25 -08:00
Kurt
a99ddf11bf Round of refactoring and improvements 2014-12-10 22:50:40 -08:00
Kurt
742a41e7f3 Add Drag&Drop and name terminator fix 2014-12-10 15:24:34 -08:00
Kurt
0ae8e1a344 Add 2 stat descriptions
Captured, Evolved
2014-12-09 20:11:19 -08:00
Kurt
9eaa705af1 Error handling better
Since SciresM inverted my editing logic (editing == program is editing
the layout, not the person is able to edit) so screwy.
2014-12-08 21:36:30 -08:00
Kurt
333420c801 Invert Shiny error 2014-12-08 20:58:49 -08:00
Kurt
0816ca5d0d Name/Gender fix 2014-12-08 19:52:49 -08:00
Kurt
69896f5301 Fix for not enabling form always
Loop would re-enable after parent method disabled in most cases, this
will prevent it. Loading no data will cause species=0 and will be
disabled by the parent method as well.
2014-12-08 19:12:21 -08:00
Kurt
e2b273b009 HoF Upgrayedd 2014-12-08 19:06:55 -08:00
SciresM
bbc4243b62 Enable editing of Hall of Fame entries 2014-12-08 17:51:49 -08:00
Kurt
52d222d17f Merge corrections to fix on-load event 2014-12-06 17:13:06 -08:00
Kurt
333f609bcd Implemented CGSE corruption warning for ORAS saves. 2014-12-06 17:02:29 -08:00
SciresM
e2cb813d89 Trainer Sprite support for ORAS. 2014-12-06 16:35:54 -08:00
SciresM
9c22c82b31 Trainer Sprite support for ORAS. 2014-12-06 16:35:38 -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
Kurt
583ae001ae Gender & other unicode toggle option 2014-12-03 17:26:12 -08:00
Kurt
e3094044ba Fixes 2014-11-29 21:28:48 -08:00
Kurt
df2a91bb1e Pokedex Setting 2014-11-29 20:12:37 -08:00
Kurt
5d939d4aad Re-add flutes to ORAS list, remove from X/Y list 2014-11-29 17:52:20 -08:00
Kurt
73510d261f ORAS Pokedex form improvements 2014-11-28 23:46:36 -08:00
Kurt
f9e2fe2f0b Wondercard updates 2014-11-28 20:52:05 -08:00
Kurt
af66cc96a6 Adding in Eon Ticket Support
Dem magic numbers.
2014-11-28 20:43:00 -08:00
Kurt
2832596e44 Continued Fixes and Improvements 2014-11-28 09:56:29 -08:00
Kurt
fc09860490 Added secret base flag ctr edit and relevant fixes 2014-11-28 01:44:43 -08:00
Kurt
972a518367 Minor fixes 2014-11-27 20:47:50 -08:00
Kurt
5ab9a6639e Fix Box Report 2014-11-27 12:29:49 -08:00
Kurt
16c71cbd8f Fix Item wondercard viewing 2014-11-26 23:06:35 -08:00
Kurt
54c9d5c24d Add Volcanic Ash 2014-11-26 23:06:25 -08:00
Kurt
a20d3399e0 Re-enable Map Coordinates 2014-11-25 22:37:44 -08:00
Kurt
b3ee4c7fe1 Cresselia Event Flag Added 2014-11-25 20:46:42 -08:00
Kurt
c7d6127bb8 Pokedex branching and minor updates. 2014-11-25 19:55:46 -08:00
Kurt
7f4011db8c Add Regigigas 2014-11-25 16:17:46 -08:00
Kurt
1ec197c728 Re-enable Maison Stats 2014-11-25 16:17:41 -08:00
Kurt
b49d97350c Continued updates.
No concrete change...
2014-11-24 23:21:08 -08:00
Kurt
23caa718bf Adding a bunch of event flags 2014-11-24 23:19:58 -08:00
Kurt
b48cc758bb Overall Imrpovements 2014-11-24 19:53:10 -08:00
Kurt
817538e208 Added a basic secret base editor 2014-11-23 14:23:40 -08:00
Kurt
b2abf024f6 Added other flags 2014-11-21 23:27:30 -08:00
Kurt
df235867b9 Day2 ORAS Support Pre 2014-11-21 23:23:48 -08:00
Kurt
80bbee2287 Added Version Mascot Flags to ORAS Flag Editor 2014-11-21 19:50:29 -08:00
Kurt
f52e667be1 Event Flag Split 2014-11-21 19:47:30 -08:00
Kurt
188aab7236 Second ORAS support commit
still WIP
2014-11-21 19:26:16 -08:00
Kurt
21eccb0dad Preliminary ORAS Support 2014-11-21 15:34:10 -08:00
Kurt
9145578597 fix fulldex button functionality
Don't know when/how it was commented out...
2014-11-15 15:15:21 -08:00
Kurt
3240d4e403 More tidying 2014-10-11 00:22:22 -07:00
Kurt
a462db6089 ORAS Reorganization 2014-10-09 19:59:57 -07:00
Kurt
7570457bcd Petlil instead of Abomasnow fulldex 2014-09-04 22:58:49 -07:00
Kurt
b2b329e6e4 Finalized for 8.31.14 2014-08-31 14:30:26 -07:00
Kurt
ec7b922568 Data Changes 2014-08-31 14:10:06 -07:00
Kurt
244273aa22 Utility Consolidation
Moved various functions in.
2014-08-31 13:32:04 -07:00
Kurt
55f586ddc0 Language boot mode fix
Thanks profi
2014-08-18 15:23:46 -07:00
Kurt
bdbcfa2902 Pokedex bugfixes 2014-08-17 15:39:27 -07:00
Kurt
3d29b74c83 Give All Pokedex Entries functionality 2014-08-17 11:30:46 -07:00
Kurt
fc777ff8f3 Error handling externally added items 2014-08-13 17:46:36 -07:00
Kurt
847a9808ec Playtime (moved style) 2014-08-12 16:37:51 -07:00
Kurt
5594ea62c3 Fix error for foreign mon toggling 2014-08-12 16:37:41 -07:00
Kurt
470c7b5010 Editing Enabled 2014-08-09 20:56:03 -07:00
Kurt
92da9f321a Dex Obtained Flag 2014-08-09 20:55:52 -07:00
Kurt
b2f12fa64c New Event Flags 2014-08-04 18:48:22 -07:00
Kurt
b6b38cf285 Events and Stats 2014-08-04 16:22:47 -07:00
Kurt
068db044f0 Wallpapers 2014-08-01 23:03:14 -07:00
Kurt
55060edd48 CenterParent on launch
Oops.
2014-08-01 13:55:48 -07:00
Kurt
f5f766f962 Restructuring source arrangement 2014-08-01 10:33:12 -07:00