Add Dream World upload slot indicator

Tested & works on bw & b2w2
Thanks Brokemia for the request!
This commit is contained in:
Kurt 2021-08-16 11:54:03 -07:00
parent a926923a6b
commit c0d748a975
2 changed files with 2 additions and 0 deletions

View file

@ -91,6 +91,7 @@ namespace PKHeX.Core
{
new SlotInfoMisc(sav.Data, 0, sav.GTS) {Type = StorageSlotType.GTS},
new SlotInfoMisc(sav.Data, 0, sav.Fused) {Type = StorageSlotType.Fused},
new SlotInfoMisc(sav.Data, 0, sav.PGL) { Type = StorageSlotType.Misc },
new SlotInfoMisc(sav.Data, 0, sav.GetBattleBoxSlot(0)) {Type = StorageSlotType.BattleBox},
new SlotInfoMisc(sav.Data, 1, sav.GetBattleBoxSlot(1)) {Type = StorageSlotType.BattleBox},

View file

@ -68,6 +68,7 @@ namespace PKHeX.Core
private int AdventureInfo;
public abstract int GTS { get; }
public abstract int Fused { get; }
public int PGL => AllBlocks[35].Offset + 8; // Dream World Upload
// Daycare
public override int DaycareSeedSize => Daycare5.DaycareSeedSize;