mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
allow insta-hatch eggs
pelago can drain to 0, will hatch immediately on current gen im sure there's some ways to force-walk to trip to 0 on prior gens, but this is such a minor check and has no impact for online play Thanks @Kirzi !
This commit is contained in:
parent
74dbeb5cf6
commit
61eaa7774d
1 changed files with 1 additions and 1 deletions
|
@ -1981,7 +1981,7 @@ namespace PKHeX.Core
|
||||||
var HatchCycles = (EncounterMatch as EncounterStatic)?.EggCycles;
|
var HatchCycles = (EncounterMatch as EncounterStatic)?.EggCycles;
|
||||||
if (HatchCycles == 0 || HatchCycles == null)
|
if (HatchCycles == 0 || HatchCycles == null)
|
||||||
HatchCycles = pkm.PersonalInfo.HatchCycles;
|
HatchCycles = pkm.PersonalInfo.HatchCycles;
|
||||||
if (pkm.CurrentFriendship > HatchCycles || pkm.CurrentFriendship == 0)
|
if (pkm.CurrentFriendship > HatchCycles)
|
||||||
{ AddLine(Severity.Invalid, V374, CheckIdentifier.Misc); }
|
{ AddLine(Severity.Invalid, V374, CheckIdentifier.Misc); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue