public static void save()
	{
		System.out.println("Beginning file write...");
		if(!file.isDirectory())
		{
			file.mkdir();
			System.out.println("No save file found, constructing new savefile");
			pauseMenu[3]=name;
		}
		else
			System.out.println("Overwriting current savedata");
		saveTrainerID();
		saveGameData();
		savePokemon();
		saveObjectives();
		saveHouseInt();
		Inventory.save();
		Pokedex.saveFile();
		System.out.println("All data written to proper files.");
		System.out.println();
		recentlySaved=true;
	}