mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 00:07:15 +00:00
Misc fixes
This commit is contained in:
parent
83a72df7cc
commit
616acc8bbd
2 changed files with 3 additions and 3 deletions
|
@ -36,8 +36,8 @@ namespace PKHeX.Core
|
|||
pk.SetRandomEC();
|
||||
return;
|
||||
}
|
||||
if (symbol)
|
||||
Overworld8RNG.ApplyDetails(pk, c, c.Shiny);
|
||||
// Don't bother honoring shiny state.
|
||||
Overworld8RNG.ApplyDetails(pk, c, Shiny.Random);
|
||||
}
|
||||
|
||||
public OverworldCorrelation8Requirement GetRequirement(PKM pk)
|
||||
|
|
|
@ -168,7 +168,7 @@ namespace PKHeX.Core
|
|||
|
||||
var gens = GenerationTraversal.GetVisitedGenerationOrder(pk, origin);
|
||||
var canlearn = gens.SelectMany(z => GetMovesForGeneration(pk, chain, z));
|
||||
if (origin == 1)
|
||||
if (origin is (1 or 2)) // gb initial moves
|
||||
{
|
||||
foreach (var evo in chain)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue