mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
parent
8a0e7d90e0
commit
b71df7b064
2 changed files with 6 additions and 2 deletions
|
@ -180,6 +180,10 @@ namespace PKHeX.Core
|
|||
{
|
||||
if (pkm.Species == (int)Species.Smeargle)
|
||||
return !InvalidSketch.Contains(move);
|
||||
|
||||
if (generation >= 8 && MoveEgg.GetIsSharedEggMove(pkm, generation, move))
|
||||
return true;
|
||||
|
||||
return MoveList.GetValidMoves(pkm, version, evos, generation, LVL: true, Relearn: true, Tutor: true, Machine: true).Contains(move);
|
||||
}
|
||||
|
||||
|
|
|
@ -56,9 +56,9 @@ namespace PKHeX.Core
|
|||
|
||||
// Move
|
||||
// {0} studied about how to use {2} in a Box, thinking about {1}. {4} that {3}.
|
||||
case 80 when memory.Variable == 0 || !Legal.GetCanKnowMove(pkm, gen, memory.Variable, info.EvoChainsAllGens[gen]):
|
||||
case 80 when memory.Variable == 0 || !Legal.GetCanKnowMove(pkm, memory.Variable, gen, info.EvoChainsAllGens[gen]):
|
||||
// {0} practiced its cool pose for the move {2} in a Box, wishing to be praised by {1}. {4} that {3}.
|
||||
case 81 when memory.Variable == 0 || !Legal.GetCanKnowMove(pkm, gen, memory.Variable, info.EvoChainsAllGens[gen]):
|
||||
case 81 when memory.Variable == 0 || !Legal.GetCanKnowMove(pkm, memory.Variable, gen, info.EvoChainsAllGens[gen]):
|
||||
return GetInvalid(string.Format(LMemoryArgBadMove, memory.Handler));
|
||||
|
||||
// Species
|
||||
|
|
Loading…
Reference in a new issue