Commit graph

1468 commits

Author SHA1 Message Date
Kaphotics
08da417627 Improve blank save loading
Split openSAV to two methods, one to initialize it and another to load
the save to the form.
Indirectly fixes the non-loading of HaX ability menu.

Also fixes unintended behavior with Quit hotkey (CTRL|Q isn't the
modifierkey value when triggered, CTRL is)
2016-08-10 21:10:21 -07:00
Kaphotics
862c7b6cd6 Fix database constant string
Refer to the DatabasePath instead of a hardcoded string (if it is
modified).
2016-08-10 19:44:47 -07:00
Kaphotics
a28de6b8b5 Fix hyperspace fury legality
Thanks RanEncounter!
2016-08-10 19:43:27 -07:00
Kaphotics
edb4928117 Minor cleanup
Unused usings/references
2016-08-10 19:32:57 -07:00
Kaphotics
170e82cd06 Fix datetime parsing
Force an exact format to tryparsing as the 'time' portion is not used.

20160810
2016-08-10 19:29:21 -07:00
Kaphotics
c62df9f1a5 Merge pull request #175 from kwsch/b/year-2000-error
Fixed crash in DateUtil when Year is 0
2016-08-10 19:00:45 -07:00
Kaphotics
757a4a39f7 Merge pull request #173 from kwsch/b/batch-editor-datetime
Fixed batch editor and database searches on properties of type `DateT…
2016-08-10 19:00:37 -07:00
Kaphotics
1bba0d32cf Merge pull request #176 from kwsch/b/system-deployment-mono
Reverted ClickOnce deployment code due to Mono and Wine not supporting it.
2016-08-10 18:34:05 -07:00
Evan Dixon
822810b00c Removed assembly reference 2016-08-10 20:20:36 -05:00
Evan Dixon
b6a20a43e3 Reverted ClickOnce deployment code due to Mono and Wine not supporting it
Should fix issue #161
2016-08-10 20:17:37 -05:00
Evan Dixon
35d4edf85d Fixed crash in DateUtil when Year is 0 2016-08-10 19:54:12 -05:00
Evan Dixon
32ec5c392c Fixed batch editor and database searches on properties of type DateTime? 2016-08-10 13:43:00 -05:00
Kaphotics
43cf2370f2 Merge pull request #172 from kwsch/f/refactoring
Refactoring: Met Date Property & Tests
2016-08-10 08:58:01 -07:00
Evan Dixon
98c86ddb7a Removed "Any CPU" project and solution configurations 2016-08-10 10:04:41 -05:00
Evan Dixon
a7f2f2e209 Set test platform to x86 to fix a processor type mismatch warning 2016-08-10 09:47:53 -05:00
Evan Dixon
e53fe6e180 Added tests for PKM.EggMetDate 2016-08-10 09:46:38 -05:00
Evan Dixon
17078c8d28 Added test for PKM.MetDate 2016-08-10 09:42:58 -05:00
Evan Dixon
9852c42ca1 Added tests for DateUtil 2016-08-10 09:24:40 -05:00
Evan Dixon
4669551d77 Fixed errors in implementation 2016-08-10 09:07:16 -05:00
Evan Dixon
f0c72abafc Added MetDate and EggMetDate properties to PKM and others
Issue #171
2016-08-10 09:02:31 -05:00
Evan Dixon
4d1ef52b34 Moved project to its own directory
Will make it easier to add projects in the future, like unit tests
2016-08-10 08:10:31 -05:00
easyworld
9cae30b2b4 update zh translation 2016-08-10 19:59:29 +08:00
Kaphotics
ef904c889f Fix gen5 dex set
Use the size constant for each region.
The 0x60's should have been changed to 0x54 when the (gen6 method) was
copied and modified.

Thanks /u/Porta_14!
2016-08-09 22:52:59 -07:00
Easy World
3dedf02120 Merge pull request #6 from kwsch/master
update
2016-08-09 20:59:12 +08:00
Michael Scire
5fc03ef0a7 Fix c-gear .psk decoding 2016-08-09 02:27:14 -07:00
Kaphotics
724da7ff0f Improve PID/EC rerolling automation 2016-08-08 18:42:42 -07:00
Kaphotics
d65717487a Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-08-08 18:32:15 -07:00
Kaphotics
c757f59377 Fix inverted setShinyPID copying EC
Thanks JSS!
2016-08-08 18:32:13 -07:00
Kaphotics
a695588a76 Merge pull request #169 from evandixon/master
Minor changes and refactoring to better serve as a class library
2016-08-08 17:06:44 -07:00
Evan Dixon
02ae9c5f5b Merge pull request #5 from evandixon/f/more-code-library
F/more code library
2016-08-08 16:44:59 -05:00
evandixon
fc7f7d788c Added XML comments where appropriate 2016-08-08 16:44:05 -05:00
evandixon
df313c0589 Made more things public 2016-08-08 15:47:56 -05:00
evandixon
50efec724e Added helper functions to simplify getting string lists 2016-08-08 15:11:02 -05:00
Evan Dixon
541cc3fcd4 Merge pull request #4 from evandixon/b/inconsistent-resource-type
B/inconsistent resource type
2016-08-08 14:12:33 -05:00
evandixon
33e3019812 Merged master into b/inconsistent-resource-type 2016-08-08 14:08:39 -05:00
evandixon
c105d69cce Changed resource type of certain text files to None for consistency 2016-08-08 14:05:15 -05:00
Evan Dixon
7f5e08bf6a Merge pull request #3 from kwsch/master
Merge latest changes
2016-08-08 14:01:46 -05:00
Kaphotics
2ce5e442b1 Fix colors disappearing
Thanks SciresM!
2016-08-08 00:45:30 -07:00
Kaphotics
801300adf2 Fix image import
Fix not setting tile choice for new tile, fix tile speed by comparing
colors instead (manual rotation no fun)
2016-08-08 00:40:54 -07:00
Kaphotics
73f3fef4ca Add C-Gear skin i/o (WIP)
Currently only works on saves that already have c-gear skin data, more
research to follow at a later date to set the necessary info for
enabling c-gear skins.

Allows for importing images, although a memory spike exists (due to
rotated images not being collected until after import)
2016-08-07 22:46:07 -07:00
Kaphotics
8b06b1c1e2 Fix saveDataBackup detection
Thanks IamAVeryNicePereson!
2016-08-06 15:39:26 -07:00
Kaphotics
ecfb5626ea Release 08-07-16
Updated with latest event contributions.
2016-08-06 13:18:23 -07:00
Kaphotics
f83cfbaae1 Add mystery gift file drag&drop to slot
pgt was a pkm size, check all sizes
2016-08-06 12:57:53 -07:00
Kaphotics
29c4497603 Only write pkm out if species is not zero (empty) 2016-08-06 12:30:00 -07:00
Kaphotics
be41727a6e Fix numpad typo
Pal park transfer friendship is 70 not 40

789
456
123

Fixes #165
2016-08-06 11:37:16 -07:00
Kaphotics
dab1bf44ae Add tm sprite for held item
No longer uses the generic 'unknown' item sprite
2016-08-06 10:01:40 -07:00
Kaphotics
8410ea4b9e Tweak transfer HM banlist for clarity
No change in functionality, easier to understand
2016-08-06 09:41:46 -07:00
Kaphotics
08a58964db Allow gen3 item transfer 3->4
Thanks javier_himura!
2016-08-06 09:35:05 -07:00
Kaphotics
01051d7b9f Allow TMs to be held in gen4 saves
Thanks javier_himura!
2016-08-06 09:34:41 -07:00
Kaphotics
a8a0060c2e Fix gen4 pkm location/ball interaction
Met Location fixed from Daycare Couple to  "Faraway Place" (2000 ->
3002)
Check no egg location before writing faraway place.

HGSSBall handled directly by Ball property (like met location)
Constrain balls and met locations for DP

Thanks BeyondTheHorizon for the initial bug report prompting this
improvement.
2016-08-05 23:21:27 -07:00