Commit graph

6257 commits

Author SHA1 Message Date
Kaphotics
9b6552d314 Database/MysteryGift fixes gen1/2
Fix unhandled exception loading gen1/2 to gen3+
Fix unhandled exception loading gen1/2 save and opening Database
Fix not loading pk1/pk2 dumped files as they aren't in the "List" format
(rather, party and stored).
2016-09-04 18:17:13 -07:00
Kaphotics
f9cfdd6c18 Add more descriptive backup names
\u02D0 = ː

If anyone has problems with this, speak up (and . will be used instead)
2016-09-04 15:54:16 -07:00
Kaphotics
fff75df848 gen1 OT length fix 2016-09-04 15:44:54 -07:00
Kaphotics
d18e17a599 Fix moves 2->1
Unsync'd
2016-09-04 15:33:53 -07:00
Kaphotics
db660355cc Simplify 1<->2 conversion 2016-09-04 15:32:48 -07:00
Kaphotics
463a889d65 Revert "Tweak 1<->2 conversion"
This reverts commit ce1202ead8.
2016-09-04 15:32:08 -07:00
Kaphotics
ce1202ead8 Tweak 1<->2 conversion
Delete gen2 only moves on 2->1 instead of refusing to convert; fix moves
afterwards.
Simplify PKMConverter checks
2016-09-04 15:29:55 -07:00
Michael Scire
45df87f8cc PK2 -> PK1 Conversion fix 2016-09-04 15:21:46 -07:00
Michael Scire
1bb5388b4b PK1 <-> PK2 Conversion 2016-09-04 15:03:40 -07:00
Kaphotics
387ed9cbcc Refactoring
Gen1/2 arrays to legality tables

Add PP tables for gen1/2 too
2016-09-04 14:00:52 -07:00
Kaphotics
80938b6983 Remove unused options
Carryover from SAV_Database

Fix impossible null ref in both, won't ever happen in current state
2016-09-04 11:02:27 -07:00
Kaphotics
5fe650f5a9 Fix too-many-slots gen1/2
Closes #216
2016-09-04 10:42:56 -07:00
Kaphotics
8e3fbf4e98 Add mystery gift database &search
Closes #227
2016-09-04 10:38:53 -07:00
Evan Dixon
ee3b2aac54 Merge branch 'master' 2016-09-04 08:33:45 -05:00
Evan Dixon
296e28454b Merge branch 'master' 2016-09-04 08:33:09 -05:00
ajtudela
b126299295 Merge pull request #5 from kwsch/master
Update 2 gen
2016-09-04 11:31:25 +02:00
Michael Scire
d3c6b9886e Add additional Gen II Save file size 2016-09-04 00:28:14 -07:00
Kaphotics
316e9a2795 Misc cleanup
( ͡° ͜ʖ ͡°)
2016-09-03 23:54:11 -07:00
Michael Scire
64205beae3 Fix SpD previewing for Gen II 2016-09-03 23:45:10 -07:00
Kaphotics
aa11abfe94 Merge pull request #226 from kwsch/gsc-support
Add support for editing Gen II files
2016-09-03 23:26:04 -07:00
Michael Scire
7c9ca12e02 Final resources.resx fix 2016-09-03 23:20:15 -07:00
Kaphotics
d1697835f2 Minor qol improvements
Deleting bad egg (red) slot sets the slot background to transparent
instead of just deleting the image (rather than just doing both, let the
quickFiller method handle it)

