mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 17:46:51 -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:
@@ -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.
Reference in New Issue
Block a user