Commit graph

2369 commits

Author SHA1 Message Date
Kurt
2fb56a99bf Bump .NET to 4.6
Farewell XP support. :godmode:
2017-01-30 20:45:34 -08:00
Kaphotics
b490d9f896 Merge pull request #781 from kwsch/f/specific-error-check
Made FileNotFoundException check more specific
2017-01-30 20:44:29 -08:00
Evan Dixon
ebb53457cf Removed whitespace 2017-01-30 22:30:53 -06:00
Evan Dixon
18f08b93a3 Made FileNotFoundException check more specific 2017-01-30 22:27:08 -06:00
Kurt
26925ad528 Add default/illegal fashion payloads
User selects which payload they want to apply
closes #780
2017-01-30 18:32:18 -08:00
Kurt
1454433483 Misc legality updates
Add ゲーフリ to valid 151 OTs
Revise logic for split-forme egg moves (Closes #777)
Save config on closing instead of option change
Remove geolocation setting for 6->7 and associated legality check, move
geolocation validity check higher (Closes #776)
2017-01-30 17:49:28 -08:00
Kurt
c2dcad4c6a Update dream ball inheritance
Caterpie/Weedle line used their max evolved form instead of base form,
so that has been corrected.
Remove the ability check for dream balls now that they can be inherited
together.
2017-01-30 16:08:19 -08:00
Kurt
897fcb7a0d Fix importing wc6 on gen7 ver 2017-01-30 15:37:22 -08:00
ReignOfComputer
2c8dec7f83 Merge pull request #3 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-01-31 07:00:29 +08:00
Kurt
9c788d1c8a Fix coins OverflowException
cap to 9999 before casting
Closes #775
Thanks @ThunderRemix
2017-01-29 21:41:42 -08:00
Kurt
1c599e8baa Update 170130
Fixed wc7 binary, added 6->7 transfer georegion (was missing).
2017-01-29 20:15:03 -08:00
Kurt
f7e354a839 Allow gen3/4 balls on gen3/4 starters
Closes #774
Thanks @PKMWM1 !
2017-01-29 19:11:40 -08:00
Kurt
bcf4c72e86 Clarify PersonalInfoSM local bool
FormVariantEggMoves are used?
#774
2017-01-29 19:03:50 -08:00
Kurt
9506b3bbe1 Fix cloning overflow
use the count of slots in a box, not 30 hardcoded
Thanks Wanderer1391!
2017-01-29 17:50:06 -08:00
Kurt
3da9bcd0df update SM dex iterator
#772
sneak in misc changes to PKM.cs, to snazzify HPType calc and to allow
markings to be converted from g7 format to g6
2017-01-29 16:55:35 -08:00
Kurt
6a63137ca6 Fix forme display
Closes #771
2017-01-29 10:45:02 -08:00
Kurt
fefd3e6e72 Simplification changes
remove dexlevel(lvl) call in favor of single species call, differentiate
maxSpeciesOrigin from maxSpeciesTree
2017-01-29 09:26:40 -08:00
javierhimura
dfc518faab Get lineage using the source generation of the pokemon (#769)
* Added function get max species by source game of a pokemon
* Tweak get lineage function to take into account the source generation of the pokemon
2017-01-29 09:11:48 -08:00
Kaphotics
80386bf667 Merge pull request #770 from phijor/master
Fix tabs for bag pouches not showing on Linux/Mono
2017-01-29 09:02:02 -08:00
Philipp Joram
0ac5d57224 Fix tabs for bag pouches not showing on Linux/Mono
Passing a height of 0 lets the TabControl dissapear, making it
impossible to switch tabs between different pouches.

To fix this, use the same approach as for the width and pass the height
of the first icon.
2017-01-29 14:18:35 +01:00
Kurt
9c8031d847 Add bad showdown set handling
dat fuzz
2017-01-29 00:32:02 -08:00
Kurt
30ec9011c8 Misc updates
Remove safari hidden ability check for gen7 origin pkm
load template data on any save load, causes the legality triangle to
appear on supported games
2017-01-29 00:02:32 -08:00
Kurt
c4020660ec Split pelago exclusives & zygarde ball check
Zygarde is a gift pkm, always pokeball
Thanks Holla!
2017-01-28 20:37:28 -08:00
Kurt
5cc8d1de5c Fix clickLegality calling
existing logic put mnuLLegality back into mnuL, causing the getSlot call
to return -1 (not from a box/party slot, ie read from tabs).

new logic should have the intended behavior
2017-01-28 15:20:11 -08:00
Kurt
340b57ee60 More UI improvements
Hold Control when right clicking a Box/Party/etc slot to get the
Legality menu item to appear.

Improve the SD card locked check when saving for multiple exception
types.
2017-01-28 13:07:44 -08:00
Kurt
5ae027c934 Misc user protections
trycatch SD card readonly check
Remove All medals now clears gen7 flags (for improper transfers)
2017-01-28 10:50:36 -08:00
Kurt
ab5a0a7a3a Fix PID auto-update past gen
Closes #766
2017-01-28 10:36:57 -08:00
Kurt
e810e7c430 Add relic song tutor 2017-01-28 10:34:24 -08:00
Kurt
bf30612d59 Improve 6->7 detection
improvements++
2017-01-28 10:10:15 -08:00
Kurt
b1fac83c8e Fix 5->6 therian hidden ability migration
Closes #765
2017-01-28 10:06:32 -08:00
ReignOfComputer
fa9fba464b Fix Missing PK1->PK7 Geolocations (#764) & dll missing
* Check for Missing Code Library with Error Message

If PKHeX.Core (or other external dependency) is missing, display an
error message at launch.

Closes #763

* Fix Missing PK1->PK7 Geolocation
2017-01-28 09:48:00 -08:00
Kurt
89ad74eddb Update 170128
Update event files, changelog, and version string.
2017-01-28 00:53:16 -08:00
Kurt
45a284fb0c tweak VC temp species check
snorlax base is munchlax => false flag
just get the minimum species from chain.
2017-01-28 00:38:16 -08:00
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