Commit graph

612 commits

Author SHA1 Message Date
Kurt
d2cf06894d Reorder
Minor.
2015-12-02 18:03:44 -08:00
Kurt
3c4da31d1a Fix (flip) Encounter Type Visibility
Mistake in previous commit.
2015-12-01 23:27:16 -08:00
Kurt
b4c4419015 Minor reorganization
CLeaned up some unnecessary parenthesis and simplified a few
expressions.
2015-12-01 23:08:16 -08:00
Kurt
6828046f9b Update changelog
#ripPP
2015-11-30 21:05:15 -08:00
Kurt
c9dad89e11 Minor refactoring
Cleaned up a little bit of code and used more magic references.
2015-11-29 12:59:13 -08:00
Kurt
62f0d9e7aa Add wc6 conversion error messages
Previously had none.
2015-11-28 22:53:46 -08:00
Kurt
9df8e3c1fd Add sanity checks to wc6->pk6 conversion 2015-11-27 17:39:38 -08:00
Kurt
864c5bfd65 IVs and Fateful Encounter 2015-11-26 19:14:41 -08:00
Kurt
d2103a96b3 Update friendship/memory logic 2015-11-26 19:07:20 -08:00
Kurt
28390758e6 Implement wc6->pk6
"There's not enough data in the wondercard to faithfully create the
Pokémon!"
2015-11-26 07:49:44 -08:00
Kurt
0ac33a0639 Cleanup
Remove unnecessary logic.
2015-11-25 22:52:23 -08:00
Kurt
520af0ff55 Tweak stat retrieval logic 2015-11-25 22:46:16 -08:00
Kurt
c9d0db23ac Refactoring
Increase flexibility, use game personal data and structure to clearly
define what is going on.

Helps for implementing future games.
2015-11-25 22:20:09 -08:00
Kurt
8a2e7f3f74 Fix ternary null input
Having a ternary result in null creates a new param of []{ null },
instead of a true null.
2015-11-25 18:28:21 -08:00
Kaphotics
03a773f9bb Update WC6.cs
Initialize the default size of wc6 to 0x108
2015-11-25 18:08:54 -08:00
Kurt
7469150a02 Add Wondercard class 2015-11-22 13:38:16 -08:00
Kurt
d6f916b4e6 Tweak Drag&Drop
Boxes now accept external files in addition to the existing slot
swapping.
2015-11-22 11:03:38 -08:00
Kurt
dba0719976 Use base pkx class filename 2015-11-22 10:51:09 -08:00
Kurt
0d23f53d84 Fix Drag&Drop
Just do it manually after initialization. No way to bind the events in
the designer.
2015-11-22 10:45:44 -08:00
Kurt
62eddb6aec Misc fixes 2015-11-21 19:27:50 -08:00
Kurt
19ff462fff Relocate PokePuff sav properties 2015-11-21 19:17:35 -08:00
Kurt
0064d1b497 Finish conversion of tr stats to SAV6 properties 2015-11-21 17:23:00 -08:00
Kurt
693084e947 Change array type specification
Defaulted to int; best to play it safe.
2015-11-20 22:13:15 -08:00
Kurt
9496ddb66b Minor Cleanup
Does nothing but remove unneeded confusion.
2015-11-20 22:11:25 -08:00
Kurt
925699af0d Fix Trainer Info editor issues + bugfixes
Fixed reported bugs by Wanderer1391; found a bunch more as a side effect
of refactoring. Didn't like how so many values were hard coded so I
moved them all into the SAV6 class for easier r/w.

Re-enabled the Map Coordinate editing for non-ramsavs.
Updated the Map Coordinate display to the ingame coordinate style (using
NumericUpDowns), the coordinates for player.X and player.Y are divided
by 18 to get the current cell coordinates.
2015-11-20 22:02:15 -08:00
Kurt
6cba50ba2b Remove hard coded box count 2015-11-19 22:44:16 -08:00
Kurt
d0355253bf Use boxdata property to dump 2015-11-19 22:42:57 -08:00
Kurt
242bedac43 Sync changes
VS/github didn't catch this, had to reopen the project.
2015-11-18 21:43:51 -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
c719c335df Add Pokécenter & Gift Trainer Sprites 2015-11-17 21:02:23 -08:00
Kurt
426eda5a46 Use SAV's BoxData property to load data 2015-11-15 22:03:58 -08:00
Kurt
b16ee55ed4 Assign an identifier for PK6 box/spot origin 2015-11-15 22:03:36 -08:00
Kurt
e4bc9e58f0 Box and Party properties for easy manipulation 2015-11-15 21:58:34 -08:00
Kurt
861881a37d Allow new instance of PK6 with no arguments 2015-11-15 21:56:00 -08:00
Kurt
eb22a46290 remove debug stuff
oops
2015-11-15 08:20:17 -08:00
Kurt
f3ea73787b Add alt/shift click
Shift click setting is not accessible without the hotkey, not going to
add it as a Right Click Menu.

Main had to expose more methods (to access info from tabs); standardized
all references to the database path as well.
2015-11-14 19:41:39 -08:00
Kurt
dc5fc1f175 Add deletion method for database tool
Can delete files from database folder, or save file.

Easy way to filter crap out to delete, yay.
2015-11-14 18:17:54 -08:00
Kurt
72e149dc70 D&D: user's temp folder instead of application path 2015-11-14 14:19:40 -08:00
Kurt
f867697caa Close
Close
2015-11-13 19:04:42 -08:00
Kurt
75be21bac2 Improved search filters
Automatically ignore bad sanity/species
Allow user to select Box&/Database as their search source.
2015-11-13 18:31:01 -08:00
Kurt
71d029fbb4 Don't dump empty slots 2015-11-13 18:29:59 -08:00
Kurt
0df9e35397 Arceus, not Mew
Forgot to save changes.
2015-11-05 23:17:06 -08:00
Kurt
c15cbe2870 Separated initialization bool for clear purpose
formInitialized is for closing the splash screen and showing the main
form.
fieldsInitialized is for setting up and not running updates until fields
are ready to be updated.

Arceus is now the initial species instead of language dependent
(Abomasnow).
2015-11-05 22:59:55 -08:00
Kurt
0e82433f21 Redefine initializing logic
No longer short circuits to true when loading a blank file on startup.
Accomplished by storing the old value, temporarily setting to false and
then setting back when finished.
2015-11-05 22:47:39 -08:00
Kurt
34856658d4 Clean rescaling formula
Thanks AibotNya for bringing this to my attention!

No functionality is changed; just clearing up some mud.
(306 is to allow 10px on each side of the tab control)
2015-11-05 22:08:24 -08:00
Kurt
35ca2d6db4 Add ramsav loading on boot 2015-11-03 18:35:27 -08:00
Kurt
f67441cc89 Change byte to int
Allows it to be easier used by comboboxes; SelectedValue = (byte) does
not work.
Instead of having these cast to int whenever used, this way is more
preferable.
2015-10-27 17:58:53 -07:00
Kurt
c4ba137333 Fix ramsav storage getting cleared
Thanks Odaxis!
2015-10-26 20:17:50 -07:00
Kurt
76d6320b21 Simplify Friendship modification on set
Copies instead of highbounds.
Added supporting property in PK6 class.
2015-10-25 18:46:17 -07:00
Kurt
15e3ff2eb1 Reconfigure current box saving logic
Moved to after the chunk check; it's also physically impossible to save
the file on the Party/Battle Box view so I don't even bother checking
now.
2015-10-25 18:12:07 -07:00