Commit graph

9163 commits

Author SHA1 Message Date
Kaphotics
0c3ca8c749 Merge pull request #164 from Warsen/master
Improved the way drag and drop is initiated
2016-08-05 05:31:01 -07:00
Elias Carrillo
a8d76fa9fb Improved the way drag and drop is initiated.
Temp pkx file is not generated until user left-clicks and moves.
Prevents drag and drop of blank pokemon from slots previously held by dragged pokemon.
Response for left-click actions moved into left-click event.
2016-08-05 04:04:56 -07:00
Kaphotics
5ceafc21e1 Add TWLSaveTool support
A little more computationally intensive, but checking for the first
valid save file after checking for valid save paths seems legit.
2016-08-04 21:12:16 -07:00
Kaphotics
2acd1c5d21 Tweak savefile detection
Remove old cybergadget temp folder (interrupt is no longer used, now
using Cache), fix/modify current methods for a more maintainable method.

If GameFreak changes the filename, it'd only have to be changed in one
place.
2016-08-04 20:48:52 -07:00
Kaphotics
30047a1cb6 Fix manaphy hatching from egg
Can't receive a manaphy egg from Daycare or other non-Mystery Gift
source.
A wc6 Manaphy egg would not satisfy "WasEgg" anyway.
So far no manaphy eggs have been given out, and none will be (probably).

Thanks RustInPeace!
2016-08-04 19:18:32 -07:00
Kaphotics
8924dd0940 Fix fateful celebi transfer
Don't assign as crown unless it was received in gen4 (movie celebi
only).
2016-08-04 19:16:13 -07:00
Kaphotics
0dd6b05f1d Fix event flag retrieval
Thanks CaliberDR!
2016-08-03 17:56:15 -07:00
Kaphotics
3f5d8fad95 Fix pk* save extension detection
A period is before the extension.

Fixes #163, thanks @JHorbach !
2016-08-03 17:48:13 -07:00
Kaphotics
e6a8e9fed6 Fix gen3 Met Level
70 & 0x3F = 6

Thanks Destinyy!
2016-08-03 08:35:13 -07:00
Kaphotics
8d6525dfe9 Add hot spring wynaut OT memory case
Adding 60004 to the "WasEgg" check qualifies the pkm to be checked for
having egg relearn moves; since this was a gift egg it wasn't a
daycareEgg.
2016-08-03 00:10:38 -07:00
Kaphotics
3e7d694128 Fix party disappearing
Thanks ashrobb & MichiS97 !
2016-08-02 23:52:01 -07:00
Kaphotics
1fbb8b4f1a Merge pull request #158 from ajtudela/master
Better translations for spanish language
2016-08-02 18:49:25 -07:00
Kaphotics
a7d1888943 Fix Open/Save filters
Filter for opening allows past gen pkm files to be selected.
Removes old 'pokemon.ekx' injection method which nobody should be using
(use QRs!)
2016-08-02 18:46:41 -07:00
Kaphotics
116840b32e Cleanup
Remove unnecessary complexity
Fix exporting pk* (DecryptedBoxData instead of 0xE8)
2016-08-02 17:40:20 -07:00
ajtudela
685e2e639a Better translations for spanish language 2016-08-02 16:37:02 +02:00
Kaphotics
43135ae274 Fix empty savedatabackup folder
Expects a 'main' on launch, none found throws an exception before the
form is shown.
2016-08-01 20:38:55 -07:00
Kaphotics
ea83159370 Add drop mysterygift into box slot
Converts to pkm (pgt/pcd -> pk4, etc), then is attempted to convert to
the format of the save file.
2016-07-31 20:31:43 -07:00
Kaphotics
b4a622e784 Minor refactoring
Expression body & ternary for less lines
2016-07-31 18:15:58 -07:00
Kaphotics
a7b4dfa904 Merge pull request #156 from evandixon/master
Updated resource paths for future ClickOnce deployments
2016-07-31 14:57:52 -07:00
evandixon
6b23151bb9 Changed default OpenFileDialog path for ClickOnce deployments 2016-07-31 16:43:51 -05:00
evandixon
8c5d734151 Changed resource paths for ClickOnce deployments 2016-07-31 16:40:09 -05:00
Evan Dixon
86134f4cd5 Merge pull request #2 from kwsch/master
Merge latest changes to fork
2016-07-31 16:24:45 -05:00
Kaphotics
62ff84268b Fix nature modification for gen4
Thanks BeyondTheHorizon!
2016-07-31 09:20:06 -07:00
Kaphotics
696c5aa158 Add folder output to another folder (no overwrite)
Thanks \ for the suggestion!
2016-07-30 23:03:41 -07:00
Kaphotics
ceff3845b7 Add TableLayoutPanel scroll hack
Thanks @poutros !
2016-07-30 20:57:45 -07:00
Kaphotics
497bfb9397 Fix SAV3 dragdrop between slots
Thanks Destinyy!
2016-07-30 20:47:28 -07:00
Kaphotics
cdd33c9d5f Add delete for mass editor
.Species=0
Sets data to zeroes.
2016-07-30 17:22:33 -07:00
Kaphotics
e4cb0255e7 Release 07-31-16
Updated with latest event contributions.
2016-07-30 13:30:15 -07:00
Kaphotics
1d32ef12f3 Fix wc6full -> 2064 2016-07-30 13:25:58 -07:00
Kaphotics
e7834416ea Trycatch wrap normalize path
Pretty sure cgse is unsupported on linux anyway, so the URI invalid
exception can be ignored (skipping check).

