mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-25 08:10:48 -05:00
Update Vivillon3DS.cs
This commit is contained in:
parent
827b7455c0
commit
7b07334a5a
|
|
@ -43,7 +43,7 @@ public static class Vivillon3DS
|
|||
/// </summary>
|
||||
public static bool IsPatternValid(in byte form, in byte consoleRegion)
|
||||
{
|
||||
if (form > VivillonRegionTable.Length)
|
||||
if (form >= VivillonRegionTable.Length)
|
||||
return false;
|
||||
var permit = GetConsoleRegionFlag(consoleRegion);
|
||||
return VivillonRegionTable[form].HasFlag(permit);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user