mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Skip setdex/modify on box sort
This commit is contained in:
parent
49e4fd396d
commit
8936c58417
1 changed files with 5 additions and 5 deletions
|
@ -762,11 +762,11 @@ namespace PKHeX.Core
|
|||
|
||||
SlotPointerUtil.UpdateRepointFrom(boxclone, BD, 0, SlotPointers);
|
||||
|
||||
// clear storage flags to ensure all data is written back
|
||||
foreach (var pk in result)
|
||||
pk.StorageFlags = StorageSlotFlag.None;
|
||||
|
||||
BoxData = boxclone;
|
||||
for (int i = 0; i < boxclone.Length; i++)
|
||||
{
|
||||
var pk = boxclone[i];
|
||||
SetBoxSlotAtIndex(pk, i, PKMImportSetting.Skip, PKMImportSetting.Skip);
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue