mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-10 22:00:16 -05:00
Fix Daycare slot display
was redirecting to party; party was removed all that remains in the slot list the SAVEditor manages is the two daycare slots. Maybe it'll be better to have a popup form in the future, that way multiple daycares can be shown as appropriate. Closes #2433
This commit is contained in:
parent
3e4127b9e1
commit
f836a3dddb
|
|
@ -69,10 +69,8 @@ public SAVEditor()
|
|||
L_SlotOccupied = new[] { L_DC1, L_DC2 };
|
||||
TB_SlotEXP = new[] { TB_Daycare1XP, TB_Daycare2XP };
|
||||
L_SlotEXP = new[] { L_XP1, L_XP2 };
|
||||
SlotPictureBoxes = new[]
|
||||
{
|
||||
dcpkx1, dcpkx2
|
||||
};
|
||||
SlotPictureBoxes = new[] { dcpkx1, dcpkx2 };
|
||||
|
||||
Tab_Box.ContextMenuStrip = SortMenu = new BoxMenuStrip(this);
|
||||
M = new SlotChangeManager(this) {Env = EditEnv};
|
||||
Box.Setup(M);
|
||||
|
|
@ -204,9 +202,6 @@ public ISlotInfo GetSlotData(PictureBox view)
|
|||
|
||||
public ISlotInfo GetSlotData(int index)
|
||||
{
|
||||
if (index < 6)
|
||||
return new SlotInfoParty(index);
|
||||
|
||||
var ofs = GetSlotOffset(index);
|
||||
return new SlotInfoMisc(SAV, index, ofs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user