Commit graph

895 commits

Author SHA1 Message Date
Kurt
048fbb60ce Remove unused resource
fulldex_XY no longer needed
2015-10-15 04:23:57 -07:00
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
ebae9a933b Cleanup of Delete/View
Removed unneeded picturebox array (duplicate of slotpictureboxes)
Removed temporary variable 'picturebox', just straight up compare to
null.
Deleting now instantly sets the picture to null, instead of generating
the image. (might not have been the best idea if I somehow decided to
change slot filling)
Empty slots now instantly return null (empty) for their image instead of
doing layering.
2015-10-14 20:10:09 -07:00
Kurt
1961c972c3 Simplify setting pk6's to XY with ORAS exclusives 2015-10-14 19:59:43 -07:00
Kurt
f3ec13965f Fix ramsav loading logic
Since ramsavloaded was defined when loading (and removed), we need to
define the ramsav before loading it.

Fix for checksum button.
2015-10-14 18:52:50 -07:00
Kurt
f6bddf6fce Ramsav/Powersave cleanup
Old code which is unnecessary.
2015-10-14 18:45:45 -07:00
Kurt
9d9250fbc1 Revisit slot loading logic
savLoaded is useless now
2015-10-14 18:33:51 -07:00
Kurt
77b4f9cc0f Fix injectiondebug loading
woww I search for the start but never use it, wp
thanks Cuestion24
2015-10-13 19:10:55 -07:00
Kurt
468bf14dad Fix bad pk6 detection logic
&& -> ||

Also changed to using PK6 class and early-checking for a bad sanity.
2015-10-13 18:58:59 -07:00
Kurt
8885e826a8 Fix sanity get offset 2015-10-13 18:55:05 -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
6e207b677c Isolate box dump method
Now using the get->FileName for the pk6.
2015-10-12 17:06:30 -07:00
Kurt
bd8ff36e4b Add FileName fetching
Non language specific export, doesn't indicate egg either (the Nickname
will though!)
2015-10-12 17:05:34 -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
afdb94ba13 Fix silly edge case
Ensure the checksum is valid before loading the data
2015-10-11 23:43:07 -07:00
Kurt
b352de254e Add optional focusing when loading to tabs 2015-10-11 23:36:20 -07:00
Kurt
480622388c Speed up loading to tabs (sprite)
Information is already available, no need to reformulate a new array.
2015-10-11 23:34:11 -07:00
Kurt
b07359f8dd Add Trade Logic
I don't have TradeFriendshipAffection called by anything; or any of
these methods for that matter. Need to find a solution so that the user
can turn ON/OFF these types of modifications (and ensure that PKHeX
doesn't overwrite any user data).
2015-10-11 14:31:46 -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
c8bab4d01c Add Generation attributes 2015-10-10 10:11:22 -07:00
Kurt
0e194ec861 Allow subfolders to be accessed when loading 2015-10-10 10:02:32 -07:00
Kurt
32b1ba52e3 Simplify version calculation
24,25,26,27,28,29
2015-10-10 10:01:52 -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
772cd08bae Fix (set from tabs) not setting the display flag 2015-10-05 21:58:08 -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
7a77c9a0c0 Fix hidden power setting
Changed the accessing table
2015-10-04 02:11:19 -07:00
Kurt
4acfc8ed8b HPivs to 2d array 2015-10-04 17:20:18 -07:00
Kurt
d9dfda4df2 Replace ExpTable with uint array
Should simplify reading the code too.

#region to hide as it does not collapse normally in vs
2015-10-04 17:16:01 -07:00
Kurt
ded26dccb7 Remove unnecessary sub-classes
Structures was originally intended to be a big class but that'd be way
too messy.
2015-10-04 16:58:17 -07:00
Kurt
b9fdaf5109 Add save->bool (valid) & documentation 2015-10-04 16:56:47 -07:00
Kurt
3cf58aa010 Refactor (clean) shuffle method 2015-10-04 16:37:34 -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
7b00e797d0 Invalidate init on program language change
Store the pk6 data in a separate byte array.
2015-10-04 09:58:47 -07:00
Kurt
df2bea4066 Update translation file reference to Main Window
Form1 was renamed to Main
2015-10-04 09:50:08 -07:00
Kurt
9f420473ad Update box sort query usage
Still don't know where I want to have the user access this.
2015-10-04 09:33:43 -07:00
Kurt
08969a979c Remove duplicate PK6 class
Has been redefined elsewhere and this instance was never used.
2015-10-03 08:01:48 -07:00
Kurt
28dd4b2903 Update label clicking
Addresses Issue #58
Check for null first (root issue)
2015-10-02 17:41:55 -07:00
Kurt
6954df5e28 Box sorting beginnings
gonna toy with this later.
2015-10-01 21:06:21 -07:00
Kurt
2f38ceabab Fix trash & writing too much
OT names can have trash (eggs)

clearing HT by writing 12 would add another (to 13), so down to 11.
2015-09-29 07:44:13 -07:00
Kurt
61cce45aa0 Update changelog 2015-09-28 21:31:31 -07:00
Kurt
d508e68057 Fix ToolTip = null
Thanks RustInPeace!
2015-09-28 21:13:23 -07:00