private void WriteSave(string saveFileName) { _sav.PCStorageSystem.Boxes.SelectMany(box => box.Pokemon).ToList().ForEach(pokemon => pokemon.Encrypt()); StructUtils.WriteObject(_sav, saveFileName); }