public static void stopMusic()
	{
		if(BATTLE_TYPE.equals("WILD"))
		{
			if(!Mechanics.isLegendary(enemy[0]))
			wildMusic.stop();
			else
			fatefulMusic.stop();
		}
	    else if(BATTLE_TYPE.equals("TRAINER"))
	    {
	    	if(b1.trainer.type==Trainer.TrainerType.JAVA)
	    		javaMusic.stop();
	    	else
	    		trainerMusic.stop();
	    }
	    else if(BATTLE_TYPE.equals("SUPER"))
	    {
	    	eliteMusic.stop();
	    }
	    else if(BATTLE_TYPE.equals("GYM"))
	    gymMusic.stop();
	    else if(BATTLE_TYPE.equals("RIVAL"))
    	rivalMusic.stop();
	}