Commit graph

1320 commits

Author SHA1 Message Date
Evan Dixon
2cba9de40a Fixed incomplete implementation 2016-06-26 13:54:02 -05:00
Evan Dixon
f538cb779c Implementation fixes 2016-06-26 13:48:39 -05:00
Evan Dixon
86b2090ba1 Altered SaveUtil to be usable from external assemblies 2016-06-26 13:46:08 -05:00
Kaphotics
ca139cf7e4 Add gen4 current box 2016-06-23 21:55:18 -07:00
Kaphotics
d2342ba965 Fix pokecenter purchase ORAS
Ever Grande Pokémon League lobby has a vendor, and is considered a Pokécenter.
Thus, memory 5 is obtainable in OR/AS.

Resolves #125
2016-06-22 12:31:53 -07:00
Kaphotics
027518c330 Fix pkm info clearing on SAV load
returned PKM uses the same reference as the Main.pkm; clone to a new
object before returning => separate object reference.
2016-06-21 22:19:30 -07:00
Kaphotics
505d17c86a Update readme
Reflect multiple generation support
2016-06-21 21:54:14 -07:00
Kaphotics
27bf0c1df1 Merge remote-tracking branch 'refs/remotes/origin/multigen' 2016-06-21 20:14:56 -07:00
Kaphotics
1a6cc17515 Remove SAV5
Trying to resolve conflicts.
2016-06-21 20:14:38 -07:00
Kaphotics
83cd043fff Merge remote-tracking branch 'refs/remotes/origin/master' into multigen
# Conflicts:
#	Misc/SAV5.cs
2016-06-21 20:10:33 -07:00
Kaphotics
93d27989a1 Add fallback check for g4 saves
Check for block identifiers if the general block checksum is invalid
(manually tampered).
BW/B2W2 detection is fine as is; the checksum block /won't/ be manually
modified.
2016-06-21 17:57:55 -07:00
Kaphotics
3351c7f9bb Add simple trainer editor (past gen)
Fixed save invalidation as well. GameVersions were detected based on
checksum validity.
Gonna change that so an invalid save can still be recognized (based off
of other markers)
2016-06-21 17:35:12 -07:00
Kaphotics
ff1b084523 Switch to expression on click
one liner.
2016-06-21 17:33:03 -07:00
Kaphotics
68f144e040 Re-add PKM property verification
Item/move/species (didn't add Ball and Version) being imported from a
.pkm or forcefully input now requires the user to OK before it is set to
the save.

EX: Hyperspace Fury isn't in X/Y, drag from another instance of the
program with OR/AS loaded and a Hyperspace Fury move... the user will be
alerted of the incompatibility and will be allowed to continue (and fix,
if desired).
2016-06-20 23:02:26 -07:00
Kaphotics
cb0c5998cd Change argument name, check maxspecies
pretty template for the future, I don't like the PKX.Personal reference.
If multidex bool setting is added that'd have to change.
2016-06-20 22:59:10 -07:00
Kaphotics
a1d9d25a01 Hide TSV/PSV on gen<6 2016-06-20 21:11:48 -07:00
Kaphotics
5386bb738d Fix PID changing for gen4 pkm
Filling the EC textboxes when it is not visible is unnecessary as well.
2016-06-20 20:58:35 -07:00
Kaphotics
0d477a0153 Futureproof gen6 subforms
Species selection should be limited to species available in game; upon
adding S&M these comboboxes are ready!

The CB_HeldItem in SAV_SecretBase doesn't need filtering as it is
limited when the SAV is loaded to the main form.
2016-06-20 19:07:40 -07:00
Kaphotics
28141729a9 Limit PKX dropdowns when Version changes
Filters out choices that are not obtainable in the loaded version of
game (such as new Mega Stones).
2016-06-20 18:58:06 -07:00
Kaphotics
1da183a8cc Minor tweak
SAV5 change didn't get saved
no need to "take" the rest of the data when footer checking.

this logic can be expanded if other emulators behave differently...
2016-06-19 22:13:57 -07:00
Kaphotics
e6a4f4cce1 Add .dsv support
Even catches the 1MB misconfigured DSV's (stuffs the bak data in with
the footer).

Works by searching for the DeSmuME footer signature in the input data,
if present, breaking up the info.
2016-06-19 22:11:53 -07:00
Kaphotics
e784389ad2 Manually merge latest pull requests
Should have forked to begin with.

