Commit graph

1690 commits

Author SHA1 Message Date
Kaphotics
cd0f04eadd Fix IV/DV label gen2
#240

Gen3 onward = IV
Gen1/2 = DV
2016-09-10 14:43:51 -07:00
Kaphotics
da8a538c73 Mono fix getLocationList
Fix verified in #229 , still other mono related issues to sort out.
2016-09-10 14:31:03 -07:00
Kaphotics
346745d618 Implement past gen strings for 'es' lang
Added fallback method to grab the english file if the requested language
file does not exist.
2016-09-10 14:30:07 -07:00
Kaphotics
693dc091a7 Merge pull request #250 from ajtudela/master
Spanish translations for Gen 1-3
2016-09-10 13:40:41 -07:00
Kaphotics
191debe520 Minor qol improvements
Closes #251 -- remaining stuff pending a future localization update

#240 -- DVs now shown instead of IVs

Hides Box tab for saves that do not have Box (ORAS Demo)
Hides Daycare Egg Available for gen 1 (use correct return type)
2016-09-10 13:40:03 -07:00
ajtudela
c3b7601adf Spanish translations for Gen 1-3 2016-09-10 16:14:34 +02:00
ajtudela
4db179f6d6 Merge pull request #6 from kwsch/master
Update
2016-09-10 16:06:11 +02:00
Kaphotics
cfb8d71f84 Fix ribbon name
Exception was thrown in ribbon editor, easy to replicate by giving all
ribbons to a pk4 (gen4 save file).

Property name now matches pk5/pk6.
2016-09-09 23:59:13 -07:00
Kaphotics
ca6a0da9db ShowdownSet Improve error handling
Because people can't follow directions and try to type it out manually
-> incorrect input
2016-09-09 19:13:48 -07:00
Kaphotics
92448f478d Fix box0 sort/delete
Closes #248

Thanks @exegg
2016-09-09 08:40:57 -07:00
Kaphotics
eaa12f59bd Disallow out-of-bounds puff values
Closes #246

Might as well use the SAV property "Puffs" when loading instead of only
when saving.
2016-09-08 20:29:12 -07:00
Kaphotics
f0d13da35a MaxMoney capping 1-4
Closes #245

Thanks @sora10pls !
2016-09-08 20:20:32 -07:00
Evan Dixon
9e9a506ac2 Merge branch 'master' 2016-09-08 15:33:54 -05:00
Evan Dixon
4c87b7f887 Merge branch 'master' 2016-09-08 15:31:17 -05:00
Kaphotics
de6205ac4b Fix gen1/2 visibility
Closes #242

Thanks @sora10pls !
2016-09-07 09:10:38 -07:00
Kaphotics
822fc47dc4 Remove invalid pk sizes
export always is in list format for gen1/2, these were introduced in
9b6552d314
which was an incorrect 'fix' for getting files dumped from dumpBoxesToDB
to show up in SAV_Database. This underlying issue has been resolved with
the two previous commits.
2016-09-06 19:52:03 -07:00
Michael Scire
b2860ea3de Simplify box bin loading 2016-09-06 19:40:54 -07:00
Michael Scire
8b608389eb Fix box dumping/loading for Gens I/II 2016-09-06 19:35:36 -07:00
Kaphotics
b483cd8002 Check if 'wc6' exists
Thanks Destinyy!
2016-09-06 17:19:30 -07:00
Kaphotics
06942089fa Add Event Flag warning
Closes #236
Altering Event Flags may impact other story events. Save file backups
are recommended.
2016-09-06 17:01:31 -07:00
Kaphotics
7d4a60efdd Tweak IV/EV events
#237

Hides the Shiny star on gen1, and re-hides the extrabytes for gen1/2
Adds missing click event for Label_SPC, as it was recently added.
Replaces the Label_SPA in gen1.
2016-09-06 16:46:00 -07:00
Kaphotics
7ef4a73fcd Hide met tab for gen1 saves, fix verifiedPKM
6->1->translate->6 needs translation done for the Met tab as it being
removed does not list it in the control list when translating, so just
trigger it again.

Other methods had to be tweaked to not reference the tabMain tabs by
index (instead by control names!)

Simplify the verifiedPKM method. removes unnecessary goto and fixes
recent added bug :)
As a side effect the color tracking variables are no longer, now using
the ResetForeColor/ResetBackColor methods of the control -- duh
2016-09-05 23:13:46 -07:00
Kaphotics
12fc528d34 Tweak HGSS Ball set
PGT -> PK4 doesn't have HGSS ball data (value=0)
Return the higher of the two
When setting, consider the Fateful Encounter status before writing to
0x86
2016-09-05 20:20:56 -07:00
Kaphotics
75fbaab26f Reset pkm before repopulating
Clear init states too.

Also updates program text (window title) to indicate if it is in HaX or
not (makes it clear when people take screenshots).
2016-09-05 19:44:15 -07:00
Kaphotics
39ed9c4d0d Fix Drag&Drop gen1 error
Dunno why it manifests itself only in gen<3, but this fixes the index
out of range

Reference #235
2016-09-05 17:05:27 -07:00
Kaphotics
1eff18b6f8 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-09-05 15:57:30 -07:00
Kaphotics
421dbf31f3 Fix extrabytes
Visible returns false if the tab is not active -- even if it is defined
as true in an earlier line, so use Enabled instead.

Move the AbilityNumber visibility to the end so that the logic isn't
repeated.
2016-09-05 15:57:28 -07:00
Michael Scire
fb313edeac Fix 1 -> 2 Conversion bug, gender issues (Closes #232) 2016-09-05 15:54:34 -07:00
Kaphotics
ed76235e9a Minor hax tweaks
Display overrides for visual neatness

why resx do you keep modifying yourself
2016-09-05 15:46:38 -07:00
Kaphotics
24126c1e96 Fix gen4 met location datasource providing
Copy paste copy paste copy paste

Closes #233
2016-09-05 15:27:22 -07:00
Kaphotics
36a3757418 2digit minute/second
as to not show 20:6:2 (20:06:02)

As shown in #233 first picture
2016-09-05 15:27:02 -07:00
Kaphotics
57122d2f9d Redesign first 3 tabs of editor
Uses many FlowLayoutPanel to automatically collapse controls so that
when future properties are hidden, the remaining aren't 'randomly'
spaced out.

With the collapsing of controls, N's sparkle was added for gen5 pkm.
2016-09-05 14:26:21 -07:00
Kaphotics
fed18d1d51 Ban gen3/4 balls on g4 starters
Thanks /u/Subject21_J !
2016-09-04 21:36:41 -07:00
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