public void WriteActiveSlot(int box, int slot) { var pkm = Editor.PreparePKM(); var data = pkm.EncryptedPartyData; Bot.SendSlot(data, box, slot); }
public void WriteActiveSlot(int box, int slot) { var pkm = Editor.PreparePKM(); pkm.ResetPartyStats(); var data = RamOffsets.WriteBoxData(Bot.Version) ? pkm.EncryptedBoxData : pkm.EncryptedPartyData; Bot.SendSlot(data, box, slot); }