mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 13:58:33 +00:00
Block loadBoxes from locked slots
missed one!
This commit is contained in:
parent
424ad65d4f
commit
2261a46670
1 changed files with 4 additions and 0 deletions
|
@ -3889,6 +3889,10 @@ namespace PKHeX
|
|||
{
|
||||
if (verifyPKMtoSAV(pk).Length > 0)
|
||||
continue;
|
||||
|
||||
while (SAV.getIsSlotLocked(ctr/SAV.BoxSlotCount, ctr%SAV.BoxSlotCount))
|
||||
ctr++;
|
||||
|
||||
SAV.setStoredSlot(pk, SAV.getBoxOffset(ctr/SAV.BoxSlotCount) + ctr%SAV.BoxSlotCount * SAV.SIZE_STORED, noSetb);
|
||||
if (pk.Format != temp.Format) // Transferred
|
||||
pastctr++;
|
||||
|
|
Loading…
Add table
Reference in a new issue