2
0
Fork 0
mirror of https://github.com/kwsch/PKHeX synced 2025-03-07 08:47:21 +00:00

Permit Unknown Dungeon/Secret Base hatch locations

This commit is contained in:
sora10pls 2023-05-14 15:16:31 -04:00
parent 3b697a5da1
commit 2bdee8c87d

View file

@ -7,7 +7,7 @@ public static class EggHatchLocation6
const int min = 6;
const int max = 168;
var delta = location - min;
if ((uint)delta >= max - min)
if ((uint)delta > max - min)
return false;
if (location % 2 != 0)
@ -20,7 +20,7 @@ public static class EggHatchLocation6
const int min = 170;
const int max = 354;
var delta = location - min;
if ((uint)delta >= max - min)
if ((uint)delta > max - min)
return false;
if (location % 2 != 0)