mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
parent
5ddd59c9aa
commit
475dc02101
1 changed files with 5 additions and 0 deletions
|
@ -377,6 +377,11 @@ namespace PKHeX.Core
|
|||
var entry = (PersonalInfoSWSH)table.GetFormeEntry(pkm.Species, pkm.AltForm);
|
||||
var baseSpecies = entry.BaseSpecies;
|
||||
var baseForm = entry.FormIndex;
|
||||
|
||||
// since we aren't storing entry->seed_poke_index, there's oddballs we can't handle with just personal data (?)
|
||||
if (pkm.Species == (int) Species.Indeedee)
|
||||
baseForm = pkm.AltForm;
|
||||
|
||||
var egg = MoveEgg.GetEggMoves(pkm, baseSpecies, baseForm, GameVersion.SW);
|
||||
return egg.Contains(move);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue