Kurt
3680048c0a
Add local pickle loading if compiled as debug
...
Same dangers about "what is the root path"
Bump the level cap while we're here.
2020-11-27 12:14:13 -08:00
Kurt
c2867f7899
Move EvoBase to Evolutions folder
2020-11-27 12:06:52 -08:00
Kurt
6ebeb73293
Rename split legality class files
2020-11-27 12:01:30 -08:00
Kurt
fa36b70b29
Split Analysis into two separate classes
...
Will rename in next commit
2020-11-27 12:00:49 -08:00
Kurt
9b178fefe2
Xmldoc, minor tweaks
...
Move form-info logic from FormConverter to AltFormInfo; now FormConverter is entirely form=>string[]
Add a bunch of xmldoc
Make pogo no-end-date cmp agaisnt UTCnow rather than local now.
2020-11-27 11:51:02 -08:00
sora10pls
a437cbb9ca
Update FormConverter.cs
...
Display 0-9999 for Galarian Yamask formarg values.
2020-11-26 18:41:45 -05:00
Kurt
771086a222
Show all valid yamask-1 formarg values
...
from 319 (max HP-1) to 9999 (max saved value).
Causes a little bit of GUI lag when loading 10k items to the combobox; could be a number entry but meh. Lazily allocate the 10k strings; wait until it's requested.
2020-11-24 12:40:56 -08:00
Kurt
d6294d42f7
Update SAV1.cs
2020-11-24 10:51:31 -08:00
Kurt
1bde155c4d
Move tolerance permissions to pget
2020-11-23 16:25:34 -08:00
Kurt
21669d3f77
Update EncounterTrade1.cs
2020-11-23 13:24:02 -08:00
Kurt
624c65b937
Update EncounterMovesetGenerator.cs
2020-11-23 12:53:32 -08:00
ShadowMario3
80c0d73e18
Fix order of RB Ingame Trades ( #3095 )
...
* Fix Gen1 traded JPN Dugtrio nickname
* Fix order of RB Ingame Trades
2020-11-23 10:29:59 -08:00
ShadowMario3
ba8b8f706b
Fix Gen1 traded JPN Dugtrio nickname ( #3094 )
2020-11-23 08:44:15 -08:00
Kurt
69ad16c30f
Remove has move check for static encounters
...
Event Move special encounters are yielded after static encounters by the generator, so this iterator-picker will never behave as originally intended.
Since the encounter generator works fine for these events in its current form, we can just remove it. If we need to prefer GB era events before static, then we'd reinstate the priority and move the GenerateGBEvents before the static yielder.
bla bla bla this is just a cleanup from old preference code where we wanted to recognize the encounter as an event/trade as they're more recognizable. We just want to track the progress of the iterator so that g1/g2 follow a merged yielding order
2020-11-22 17:03:30 -08:00
Kurt
37782f0ce4
Consolidate EncounterTrade1 level objects
...
Adds Nickname checks, thanks @ShadowMario3 for grabbing these into separate text files from Bulbapedia.
I reordered all the encounters to match Bulbapedia; each level is denoted if different if it can be sourced from RBY.
2020-11-22 16:19:03 -08:00
Kurt
e701bf2725
Add Frostpoint Field for dens 175/176
...
Closes #3091
2020-11-20 18:20:00 -08:00
Kurt
dba7dc9911
Forest distribution raids
2020-11-19 16:06:43 -08:00
Kurt
ce17fd4050
Minor tweaks
...
Enc static 4 should check met location, since locations are flexible for roamers
Simplify expressions
Disallow 0 moves in "needed moves" list.
2020-11-19 15:34:06 -08:00
Kurt
9d8b528437
Update EncounterMovesetGenerator.cs
2020-11-19 07:33:35 -08:00
Kurt
0af0c05bac
Update go slot list yield and move fetch
2020-11-18 21:34:40 -08:00
sora10pls
f8dd2cf977
Update PogoType.cs
2020-11-18 21:05:46 -05:00
zzzzRuby
34321ee52c
Add some event flag of gift pokemon for Platinum version ( #3088 )
2020-11-18 08:28:38 -08:00
sora10pls
3b66e2e9b1
Add min. Level requirement for PogoType FieldP
...
Mew, Celebi, Jirachi and Victini (one-time Mythicals) require Lv. 15 with at least 10/10/10 IVs.
2020-11-17 21:56:47 -05:00
Kurt
4a8ad8b149
Expose raw evolution chain methods
2020-11-17 14:23:15 -08:00
Kurt
037db7b8a3
Add xmldoc for new obj/func related to GO legality
2020-11-16 21:17:45 -08:00
Kurt
e6a60ec210
Add single day tolerance to end of appearance period
2020-11-16 15:41:39 -08:00
Kurt
26e0f31c95
Include date legality parameters for LGPE
...
Extract common abstract class for GO transferred encounters
Clamp minlevel instead of met level
Add optional parameter for GO IV randomization
Update go legality binaries with latest
2020-11-16 15:32:22 -08:00
Kurt
770f7584c9
Behavior tweaks
2020-11-16 14:33:21 -08:00
Kurt
f25a7c7cf2
Apply valid ball on create
2020-11-15 20:51:07 -08:00
Kurt
d393773fb0
Update EncounterSlot8GO.cs
2020-11-15 18:32:30 -08:00
Kurt
d7dc69104b
Fix year check
...
still testing
2020-11-15 18:12:58 -08:00
Kurt
0ba2f6a53a
Update EncounterSlot8GO.cs
2020-11-15 17:44:13 -08:00
sora10pls
a4125472f4
Add PogoType for GO Battle League Mythicals
...
Covers Darkrai and any other future Mythical rewards from GBL.
2020-11-15 18:48:33 -05:00
Kurt
b1ae53ec63
Set empty slots if party not full
...
Closes #3086
2020-11-15 14:31:33 -08:00
Kurt
b6da6c1207
Add raticate form list for gen8+
2020-11-15 08:31:58 -08:00
Kurt
760adb4945
Check date legality
2020-11-15 08:31:48 -08:00
sora10pls
d5e1447f7c
Add additional PogoType enums, add min Lv/IVs
2020-11-14 19:36:07 -05:00
Kurt
cb57e807ce
Update EncounterSlot8GO.cs
2020-11-14 15:33:32 -08:00
Kurt
377ec02c9b
Minor clean
...
Remove GoPark as a "Type" since it is now baked into the encounter object type
2020-11-14 12:55:30 -08:00
Kurt
ad9e9ddfa0
Relocate go encounter maintenance outside of pkhex.core
...
PKHeX.Core now accepts generated pkl binaries from PoGoEncounterTool (PGET).
Refer to pporg's repo. This will be treated like event data; occasionally updated.
2020-11-14 12:51:24 -08:00
Kurt
5e22c119be
Continued refinements
2020-11-13 08:20:51 -08:00
Kurt
67a796e982
Update EncountersGO.cs
2020-11-12 22:08:13 -08:00
Kurt
82c016639d
Update EncountersGO.cs
2020-11-12 22:00:09 -08:00
Kurt
f366d27bdb
Revert Mothim form
2020-11-12 22:00:02 -08:00
Kurt
3e4d685d37
Update EncountersGO.cs
2020-11-12 20:50:39 -08:00
Kurt
01c597cba7
GO checks round 2
2020-11-12 20:41:01 -08:00
Kurt
7db746b9d4
Downshift types to remove curse type from g4 personal vals
...
kchart for gen4 games now shows the correct typings
2020-11-12 15:46:12 -08:00
Kurt
98f602fc87
Require tracker for HOME gifts too
2020-11-11 21:27:33 -08:00
Kurt
72e209a156
Split some methods, handle flow for go enc
2020-11-11 21:22:13 -08:00
Kurt
edd9ace51e
More pogo rules
2020-11-11 21:03:47 -08:00
Kurt
df5ebd1f54
Minor clean
...
Resolve some messages
2020-11-11 21:01:41 -08:00
Kurt
915727ed67
Add g-kanto formes
...
Probably will refactor things when shiny/ball legality is detailed
2020-11-11 13:27:08 -08:00
sora10pls
532cee11f7
Update SWSH symbol encounter binaries
...
For context, see 9059ea660d
2020-11-11 08:46:59 -05:00
Kurt
93ff841a1d
Update EncounterMovesetGenerator.cs
2020-11-10 22:17:23 -08:00
Lusamine
86096201e8
Add Route 3 -> Motostoke City crossover ( #3085 )
...
Not related to the location glitch; whistle to lead Zigzagoon.
Co-Authored-By: tehvik <40148574+tehvik@users.noreply.github.com>
2020-11-10 22:11:19 -08:00
Kurt
7654ce2123
Add initial legality checks for GO->HOME transfers
...
took me less than an hour to do these changes, and i can flag bad form movesets no problemo
Expect tightening of restrictions (ball, level, shininess) later
if someone wants to curate met date restrictions, go ahead!
2020-11-10 22:10:53 -08:00
ShadowMario3
7b2f76b621
Fix issue #3083 ( #3084 )
2020-11-07 22:48:46 -08:00
Kurt
cb24c20a44
Remove relearn suggestion logic from relearn move verification
...
Sure it's nice to cache a valid array, but the amount of logic was small enough that it can be done with 10 lines of code rather than at the end of each verification method.
Reduces parameter passing & removes 1 field from the info object, as relearn suggestions are only done rarely after legality checking.
Allows for a simpler api surface (pkm, encounter) rather than a bigger object reference
2020-11-07 12:25:15 -08:00
Kurt
227efc1fc3
Only allow checking if lvl60 when lvl<60
2020-11-05 21:17:13 -08:00
ShadyRelapse-PP
b2ec677b09
Added Bill's Eevee Gift and Route 36 Sudowoodo flags in HGSS ( #3080 )
2020-11-05 14:08:33 -08:00
CanoeHope
a569d91c5e
Add CurrentDex Block ( #3081 )
...
Block-Key was present since IoA (1.2.0) update.
2020-11-05 14:08:04 -08:00
Kurt
ae85097c2d
Allow go shiny xor!0
...
Thanks @Lusamine for bruteforce testing to confirm
2020-11-04 20:55:47 -08:00
Kurt
c5b6c20c7b
Update MarkVerifier.cs
2020-11-04 12:58:56 -08:00
Easy World
fea9455cad
Update MessageStrings_zh.txt ( #3077 )
...
Update MessageStrings_zh.txt
2020-11-04 09:06:03 -08:00
Kurt
23e765e550
Add opening for rental team dumps
...
Dunno why anyone would want these, lol
Closes #3074
2020-11-03 20:12:42 -08:00
Kurt
62073f5fd9
Update GP1.cs
2020-11-03 19:28:41 -08:00
Kurt
8b25af5f85
Enforce xor=0 for go shiny transfers
...
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
2020-11-03 18:56:58 -08:00
Kurt
d78424a3ad
Hande Ability Patch edge case
...
4 legends have A/A/H on form-0, and B/B/B on form-1. You can get a form-1 by applying the patch on the form-0, and changing it to form-1 will retain the AbilityNumber=4.
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
2020-11-03 18:48:29 -08:00
Kurt
c60ae57ab0
Handle Ranked Battle Series 7 permissions
...
Closes #3070
Exclude all classified as Legends; everything else is permitted assuming it can exist in SW/SH.
Co-Authored-By: Chris <28743231+Bappsack@users.noreply.github.com>
2020-11-02 16:38:00 -08:00
Kurt
51c872f4e1
Move more logic closer to where it's used
2020-11-02 14:46:26 -08:00
Kurt
7cb6ee0060
Move some static arrays closer to where they're used
...
Split EvolutionRestrictions to its own class
Can probably refine things further to clamp down access to these arrays
2020-11-02 13:11:51 -08:00
Kurt
b4c9e90c28
Enhance transparency in failed generator test
2020-11-02 13:03:08 -08:00
Kurt
a6b704b887
Update WC8.cs
2020-11-01 23:29:53 -08:00
Kurt
d257ad1b1a
Update MoveTutor.cs
2020-11-01 19:59:26 -08:00
Kurt
db71d689b2
Number fused slots, check backing byte[] for slot find
2020-11-01 18:40:10 -08:00
Kurt
a2fb9c48eb
Add fused calyrex block
2020-11-01 17:55:52 -08:00
Kurt
64a6214b82
no nuts here
2020-11-01 16:05:55 -08:00
Kurt
24346cc4e1
Update EncounterTrade1.cs
2020-11-01 15:58:42 -08:00
Kurt
4db6661ffd
Handle JP-Blue trade quirks + stadium2 trade bypass
...
Co-Authored-By: ShadowMario3 <36941677+ShadowMario3@users.noreply.github.com>
2020-11-01 15:27:54 -08:00
Kurt
ef7d1e2af5
Add lair start seed
...
ty zak
2020-11-01 14:40:16 -08:00
ShadowMario3
7659b57c4f
Corrected catch rates for the Haunter and Graveler trades. ( #3071 )
...
* Fix catch rate for JP Blue trade evolutions
2020-11-01 14:39:49 -08:00
Lusamine
d5e5df802e
Add Ballimere Lake -> Lakeside Cave crossover ( #3069 )
2020-10-31 22:29:08 -07:00
Kurt
b8023605ad
Update 20.10.31
2020-10-31 12:01:01 -07:00
Kurt
28767df0fb
Split gamesync details to interface
2020-10-31 11:43:57 -07:00
Kurt
15348d3fdd
Bypass crustle flag
2020-10-31 11:43:17 -07:00
Kurt
c9587c16c7
Adapt dropped/opened PKM to currently loaded savefile
...
Closes #3067
2020-10-30 22:44:08 -07:00
Kurt
c9ee07e9b9
Update form for friendsafari vivillon
...
Closes #3066
2020-10-30 22:23:13 -07:00
Kurt
b87975ed29
Merge branch 'master' of https://github.com/kwsch/PKHeX
2020-10-30 20:31:14 -07:00
Kurt
975c4f8a4a
Prevent nickname change for fateful encounter trades
...
Handle empty nickname trades for gen6+ assuming there's a nickname
2020-10-30 20:31:12 -07:00
Kurt
d7042fb19e
Inline parameter passing
...
nothing passes anything, so swsh is default
shared raids yay
2020-10-30 19:56:37 -07:00
Matt
cd42abd915
Add Split-Decision Ruins save block key ( #3065 )
2020-10-30 13:17:25 -07:00
Kurt
a33120c93e
Boo
...
Poor Gourgeist-0&2 being left out of the 60-shiny club...
Mimikyu is a repeat from the Pikachu Mass Appearance in early August.
2020-10-29 19:34:17 -07:00
Kurt
7e93bcfb61
Handle contest ribbon deadlock scenario
...
Contest Star needs all 5 ribbons; all 5 ribbons require contest star. Incrementally adding will fail on the last ribbon. Try setting both at the end.
When removing ribbons, attempt to remove the pair first, as the incremental removal will fail each time (contest star last).
#3061
2020-10-29 19:11:03 -07:00
Kurt
62d5375f67
Update EncounterStatic8U.cs
2020-10-29 08:52:38 -07:00
Matt
1b6a8d3ff6
Document Galarian Star Tournament save blocks ( #3060 )
2020-10-28 12:46:34 -07:00
Lusamine
5e92b7b5f7
Add crossover and static encounters for CT ( #3050 )
...
* Add crossover encounters for CT
* Old Cemetery -> Giant's Foot
* Add some static encounters
* Add Frostpoint Field -> Freezington crossover
2020-10-27 22:08:49 -07:00
CanoeHope
37053fb599
Add CrownDex complete to Trainer Card ( #3058 )
...
With this, all Dex markers can be displayed on your League Card as long as your save is from update 1.3.0. Expansion Pass DLC is not required.
2020-10-27 18:06:49 -07:00
Kurt
cb545781b0
Split off es5dr to separate file, require never shiny
...
Shiny check was mistakenly forgotten :)
2020-10-27 18:03:45 -07:00
Kurt
2303077ed1
Expose move source classes for api purposes
...
Not guaranteeing the method signature will be stable forever, but allows people to reference the public methods inside.
Closes #3056
2020-10-27 09:25:33 -07:00
Kurt
5b313210ed
Handle SWSH gender strings same as LGPE
...
See 6a0a6aa82a
for more context
2020-10-27 09:24:06 -07:00