public static void saveGameData()
	{
		String output ="savedata/"+idString+".jokes";

		try
		{
			PrintWriter fout=new PrintWriter(new FileWriter(output));

			if(VERSION.equals("Peaches"))
				fout.println("PDAE"+idString);
			else
				fout.println("CDAE"+idString);

			//Game Vars
			fout.println(name);
			fout.println(rivalName);
			fout.println(timesBeatRival);
			fout.println(badges);
			fout.println(playTimeSecs);
			fout.println(playTimeMins-1);
			fout.println(playTimeHours);
			fout.println(location.x);
			fout.println(location.y);
			fout.println(returnPoint.x);
			fout.println(returnPoint.y);
			fout.println(returnPoint2.x);
			fout.println(returnPoint2.y);
			fout.println(area);
			fout.println(returnArea);
			fout.println(returnArea2);
			fout.close();

			saveEncryptionKey(output,encrypt(output));
			System.out.println("Base data saved.");
		}
		catch(Exception ignored){}
	}