mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 18:48:31 -05:00
Update Vivillon3DS.cs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user