Using GetType() returns the namespace with the string (ie PKHeX.PK6),
return the actual type name ("PK6") because the PKHeX prefix is
meaningless when shown to the user.
2016-09-03 23:19:11 -07:00
Michael Scire
8dde129cb5 Merge master in preparation of pull request 2016-09-03 23:18:50 -07:00
Michael Scire
5fb03b8730 Japanese G/S support. 2016-09-03 23:15:09 -07:00
Kaphotics
68386f80c5 Improve showdown set handling
Spit out the actual set details after parsing (to indicate what actually
is being set); also, spit out which lines are invalid if any are
detected (because people love to manually insert things into a
ShowdownSet request -- not knowing that PKHeX does the majority of the
work for the user.
2016-09-03 23:14:05 -07:00
Kaphotics
0da484f474 Update Inventory sprites
less ugly
2016-09-03 22:34:58 -07:00
Kaphotics
9c961e6bec Add spiky eared pichu sprite
look mom im an artist
2016-09-03 22:27:05 -07:00
Michael Scire
a3250a0d56 Full Gen II Save editing for US GSC, JP C (JP GS to come) 2016-09-03 18:57:54 -07:00
Kaphotics
6113ce3929 Super Training species suggestion
Not a bug, just not a feature.
Closes #224
2016-09-03 13:36:09 -07:00
Kaphotics
ca545e2d70 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-09-03 08:10:24 -07:00
Kaphotics
d16ffddad4 Add Egg & Super Training legality checks
Closes #220

Thanks @sora10pls !
2016-09-03 08:10:22 -07:00
Michael Scire
2e938a6ab2 Initial (pretty broken) US SAV2 loading/viewing 2016-09-02 14:20:39 -07:00
Kaphotics
13669ef7d7 GiveAll medals 0->30->36
Closes #213

Distribution medals only given if the Pokémon has Secret Training unlocked. Clicking Give All with no medals will give 30, then clicking again will give the final 6. Of course if the Pokémon already had it unlocked but not 30 it will bump to 36, but it's up to the user to None/Give as desired.
2016-09-02 09:54:17 -07:00
Kaphotics
0ca4339169 Fix gen4 mail item names
Could be less lazy and manually update the Item text resources, but
we'll re-evaluate this decision after S&M.
2016-09-01 20:59:10 -07:00
Kaphotics
829867d275 Fix gen4 HM07/HM08
Gen5/6 had dummied these items; since they aren't dummied in G4 we need
to manually override the value from ??? to HM06+1 and HM06+2

Thanks msbhvn & Liger0!
2016-09-01 20:51:58 -07:00
Kaphotics
e290443d4e Fix bad input exception handling
Matches the other implementation
2016-09-01 20:48:38 -07:00
ajtudela
efa2c7c8de Merge pull request #4 from kwsch/master
Update
2016-09-01 11:16:44 +02:00
Michael Scire
c0750647f6 Merge master for g2 item list resource 2016-08-31 13:52:45 -07:00
Michael Scire
8668d6221d Initial PK2 implementation (incomplete) 2016-08-31 13:52:30 -07:00
Kaphotics
18b081c1e3 Move gen1item string to resource
Add gsc met locations
2016-08-31 08:54:56 -07:00
Evan Dixon
a7c443f850 Merge branch 'master' 2016-08-31 09:34:54 -05:00
Evan Dixon
2e2bfa4223 Merge branch 'master' 2016-08-31 09:34:06 -05:00
ajtudela
37ccfff25f Merge pull request #3 from kwsch/master
Update
2016-08-31 11:06:31 +02:00
Kaphotics
4c37a63e2c Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-08-30 22:58:42 -07:00
Kaphotics
41f69b0d99 Minor cleanup
No functional changes besides beginnings of genII support
2016-08-30 22:58:39 -07:00
Michael Scire
e63d841526 Fix resources.resx error 2016-08-30 21:50:02 -07:00
SciresM
89ed9fb045 Merge pull request #211 from kwsch/rhydon-merge
Add support for editing Gen I files
2016-08-30 21:36:57 -07:00
Michael Scire
8bcdc353d2 Manually merge master resource file 2016-08-30 21:35:26 -07:00
Kaphotics
29a562cdc7 Fix capitalization on version path
Now that I can test it with the working path :)
2016-08-30 21:14:54 -07:00
Kaphotics
14b4bfb2f4 Add update available indication
version.txt as a program resource -> check against online copy, if
online has an earlier date then indicate that an update is available.

When posting a new update, the version.txt has to be updated with a new
yyyyMMdd.

Ask me on IRC why I prefer to do things this way ;)
2016-08-30 21:12:47 -07:00