Commit graph

2436 commits

Author SHA1 Message Date
Kurt
b86321c142 Expand pk6/pk7 checks
As per comments on 75d460e
2017-01-27 23:33:36 -08:00
Kurt
75d460e502 Revise pk6/pk7 detection
As per comments in
c401781526
2017-01-27 21:36:39 -08:00
Kurt
e9cd03d72f Fix 3-6 extension filters
Should cap out their valid filters at the generation for the save file.
2017-01-27 09:13:42 -08:00
Kurt
1922a2145f Add BP wondercard type
Closes #758
2017-01-27 09:09:31 -08:00
Kaphotics
ec3d6d5177 Merge pull request #759 from chenzw95/file-ext-fix
Fix acceptable PKX file extensions being off by one
2017-01-27 08:21:41 -08:00
chenzw95
a3e144d49c fix acceptable PKX file extensions being off by one 2017-01-27 23:21:12 +08:00
Kurt
1589fc733e Fix 6->7 ~ memories
Yay for pokebank giving gen7 format files memories (including gen7
origin pkm)
Add in a geolocation validity check; PKHeX doesn't screw this up but may
catch other editors down the road.

Legality checks updated accordingly.
2017-01-27 05:59:08 -08:00
Kurt
16203b36b9 Fix 6->7 non-alolan eggmove case 2017-01-27 05:34:27 -08:00
Kurt
e5d9381c58 Add basic VC legality checks
I may use VC and VC1 a little too interchangeably; things would have to
be updated if GSC were ever released anyway. Usage of VC is for generic
stuff while VC1 allows VC2 to slip by.

no shiny mew 🌵
memories + geolocation, gee thanks bank.

Would need to be updated with gen1 legality checking to add moves/finer
encounter details, but this will do for now. Please don't report things
marked 'legal' that have invalid moves/levels.
2017-01-26 21:35:26 -08:00
Kurt
900a3b1e3a Update gen7 memory checks
y u give vc mons memories?

add HT memory check for transported mons
2017-01-26 20:13:27 -08:00
Kurt
6a8c641659 Fix non-alolan marowak/exeggutor evo check
Clarified invalid evolution message, removed unused code, and added the
necessary skip option
2017-01-26 19:49:37 -08:00
Kurt
4331d7fa84 Fix Meowstic edge case
Closes #757
2017-01-26 19:42:03 -08:00
Kurt
c401781526 Add pk6/pk7 differentiation
Moves a lot of const values from SAV to Legal for reuse.
Closes #754
2017-01-26 19:18:20 -08:00
Kurt
c93a4bf217 Update GameID text file for remaining languages
#756
2017-01-26 17:48:24 -08:00
Kaphotics
be7272d8e3 Merge pull request #756 from lilymaniac/translation-fix
Fix Korean translation
2017-01-26 17:41:39 -08:00
lilymaniac
3b91ce948a Fix Korean translation
Change-Id: I74f7300c8a065b45666811849189940220d331a0
Signed-off-by: lilymaniac <lilymaniac@outlook.com>
2017-01-27 10:18:29 +09:00
Michael Scire
23cbeb7da3 Byte 0x2A in PK7 is PelagoEventStatus
See pml::pokepara::CoreParam::GetResortEventStatus

Also see: #741.

Needs testing to see what values are legal.
2017-01-26 11:16:21 -08:00
Kurt
08adb4c2cb Disable super training flags on format!=6
Closes #752
2017-01-26 08:45:23 -08:00
Kurt
37b3e58979 Add batch editor smart ability instruction
$0 or $1 or $2 for ability 1/2/4 (just think of it with 012345...).
Will set the hidden ability for every mon (AbilityNumber=4 and
Ability=PInfo.Abils[2])

#749 as promised
2017-01-25 23:03:57 -08:00
Kurt
c18d23073b Fix language pk1
File wasn't saved
2017-01-25 23:01:20 -08:00
Kurt
f282711e35 Cleanup
Use S/M met locations for Pokémon GO origin
Changing to VC1 or GO now autofills met location
Un-alphabetize RGBY games and move to end of games list (+go)
Mark unused region names (Kanto string appears twice in text bank 3,
30013 is used)
Move hypertraining stat toggling to pkm object

shift 1->7 logic to repeat less operations
add more 1->7 logic pertaining to memories
add RefreshAbility method (0 based input, not 1/2/4)
2017-01-25 22:51:52 -08:00
Kurt
ae8f929f97 Fix setting wc with no wcID number
Closes #745
2017-01-25 20:49:53 -08:00
Kurt
f1c2a74aed Add write protection alert on save load
#750
2017-01-25 20:11:53 -08:00
Kurt
0d5694dc8e Manually redefine app settings file
http://stackoverflow.com/questions/6436157/configuration-system-failed-to-initialize

