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:
parent
3b697a5da1
commit
2bdee8c87d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue