Commit graph

3059 commits

Author SHA1 Message Date
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
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