mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-20 08:55:06 -05:00
Permit Unknown Dungeon/Secret Base hatch locations
This commit is contained in:
@@ -7,7 +7,7 @@ public static bool IsValidMet6XY(int location)
|
||||
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 bool IsValidMet6AO(int location)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user