Thanks @chenzw95 && @Eskuero
2016-06-19 21:29:38 -07:00
Kaphotics
6378eb7f56 Current progress
Still a few milestones left to hit before official release.
2016-06-19 21:22:43 -07:00
Kaphotics
ff8c697a99 Merge pull request #123 from SciresM/master
Add basic Gen V Checksum Support
2016-06-14 16:21:12 -07:00
Michael Scire
1bf70d99a3 Preliminary Gen V Checksum Support 2016-06-14 15:31:33 -07:00
Kaphotics
5df46cfc72 Merge pull request #120 from chenzw95/legality-memorychecks
Legality: separate memory checks from history checks
2016-06-10 09:09:33 -07:00
chenzw95
52ff97191a Clarify History vs Memory check in legality output 2016-06-10 15:44:25 +08:00
chenzw95
a0fb281ced Move WC6 OT memory checks from verifyHistory to verifyOTMemory 2016-06-10 15:43:39 +08:00
Kaphotics
8c998d71e6 Merge pull request #119 from Eskuero/patch-3
Fix third gen balls on second gen starters with HA
2016-06-05 15:23:24 -07:00
Eskuero
2e4c75aca3 Fix third gen balls on second gen starters with HA
Second generation starters are legal with third generation introduced balls because you can catch their second stage on Pokemon Colosseum, but since back then Hidden Abilities didn't exist they're restricted to normal balls only.
Other balls are checked already but this ones weren't flagged as illegal.
2016-06-05 19:49:20 +01:00
Kaphotics
862c2fd823 Fix trade skitty level
25->30
2016-05-30 18:56:37 -07:00
Kaphotics
20f3a10838 Refactor
Remove unnecessary reference, Core is within Legal
2016-05-29 14:44:08 -07:00
Kaphotics
26bda05936 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-05-27 17:57:07 -07:00
Kaphotics
1b7c9e7564 Merge pull request #118 from easyworld/master
correct name of mega evolution
2016-05-27 20:06:51 -07:00
easyworld
a62594c064 correct name of mega evolution 2016-05-28 10:33:10 +08:00
Kaphotics
763bc525b9 Fix party stat decryption
now it doesn't autosize
2016-05-27 17:57:03 -07:00
Kaphotics
d128ad8dc0 Merge pull request #116 from easyworld/master
Chinese translation updated.
2016-05-27 08:37:04 -07:00
easyworld
77813cace6 Chinese Translation updated 2016-05-27 17:01:35 +08:00
Kaphotics
365561122d Update README.md
Update screenshot
2016-05-26 09:21:02 -07:00
Easy World
c07a6cac45 Merge pull request #4 from kwsch/master
update
2016-05-27 00:06:58 +08:00
Kaphotics
b3e742fb96 Load current stats if hax
Can probably get status and what not but no need.
Checking HPMax != 0 is a simple way of checking if any stats are
present, as a box pkm would have zeroes and any party pkm would have >=1
2016-05-26 08:30:06 -07:00
Kaphotics
9438114fb7 Fix auto resizing to party size 2016-05-25 22:43:03 -07:00
Kaphotics
d2dbc9f2ed Merge pull request #115 from chenzw95/legality-hatchmemory
Checks for OT memory 2: hatched from an egg
2016-05-25 06:49:58 -07:00
chenzw95
53a49195d6 Fix typo in output of HT memory check 2016-05-25 13:22:17 +08:00
chenzw95
001c570a48 Hatch memory check for memories of OT
Memory will be flagged as illegal if Pokemon did not hatch from an egg
2016-05-25 13:20:19 +08:00
Kaphotics
e65224e5f5 Merge pull request #114 from Eskuero/patch-1
Don't check base moves if the pkm can't be hatched
2016-05-23 10:53:11 -07:00
Eskuero
b404740b2c Don't check base moves if the pkm can't be hatched
There's no point of saying a Landorus, per example, is missing Fissure, Block, Mud Shot and Rock Romb as relearn moves just because it was hatched from an egg because to start with the species cannot be hatched.
2016-05-23 17:41:11 +01:00
Kaphotics
b5caf36fec Remove tab indentations
Change to 4space
2016-05-21 11:28:04 -07:00
Kaphotics
8a4ebf461b Add loading encrypted pkm files
Also fix 220 byte pkm file loading
2016-05-20 18:55:06 -07:00
Kaphotics
eb519f683f Merge pull request #113 from chenzw95/boxlayout-fix
Fix truncation of box unlocked BG flags
2016-05-20 01:33:20 -07:00