private int getStatIndex(String stat)
	{
		switch(stat.toLowerCase())
		{
		case "atk":
			return 0;
		case "def":
			return 1;
		case "satk":
		case "spa":
			return 2;
		case "sdef":
		case "spd":
			return 3;
		case "spe":
			return 4;
		case "evasion":
			return 5;
		case "accuracy":
			return 6;

		}
		return 0;
	}