Target type'd new for pkhex exports

This commit is contained in:
Kurt 2020-12-27 11:48:43 -08:00
parent b9e2ff627d
commit fec96c3ef6
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ string Summary(NestHoleCrystalEncounter8 e, uint x)
var altform = e.AltForm == 0 ? string.Empty : $", Form = {e.AltForm}";
var giga = !e.IsGigantamax ? string.Empty : ", CanGigantamax = true";
return $" new EncounterStatic8NC {{ {spec}{lvl}{abil}{loc}{ivs}{dyna}{moves}{altform}{giga} }}, // {comment}";
return $" new() {{ {spec}{lvl}{abil}{loc}{ivs}{dyna}{moves}{altform}{giga} }}, // {comment}";
}
}

View File

@ -148,7 +148,7 @@ string Summary(NestHoleDistributionEncounter8 e)
throw new Exception();
}
var flawless = e.FlawlessIVs;
return $" new EncounterStatic8ND({e.Level:00},{e.DynamaxLevel:00},{flawless}) {{ Species = {e.Species:000}, Ability = {ability}{moves}{gender}{altform}{giga}{shiny} }},{comment}";
return $" new({e.Level:00},{e.DynamaxLevel:00},{flawless}) {{ Species = {e.Species:000}, Ability = {ability}{moves}{gender}{altform}{giga}{shiny} }},{comment}";
}
}