Commit graph

9450 commits

Author SHA1 Message Date
Evan Dixon
4669551d77 Fixed errors in implementation 2016-08-10 09:07:16 -05:00
Evan Dixon
f0c72abafc Added MetDate and EggMetDate properties to PKM and others
Issue #171
2016-08-10 09:02:31 -05:00
Evan Dixon
4d1ef52b34 Moved project to its own directory
Will make it easier to add projects in the future, like unit tests
2016-08-10 08:10:31 -05:00
easyworld
9cae30b2b4 update zh translation 2016-08-10 19:59:29 +08:00
Kaphotics
ef904c889f Fix gen5 dex set
Use the size constant for each region.
The 0x60's should have been changed to 0x54 when the (gen6 method) was
copied and modified.

Thanks /u/Porta_14!
2016-08-09 22:52:59 -07:00
Easy World
3dedf02120 Merge pull request #6 from kwsch/master
update
2016-08-09 20:59:12 +08:00
Michael Scire
5fc03ef0a7 Fix c-gear .psk decoding 2016-08-09 02:27:14 -07:00
Kaphotics
724da7ff0f Improve PID/EC rerolling automation 2016-08-08 18:42:42 -07:00
Kaphotics
d65717487a Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-08-08 18:32:15 -07:00
Kaphotics
c757f59377 Fix inverted setShinyPID copying EC
Thanks JSS!
2016-08-08 18:32:13 -07:00
Kaphotics
a695588a76 Merge pull request #169 from evandixon/master
Minor changes and refactoring to better serve as a class library
2016-08-08 17:06:44 -07:00
Evan Dixon
02ae9c5f5b Merge pull request #5 from evandixon/f/more-code-library
F/more code library
2016-08-08 16:44:59 -05:00
evandixon
fc7f7d788c Added XML comments where appropriate 2016-08-08 16:44:05 -05:00
evandixon
df313c0589 Made more things public 2016-08-08 15:47:56 -05:00
evandixon
50efec724e Added helper functions to simplify getting string lists 2016-08-08 15:11:02 -05:00
Evan Dixon
541cc3fcd4 Merge pull request #4 from evandixon/b/inconsistent-resource-type
B/inconsistent resource type
2016-08-08 14:12:33 -05:00
evandixon
33e3019812 Merged master into b/inconsistent-resource-type 2016-08-08 14:08:39 -05:00
evandixon
c105d69cce Changed resource type of certain text files to None for consistency 2016-08-08 14:05:15 -05:00
Evan Dixon
7f5e08bf6a Merge pull request #3 from kwsch/master
Merge latest changes
2016-08-08 14:01:46 -05:00
Kaphotics
2ce5e442b1 Fix colors disappearing
Thanks SciresM!
2016-08-08 00:45:30 -07:00
Kaphotics
801300adf2 Fix image import
Fix not setting tile choice for new tile, fix tile speed by comparing
colors instead (manual rotation no fun)
2016-08-08 00:40:54 -07:00
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