public static void checkEvolutions()
	{
		for(int i=0; i<userNumOfPokemon; i++)
		{
			if(user[i].status!=Pokemon.Status.FNT&&Mechanics.participatedInBattle[i]&&(user[i].evolve(user[i])!=user[i].species||user[i].evolve(user[i],JokemonDriver.trainerIdNumber)!=user[i].species))
			{
				ynWin=new YesNoWindow();
				ynWin.addMessage("What? "+user[i].nickname+" is evolving!","Allow Evolution?");
				while(ynWin.isVisible())
				{
					System.out.println("Wating for evolution decision...");
					try
					{
						Thread.sleep(1000);
					}
					catch(Exception e)
					{
						e.printStackTrace();
					}
					
				}
				if(ynWin.getYes())
				{
					b1.addText(user[i].nickname+" evolved into ");
					if(user[i].evolve(user[i])!=user[i].species)
					{
						System.out.println(user[i].evolve(user[i]));
						user[i]=user[i].evolution(user[i],user[i].evolve(user[i]));
						user[i].move = Mechanics.levelUpMove(user[i],true);
						b1.addText(user[i].toString(user[i].species)+"!");
					}
					else
					{
						System.out.println(user[i].evolve(user[i],JokemonDriver.trainerIdNumber));
						user[i]=user[i].evolution(user[i],user[i].evolve(user[i],JokemonDriver.trainerIdNumber));
						user[i].move = Mechanics.levelUpMove(user[i],true);
						b1.addText(user[i].toString(user[i].species)+"!");
					}
					b1.createPokemonImages();
					Pokedex.caught(user[i].pokedexNumber-1);
					Pokedex.seen(user[i].pokedexNumber-1);
				}
				else
				{
					b1.addText("You cancelled the evolution...");
				}
			}
		}
	}