public void setEV(String str, int ev)
	{
		if(str.equals("HP"))
			HP_EV=ev;
		else if(str.equals("ATK"))
			ATK_EV=ev;
		else if(str.equals("DEF"))
			DEF_EV=ev;
		else if(str.equals("SPCL"))
			SPCL_EV=ev;
		else if(str.equals("SPEED"))
			SPEED_EV=ev;

		if(HP_EV>256*256)
			HP_EV=256*256;
		if(ATK_EV>256*256)
			ATK_EV=256*256;
		if(DEF_EV>256*256)
			DEF_EV=256*256;
		if(SPCL_EV>256*256)
			SPCL_EV=256*256;
		if(SPEED_EV>256*256)
			SPEED_EV=256*256;

		healthMax=Mechanics.calcHPStat(baseHP,HP_IV, HP_EV,level);
		health=healthMax;

		atk=Mechanics.calcOtherStat(baseATK,ATK_IV,ATK_EV,level);
		def=Mechanics.calcOtherStat(baseDEF,DEF_IV, DEF_EV,level);
		spcl=Mechanics.calcOtherStat(baseSPCL,SPCL_IV,SPCL_EV,level);
		speed=Mechanics.calcOtherStat(baseSPEED,SPEED_IV,SPEED_EV,level);
	}