Commit graph

8929 commits

Author SHA1 Message Date
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
Kaphotics
fcd2893736 Remove unused property
Was used in the save detection method which was redesigned to not need a
filename.
2016-08-05 22:59:02 -07:00
Kaphotics
98e72aefc8 Fix gen3 unknown game data setting
Grab the original data, not the expanded data.
Could always call 'clone' but the data hasn't been modified, so get the
original data.
2016-08-05 21:36:51 -07:00
Kaphotics
61573301d6 Fix Ho-Oh fullwidth
Gen3 changes to gen4: - to -
Just display as short width

Fix unknown character (0xFF => early termination) throwing an exception

Chartables were not spaced correctly (hex table), fixed now.
2016-08-05 21:02:54 -07:00
Kaphotics
034da95ff4 Re-enable Vivillon form editing
Dunno why it was disabled.

Thanks Majickhat55!
2016-08-05 16:21:15 -07:00
Kaphotics
fdbeada3b7 Improve dragdrop from box to tabs
Previously only allowed dragging to the Preview box to load to tabs, now
if a box slot is dragged to anywhere in the window it will load.

Unrelated to previous pull request :)
2016-08-05 05:51:55 -07:00
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