mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
Add evo data for alolan raichu / weezing
Ban the evolution methods since they can't be triggered in-game allows the gen8 evo tree to reverse evolve past gen specimens
This commit is contained in:
parent
ee38e6890b
commit
0e2734d2d5
|
|
@ -176,9 +176,11 @@ private void FixEvoTreeSS()
|
|||
{
|
||||
// Gigantamax Pikachu, Meowth-0, and Eevee are prevented from evolving.
|
||||
BanEvo((int)Species.Raichu, 0, pkm => pkm is IGigantamax g && g.CanGigantamax);
|
||||
BanEvo((int)Species.Raichu, 1, pkm => pkm is IGigantamax g && g.CanGigantamax);
|
||||
BanEvo((int)Species.Raichu, 1, pkm => pkm is IGigantamax g && g.CanGigantamax || pkm.Gen8);
|
||||
BanEvo((int)Species.Persian, 0, pkm => pkm is IGigantamax g && g.CanGigantamax);
|
||||
|
||||
BanEvo((int)Species.Weezing, 0, pkm => pkm.Gen8);
|
||||
|
||||
foreach (var s in GetEvolutions((int)Species.Eevee, 0)) // Eeveelutions
|
||||
BanEvo(s, 0, pkm => pkm is IGigantamax g && g.CanGigantamax);
|
||||
}
|
||||
|
|
@ -312,7 +314,7 @@ private List<EvoCriteria> GetExplicitLineage(PKM pkm, int maxLevel, bool skipChe
|
|||
bool oneValid = false;
|
||||
foreach (var link in node)
|
||||
{
|
||||
if (link.IsEvolutionBanned(pkm))
|
||||
if (link.IsEvolutionBanned(pkm) && !skipChecks)
|
||||
continue;
|
||||
|
||||
var evo = link.Method;
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue
Block a user