mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 06:38:54 -05: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:
@@ -1981,7 +1981,7 @@ private void verifyMisc()
|
||||
var HatchCycles = (EncounterMatch as EncounterStatic)?.EggCycles;
|
||||
if (HatchCycles == 0 || HatchCycles == null)
|
||||
HatchCycles = pkm.PersonalInfo.HatchCycles;
|
||||
if (pkm.CurrentFriendship > HatchCycles || pkm.CurrentFriendship == 0)
|
||||
if (pkm.CurrentFriendship > HatchCycles)
|
||||
{ AddLine(Severity.Invalid, V374, CheckIdentifier.Misc); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user