delete C:\Users\{username}\AppData\Local\ProjectPokémon\ if still having
issues
Closes #747
2017-01-25 19:39:35 -08:00
Kurt
0bddd2f072 Update memory fix&checks
Closes #746
Memories are not wiped, but Geo_Region/Geo_Country is.
2017-01-25 18:51:15 -08:00
Kurt
45367cdce7 Update cleared data legality checks
Add in a few more, a little bit of shuffling
2017-01-25 09:17:20 -08:00
Kurt
b370c26542 Fix g6 multiplayersprite clearing
Closes #743, thanks @PrometheusG !
2017-01-25 08:51:05 -08:00
Michael Scire
792f7ce04c WIP PK1 -> PK7 Transfers.
Still needs language/3ds country region
and memories, because I'm not sure how
to do those in the void of a save file
context.
2017-01-25 03:29:38 -08:00
Michael Scire
038fe4c3fc Additional 6->7 accuracy 2017-01-25 00:36:00 -08:00
Michael Scire
fbafbba0b1 Make 6->7 transfers (mostly) bank accurate. 2017-01-25 00:28:16 -08:00
Kurt
b37cb77b74 Remove string conversion 6->7
good, but bad job gf
#734
2017-01-24 23:50:06 -08:00
Kurt
1be7ecafce Add incorrect transfer check
Flags pk6->pk7 imports that were not converted (no data changes)
2017-01-24 23:34:50 -08:00
Kurt
7797af4baa Add gen6->gen7 transfer skeleton
Ingame font changed the order of the faces as noted in #734, this is
just temp until someone tests.

Check old ability & force to new if valid

I bet the transfer method doesn't touch the chars (screwing up faces),
so it can be removed if proven.
2017-01-24 23:09:34 -08:00
Kurt
2cff51be61 Remove pre-bank specific checks 2017-01-24 22:55:51 -08:00
Kurt
0a19b8b59b Split gen1/2 shininess
an attempt was made
2017-01-24 21:28:29 -08:00
Kurt
eebf3fbac3 Add gen1 shininess editing
Since it's the same as gen2's checks, and gen1->7 is now possible...
2017-01-24 21:01:32 -08:00
Kurt
608c570352 Add more trainer stats
Thanks Holla!
2017-01-24 19:50:35 -08:00
Kurt
4cdb6a9271 Add Poké Pelago ball check
Thanks Holla!
2017-01-24 19:49:40 -08:00
Evan Dixon
92d59fc3b5 Merge pull request #736 from kwsch/b/case-sensitivity
Fixed case sensitivity
2017-01-24 10:29:43 -06:00
Evan Dixon
1fd174bb04 Fixed case sensitivity 2017-01-24 10:26:13 -06:00
Michael Scire
5a23fda752 Add support for VC/Horohoro game ID markings 2017-01-24 07:12:14 -08:00
Kurt
bcb5f5f2bb Minor cleanup
extrabytes setting moved to another method, fixes all resharper problems
2017-01-22 23:05:54 -08:00
Kurt
ddac932419 Remove unnecessary line
What was I thinking? Oh, copy-pasted.
2017-01-21 12:10:35 -08:00
Kurt
52bd66f1ff Add DP gift active flags
Only for DP
active = !(gift data is all zero);
Thanks @BernardoGiordano !
#730
2017-01-21 12:09:15 -08:00
Kurt
615526e9a1 Fix PCD clearing
PCD/PGT have nested objects that do not update when the Data array is
updated.
Solve the problem by adding get/set to those properties.
#730
2017-01-20 21:43:59 -08:00
Kurt
2ab175db6e improve pcd<->pgt matching
Hotfix wasn't appropriate: check bytes 0 & 1 in addition to 3+, add
bounds checking
2017-01-20 20:59:50 -08:00
Kurt
f0a570d132 Update cardmatch logic
oops, linq goof
#730
2017-01-20 20:48:04 -08:00
Kurt
eaa233bdd8 gen4 wondercard updates continued
Don't set Slot to 3 for an empty slot
Move slot check comparison to PCD class
Allow PCD->PGT 'swap' override to just set the slot
Update alert message to indicate source type first

#730
2017-01-20 19:35:56 -08:00
Kurt
4f99ef6c09 Set Slot id to 3 if no pcd found
Closes #730
Adds ability to set a PCD to a PGT slot (grabs the PGT from card)
2017-01-20 08:43:44 -08:00
Kaphotics
492a29e950 Merge pull request #731 from BernardoGiordano/patch-1
Fix HGSS checksum offset
2017-01-20 08:20:57 -08:00