Remove evo tree sanitization

Evo data doesn't provide evolution values for these, fortunately.
This commit is contained in:
Kurt 2018-11-18 15:25:03 -08:00
parent a1cc1a95c2
commit b818aff48a
2 changed files with 0 additions and 18 deletions

View file

@ -38,7 +38,6 @@ namespace PKHeX.Core
// There's always oddballs.
Evolves7.FixEvoTreeSM();
Evolves7b.FixEvoTreeGG();
}
internal static EvolutionTree GetEvolutionTree(int generation)
@ -194,22 +193,6 @@ namespace PKHeX.Core
.Banlist = EvolutionMethod.BanSM;
}
private void FixEvoTreeGG()
{
// Ban Raichu Evolution on SM
Lineage[Personal.GetFormeIndex(26, 0)]
.Chain[1].StageEntryMethods[0]
.Banlist = EvolutionMethod.BanGG;
// Ban Exeggutor Evolution on SM
Lineage[Personal.GetFormeIndex(103, 0)]
.Chain[0].StageEntryMethods[0]
.Banlist = EvolutionMethod.BanGG;
// Ban Marowak Evolution on SM
Lineage[Personal.GetFormeIndex(105, 0)]
.Chain[0].StageEntryMethods[0]
.Banlist = EvolutionMethod.BanGG;
}
private int GetIndex(PKM pkm)
{
if (pkm.Format < 7)

View file

@ -68,7 +68,6 @@ namespace PKHeX.Core
public string FileName => $"{ShinyString}{Nickname} lv{Level} - {IV1:00}.{IV2:00}.{IV3:00}, Move1 {Move1}, Move2 {Move2}.gp1";
public string FormString => AltForm != 0 ? $"-{AltForm}" : string.Empty;
public string Dump(IReadOnlyList<string> speciesNames, int index) => $"{index:000} {Nickname} ({speciesNames[Species]}{FormString} {ShinyString}[{GenderString}]) @ lv{Level} - {IV1:00}/{IV2:00}/{IV3:00}, Move1 {Move1}, Move2 {Move2}, Captured in {GeoCityName} by {Username1}.";
}
}