#151 continues!
2016-07-30 11:25:45 -07:00
Kaphotics
b69096d6f4 Further attempts to fix linux issue
#151

ToList a bunch.
2016-07-30 10:47:28 -07:00
Kaphotics
3704d42fcf Trainer Gender symbols if Unicode or not
Thanks \
2016-07-29 22:36:24 -07:00
Kaphotics
4a14d663ad Tweak random PID gen on changing fields
Fixes quirky behavior of changing nature/gender on gen3/4 games.
2016-07-29 22:30:06 -07:00
Kaphotics
9f40505f3a More descriptive Gen3 sav prompt
Pops up (E) (RS) (FRLG) instead of "Generation 3"
2016-07-29 21:14:08 -07:00
Kaphotics
0e8b82b5fc Fix EXP dropping to level threshold
Only set back if the fields have been loaded.
2016-07-29 19:38:16 -07:00
Evan Dixon
8bd9322571 Merge pull request #1 from kwsch/master
Pull latest changes
2016-07-29 20:17:20 -05:00
Kaphotics
3b6f1e2c58 Attempt at a FlowLayoutPanel scroll hack
Thanks @evandixon for the link to a 'fix', lets see if it works.

#149
2016-07-29 16:00:56 -07:00
Kaphotics
9b3d6e5177 Fix Gen3 checksum calc
Also when checking the active save, check the block0 for both save files
since it is always updated.
2016-07-29 15:47:56 -07:00
Kaphotics
2365e974cb Generated form tweaks
Click label to invert checkbox, widen Ribbons so 5 appear per row,
reduce margins.
2016-07-29 08:31:02 -07:00
Kaphotics
cd909d5cc5 Add Batch Editor => Shiny PID command
Also added Box/Slot filtering, for whatever reason is desired.

Thanks /u/exegg for the suggestion!
2016-07-28 23:05:26 -07:00
Kaphotics
654ff292e6 Add nature/gender recalc PID on <=gen4 2016-07-28 22:54:29 -07:00
Kaphotics
1411749fbd Move shiny PID creation to PKM class 2016-07-28 22:33:16 -07:00
Kaphotics
cd32c79ba9 Center SimpleTrainer on open
Accidentally omitted.
2016-07-28 22:09:39 -07:00
Kaphotics
57899a7da9 Add unknown gen3 game detection
Bad cheats invalidating that Game Code!

Thanks @poutros !

Resolves #146
2016-07-28 22:08:23 -07:00
Kaphotics
67a375ecae Fix SAV4:Gen4 met locations
Do gen4 metloc check after gen3, THEN do gen5.

Thanks @poutros !

Fixes #140
2016-07-28 21:46:30 -07:00
Kaphotics
1755b49a9c Fix EncounterLink OT
Set the "Receiver is OT" to false for Glalie/Steelix, else true.

Thanks @poutros !

Fixes #147
2016-07-28 21:30:38 -07:00
Kaphotics
f63cbb4c26 Tweak move bindingsource iteration
Create datasource before the foreach to avoid multiple .Where(),
possibly fixing #151
2016-07-28 18:36:02 -07:00
Kaphotics
2805f699ac Fix HGSS CurrentBox
Thanks @poutros !

Resolves #143
2016-07-28 18:23:35 -07:00
Kaphotics
750751cdab Set checksum on PGT/PCD -> PK4
Thanks /u/SubMana!
2016-07-28 16:30:48 -07:00
Kaphotics
2a05037892 Fix Event Flag save
Casting issue, OfType to get all Checkboxes because the foreach doesn't
auto filter the Control[] to CheckBox[].

Thanks Armodillomatt12!

Also, don't forget to actually save the changes back to the main save
file...
2016-07-28 15:53:13 -07:00