public void save() throws IOException{
		fw = new FileWriter(pf);
		fw.write(Engine.mb.MOBS[0].Name+"\r\n");
		fw.write(Engine.mb.MOBS[0].finalx/def.Frame.SCALE+" "+Engine.mb.MOBS[0].finaly/def.Frame.SCALE+"\r\n");
		fw.write(Engine.mb.MOBS[0].ID+"\r\n");
		fw.write(Engine.mb.MOBS[0].Layer+" "+Engine.mb.MOBS[0].map+"\r\n");
		for(int h=0;h<Engine.mb.MOBS[0].inv.ItemH;h++){
			for(int w=0;w<Engine.mb.MOBS[0].inv.ItemW;w++){
				fw.write(Engine.mb.MOBS[0].inv.ITEMS[h][w].ID+" ");
			}
			fw.write("\r\n");
		}
		
		fw.flush();
		fw.close();
	}