node.setAttribute("avatar", _avatar);
}
node.addChild(location.toXml());
node.addChild(_bag.toXml());
node.addChild(_record.toXml());
node.addChild(_pokedex.toXml());
node.addChild(_storage.toXml());
XmlNode friends = new XmlNode("friends");
if (_friends.get("friends") != null) {