mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Minor fixes
Replace hardcoded move int with enum val Lillipup->Rockruff personal_swsh: remove pledge bitflags (missed in CT update)
This commit is contained in:
parent
41b1aaeb19
commit
5a9e1417bf
3 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ namespace PKHeX.Core
|
|||
private static GameVersion GetIsTutor1(PKM pkm, int species, int move)
|
||||
{
|
||||
// Surf Pikachu via Stadium
|
||||
if (move != 57 || ParseSettings.AllowGBCartEra)
|
||||
if (move != (int)Move.Surf || ParseSettings.AllowGBCartEra)
|
||||
return NONE;
|
||||
if (pkm.Format < 3 && species is (int)Species.Pikachu or (int)Species.Raichu)
|
||||
return GameVersion.Stadium;
|
||||
|
|
|
@ -140,7 +140,7 @@ namespace PKHeX.Core
|
|||
}
|
||||
|
||||
// Form doesn't exist in SM; cannot originate from that game.
|
||||
case Lillipup when enc.Generation == 7 && form == 1 && pkm.SM:
|
||||
case Rockruff when enc.Generation == 7 && form == 1 && pkm.SM:
|
||||
case Lycanroc when enc.Generation == 7 && form == 2 && pkm.SM:
|
||||
return GetInvalid(LFormInvalidGame);
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue