Commit graph

225 commits

Author SHA1 Message Date
Kaphotics
0ceec780a1 Wondercard window bugfixes
Import wc6 fixed, dropping folder fixed (now also refreshes the view and
adds the wondercard ID)
2016-03-19 15:50:01 -07:00
Kaphotics
894ff48734 Database view scroll override
Allow scrolling within panel (instead of while mouse is over the
VScrollBar.
Since the updateScroll method isn't called by adjusting the value
directly (ie, not a scroll event) we just update the boxes manually.
2016-03-18 19:33:09 -07:00
Kaphotics
3c7cab83d1 Add legality filtering to database search 2016-03-15 21:10:33 -07:00
chenzw95
91535c8a7b Fix Pokedex form bitflags not saved in XY 2016-03-15 15:04:21 +08:00
Kaphotics
9cf6753a36 Lowercase Update
Addresses #82
2016-03-14 17:54:30 -07:00
Kaphotics
2e0a06034c Add Full Size WC6 importing 2016-03-13 10:54:33 -07:00
Kaphotics
5b87114a2a Bugfix Invalid Checksum alert
PK6 Object may be modified in parent form, resulting in invalid checksum
errors if the same PK6 is reloaded.

Solved by not passing object, pass raw data.
2016-03-12 09:12:51 -08:00
Kaphotics
ea09161ffd Min Size = Initial Size
One pixel less resizes the listbox to one entry smaller. Fix by making
it not able to do that.
2016-03-04 19:39:43 -08:00
Kaphotics
643b2afb52 Cleanup
Safe casts aren't needed for Array.IndexOf
Initial Ribbon images are already set up, no need to rereference
Slicker way of inverting checkboxes.
2016-02-24 14:59:03 -08:00
Kaphotics
c4f9819314 Use calculated level instead of stat level 2016-02-22 22:53:21 -08:00
Kaphotics
3bf15ca5de Foreign game bool fix 2016-02-13 23:01:18 -08:00
Kaphotics
819d483821 Fix XY FormDex using ORAS 2016-02-13 23:00:14 -08:00
Kaphotics
eae4b2ad5c Add Pokedex entry form editing
Thanks suloku for mapping out the order of flags!

Fixed a few bugs with the existing ModifyAll code.
2016-02-13 19:17:35 -08:00
Kaphotics
8f84e13fb0 Fill Dex -> Modify Dex methods 2016-02-12 23:01:28 -08:00
Kaphotics
a48642cb32 Fix Adventure Start Time editing
Previously only date was editable and the time was not considered.
New logic takes first datetime, removes seconds, then adds the second
datetime's seconds.

Since the second datetime's date is 2000, 1, 1, the resulting value is
just totalseconds (since midnight) regardless of date (which is the
first datetime).
2016-02-11 23:44:50 -08:00
Kaphotics
7b380cd0aa Refactoring
Minor fixes to coding style

PGT fixed default OT name from pk4HeX to PKHeX. Yay for replace all
"pk"-"pk4" case insensitivity.
2016-02-11 23:42:42 -08:00
Kaphotics
f296154d30 Refactoring
Merging declaration and assignment outside of form constructor.

Alert user if they tried to set Eon Ticket to X/Y.
2016-02-11 00:43:44 -08:00
Kaphotics
d2214f4fa1 Refactoring 2016-02-10 00:33:42 -08:00
Kaphotics
da862c2ae5 Remove "Cancel" option where not necessary 2016-02-09 15:35:56 -08:00
Kaphotics
f290e5be32 Cleanup 2016-02-06 16:27:09 -08:00
Kaphotics
9facabd945 Add if (obtained & CTRL) skip to FillDex
Satisfies https://projectpokemon.org/forums/showthread.php?48120
2016-02-05 22:11:34 -08:00
Kaphotics
115ca91bea Fix HPType off by 1
Fixes #73
Thanks krelbit!
2016-02-03 15:41:43 -08:00
Kaphotics
a329a17c62 Tweak Box name get/set 2016-02-01 22:33:15 -08:00
Kaphotics
2d4d973689 Refactoring
lines--
2016-01-31 23:15:54 -08:00
Kaphotics
b67598cfb9 Refactoring
Simplify a few usages, tweak specialchars to only have one instance open
(in a different way)
2016-01-30 23:03:43 -08:00
Kaphotics
6b04a46618 Remove unneeded check
0 species causes a return two lines above, thus 0 species && 0 ec will
never happen.
2016-01-29 18:04:02 -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
dee466cf73 Add Min/Max button 2016-01-24 10:23:57 -08:00
Kaphotics
35465b837e Minor refactoring
Load used WC even if dismissed, i/o for main display operates by passing
PK6 instead of byte[]
2016-01-24 10:19:30 -08:00
Kaphotics
436141b073 Design/Internal tweaks (Refactoring)
Saving of counts is done on close instead of on change.
Simplified the representation of generating random berry plots.
2016-01-23 14:50:22 -08:00
Michael Scire
6230dd7bd6 Add Pokeblock editing support. 2016-01-23 13:00:44 -08:00
Kaphotics
0a7f10140c WC Editor Tweaks
Don't auto-load first wondercard (prevents "GIFT USED?" spam)
Simplify img preview, also add 30% opacity for used gifts to indicate
status.
2016-01-23 10:16:07 -08:00
Kaphotics
0369a817c5 Remove unneeded check
if ORASDEMO is true, then ORAS is already true
2016-01-23 10:15:12 -08:00
Kaphotics
cfc93ef96e Minor Tweaks (ORASDEMO)
Simplifies checking for ORAS so that ORAS includes ORASDEMO by default.

Hide tab pages properly.
2016-01-23 08:42:11 -08:00
Kaphotics
808e4b6a9f Add Adventure Start editing
Seconds Since 1/1/2000; can go negative (more than 32 bits, but we can't
ever realistically do that).
2016-01-22 19:39:03 -08:00
Kaphotics
ea000cc95d Avoid invalid cast errors
Should only use Util.getIndex when a BindingSource is set with a
retrievable value. The method will now throw an exception instead of
handling it to let the programmer know that the wrong fetch method was
used.
2016-01-21 22:55:20 -08:00
Kaphotics
e70fa13d12 Cleanup & Bugfix
int offsetTime = Main.SAV.SuperTrain + 0x10;
did not match the offset read from ( + 0x8)
2016-01-21 22:38:26 -08:00
Kaphotics
c17cea9211 Redesign Trainer Info Editor 2016-01-20 22:45:48 -08:00
Kaphotics
061309ccd6 AdventureStart -> LastSaved
Misattributed
2016-01-20 21:25:33 -08:00
Kaphotics
17b2e4ea30 Disable Map Editing on failure to show map
Lumiose City's odd coordinate format can't be properly kept by the
NumericUpDowns; disabled in the case where coordinates are irregular
(%.5!=0).
2016-01-20 21:08:33 -08:00
Kaphotics
025b5a3c52 Add Adventure Start to editables
With that I'm pretty unhappy with the large form; might tabulate the
view in later commits.
2016-01-20 20:38:21 -08:00
Kaphotics
15cd87baf5 Add audible confirmation of filter reset 2016-01-17 17:11:32 -08:00
Kaphotics
c768124591 More refactoring
Removed a lot more unneeded parenthesis.
2016-01-17 17:07:19 -08:00
Kaphotics
0b89682a64 Refactoring
Now have win10, new vs, new resharper, new c# tricks
2016-01-17 13:27:24 -08:00
Kurt
bd5a1c7db3 Use string method instead of control based 2016-01-09 12:46:13 -08:00
Kurt
f6121b8111 Recalculate level for report
Info is not present in box pk6 files, needs to be recalc'd

Thanks Blassie098!
2016-01-07 08:13:06 -08:00
Kurt
df5cbbd5b7 Fix Z coord saving
Reference the Z numericUpDown instead of the map's.
2016-01-06 23:01:48 -08:00
Kurt
52ea545b29 Remove more parenthesis
No functional change, just src clarity.
2016-01-05 18:16:58 -08:00
Kurt
1351af480e Check for null QR wonder card data
Happens on bad URL in clipboard -> no data returned.
2016-01-01 22:03:41 -08:00
Kurt
06cd71b58b Add ORAS Demo support
Likely going to regret doing this; but this sets the groundwork for
enabling partial support for future games.
2015-12-29 22:03:27 -08:00