Commit graph

1457 commits

Author SHA1 Message Date
Kaphotics
27d55b47fb Implement PID-Ability corrections
Line 2211:
When the fields are loaded, if the user modifies the Ability on a <=Gen5
save file, if the ability is modified, the PID will be randomized to fit
the new PID.

When the Ability combobox is loaded, the personal entry may have 0 for
the ability2 (indicating same as ability1); if so, copy ability1 instead
of filtering it out.

When the Ability index is loaded, hidden ability is checked first, else
it tries to match: invalid, hidden (unflagged=illegal), if abilities
same use PIDAbility, else use the actual ability index.
2016-08-22 20:37:50 -07:00
Kaphotics
4df390a9c1 Release 08-22-16
Updated with latest event files.
2016-08-22 00:29:54 -07:00
Kaphotics
24b00d0371 Merge pull request #189 from vacero/master
Fix reorder moves and clear PP values for empty moves.
2016-08-21 10:25:06 -07:00
viacgo
e5737db404 Fix reorder moves and clear PP values for empty moves. 2016-08-21 18:09:22 +02:00
Kaphotics
a45b19364d Tweak dragdrop to computer
When the dragdrop succeeds to a location outside the program, the effect
is Move.
When the dragdrop succeeds to another slot, the effect is Link.
When the dragdrop succeeds to Tabs, the effect is Copy.
When the dragdrop fails, the effect is None.
2016-08-21 09:07:44 -07:00
Kaphotics
c44d808142 Merge pull request #188 from vacero/master
Fix for fix PPs in PK4 to PK5 conversion.
2016-08-21 09:00:03 -07:00
viacgo
1d75da730a Fix for fix PPs in PK4 to PK5 conversion. 2016-08-21 14:52:10 +02:00
Kaphotics
81451a57e5 Colorize dragdrop source slot on drag
Semi-transparent grey; instead of the sprite disappearing, the slot will
indicate "hey something's happening to my contents"
2016-08-21 00:23:07 -07:00
Kaphotics
137f341e37 Improve dragdrop to use sprites
Set cursor to slot sprite and 'pick up' the image, restore if not moved.
Drag&Drop GiveFeedback overrident to false to prevent the 'dragdrop'
cursor override.
Set the tabmain effect to Copy instead of Move so that everything
behaves!
2016-08-21 00:17:45 -07:00
Kaphotics
13e91cc9a1 Fix super training translation names
Update with correct control name
2016-08-20 15:45:38 -07:00
Kaphotics
6899e45f6a Merge pull request #187 from ajtudela/master
Better translations of spanish language
Closes #170
2016-08-20 15:31:21 -07:00
ajtudela
42453acd78 Update lang_es.txt 2016-08-20 20:22:30 +02:00
ajtudela
86c535d29d Better translations of spanish language 2016-08-20 12:04:47 +02:00
ajtudela
2728715855 Merge pull request #2 from kwsch/master
Up to date
2016-08-20 11:20:35 +02:00
Kaphotics
2b9b16ad39 Minor qol improvements
SAV6/SaveFile: Not use Skip.Take.ToArray() for data accessing,
drastically speeds up pcbin importing and misc data reads
Checks: Indicate GeoLocation MEMORY as illegal, was confused with the
PKM's origin geolocation data.
Main: Reorder buttons so the less used buttons are at the end. Fix
button view bugs:
Visible check doesn't function on load as the entire form is not yet
visible
BerryField button appears for ORAS but has no function (all
randomization is in PokeBlock), so only show for XY.
2016-08-19 23:36:13 -07:00
Kaphotics
0dcd5b22e8 Fix updateLegality on sav load
Legality indication disappeared when save was loading, just defer all
checks to the updateLegality method
2016-08-18 18:10:22 -07:00
Kaphotics
53a6aacd7d Fix ball clearing
Oops, 0x80/0x81 only, not 0x80/0x81/..0x82/0x83; was overwriting other
pkm properties.
0xBBA was treated as 16bit

Fixes #184 , thanks @Ninjistix !
2016-08-17 20:28:42 -07:00
Kaphotics
1650498fcc Fix gen5 hidden ability setting
actually set the hidden ability bit
2016-08-16 17:54:46 -07:00
Kaphotics
ae526e7880 Fix pk5 hidden ability r/w
Thanks JSS!

(read from 0x42 not 0x41)
2016-08-16 17:47:03 -07:00
Kaphotics
260b8d64b4 Alter gen6 version detect
Fixes blank save file detection
2016-08-15 20:57:42 -07:00
Kaphotics
455f3f3275 Fix mystery gift album manipulation
Fixes swapping something to 0th slot
Fixes deleting a cloned wondercard gift
Fixes swapping of wondercards
Delete now shuffles slots down
2016-08-15 20:48:02 -07:00
Kaphotics
98389d05df Fix mystery gift album manipulation
Add gift cloning
\u3000 (jp space) replaced with international space
Add type name retrieval for easy property
2016-08-15 20:47:34 -07:00
ajtudela
8758e9610e Merge pull request #1 from kwsch/master
Up to date
2016-08-15 20:46:45 +02:00
Kaphotics
2116d528e4 Improve batch randomization
allow .EncryptionConstant=PID
improve .PID=$rand to use random PID method instead of pure rand
switch comparisons to match command appearance in richtextbox
2016-08-14 23:23:38 -07:00
Kaphotics
d818eaec5f Fix transfer PP
Fixes #180
2016-08-14 09:55:58 -07:00
Evan Dixon
acfc42add9 Merge pull request #182 from kwsch/b/batte-video
Changed "Batte Video" to "Battle Video
2016-08-14 08:42:38 -05:00
Evan Dixon
68f1dfa68c Changed "Batte Video" to "Battle Video 2016-08-14 08:30:18 -05:00
Kaphotics
9c9ae18521 Decrease form opening time
Don't use linq for loading wc6db (took 400ms on my computer, keeps
increasing as database grows)
Don't validate comboboxes when setting datasources
2016-08-12 18:29:31 -07:00
Kaphotics
06628b99d4 Add gba save editing ref to readme
#179
2016-08-12 17:18:05 -07:00
Kaphotics
6d8f74060e Fix WC6/PGF dates
Not offset by 2000

Resolves #179
2016-08-12 17:16:03 -07:00
Kaphotics
9d9294ca7c Use same dragdrop method for tabs
Boxes used a more flexible variant that allowed for drag&drop from
browser downloads (chrome).
2016-08-11 20:02:13 -07:00
Kaphotics
794dd3739a Fix gen3 set PPUps
Was missing bitshift.

Thanks edvin!
2016-08-11 20:01:08 -07:00
Kaphotics
3fa7540a4a Merge pull request #177 from easyworld/master
update Chinese translation
2016-08-11 17:39:03 -07:00
easyworld
d409c4e297 update Chinese translation 2016-08-11 21:58:14 +08:00
easyworld
b19cace7cf Merge branch 'kwsch-master' 2016-08-11 20:08:18 +08:00
easyworld
c0ad3aa62e Merge branch 'master' of https://github.com/kwsch/PKHeX into kwsch-master 2016-08-11 20:08:05 +08:00
Kaphotics
66e5794672 Fix Poké Ball vivillon showdown import
Closes #174

Thanks @sora10pls !

Intent of the 'replace' is to trim, but I'm hesitant to change any other
occurrence.
2016-08-10 21:43:55 -07:00
Kaphotics
9831693a70 Add FBI save detection
Closes #167
Thanks @poutros !
2016-08-10 21:41:01 -07:00
Kaphotics
5da06535d9 Include missing method call 2016-08-10 21:40:09 -07:00
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