diff --git a/PKHeX.Core/Saves/Storage/SlotPointerUtil.cs b/PKHeX.Core/Saves/Storage/SlotPointerUtil.cs index 69310b17b..89731e69e 100644 --- a/PKHeX.Core/Saves/Storage/SlotPointerUtil.cs +++ b/PKHeX.Core/Saves/Storage/SlotPointerUtil.cs @@ -37,7 +37,7 @@ namespace PKHeX.Core for (int i = 0; i < p.Count; i++) { var index = p[i]; - if (index >= bd.Count) + if ((uint)index >= bd.Count) continue; var pk = bd[index]; var newIndex = result.IndexOf(pk);