diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index c32d81cdd..8ce6ecc74 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -4121,7 +4121,12 @@ private void pbBoxSlot_MouseMove(object sender, MouseEventArgs e) pb.BackgroundImage = null; if (DragInfo.SameBox && DragInfo.DestinationValid) - SlotPictureBoxes[DragInfo.slotDestinationSlotNumber].Image = img; + { + if (SAV.getIsTeamSet(box, DragInfo.slotDestinationSlotNumber) ^ SAV.getIsTeamSet(box, DragInfo.slotSourceSlotNumber)) + getQuickFiller(SlotPictureBoxes[DragInfo.slotDestinationSlotNumber], SAV.getStoredSlot(DragInfo.slotDestinationOffset)); + else + SlotPictureBoxes[DragInfo.slotDestinationSlotNumber].Image = img; + } if (result == DragDropEffects.Copy) // viewed in tabs, apply 'view' highlight getSlotColor(DragInfo.slotSourceSlotNumber, Resources.slotView); diff --git a/PKHeX.WinForms/Subforms/Save Editors/SAV_BoxViewer.cs b/PKHeX.WinForms/Subforms/Save Editors/SAV_BoxViewer.cs index e8549ffa1..f161b6847 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/SAV_BoxViewer.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/SAV_BoxViewer.cs @@ -203,7 +203,12 @@ private void pbBoxSlot_MouseMove(object sender, MouseEventArgs e) pb.BackgroundImage = null; if (DragInfo.SameBox && DragInfo.DestinationValid) - SlotPictureBoxes[DragInfo.slotDestinationSlotNumber].Image = img; + { + if (SAV.getIsTeamSet(box, DragInfo.slotDestinationSlotNumber) ^ SAV.getIsTeamSet(box, DragInfo.slotSourceSlotNumber)) + getQuickFiller(SlotPictureBoxes[DragInfo.slotDestinationSlotNumber], SAV.getStoredSlot(DragInfo.slotDestinationOffset)); + else + SlotPictureBoxes[DragInfo.slotDestinationSlotNumber].Image = img; + } } catch (Exception x) {