public static void createImages()
    {
    	String pokemonType;
    	char a;
    	URL url;

    	for (int i = 0; i < pokedexImg.length; i++)
    	{
			pokemonType = getSpecies(i+1).toString();
			if(pokemonType.equalsIgnoreCase("Mr_Mime"))
				pokemonType="Mr_Mime";
			else if(pokemonType.equalsIgnoreCase("Nidoran_M"))
				pokemonType="Nidoran_M";
			else if(pokemonType.equalsIgnoreCase("Nidoran_F"))
				pokemonType="Nidoran_F";
			else
			{
				pokemonType = pokemonType.toLowerCase();
			    pokemonType = pokemonType.replace("_"," ");
			    a = pokemonType.charAt(0);
			    a = Character.toUpperCase(a);
			    pokemonType = a + pokemonType.substring(1,pokemonType.length());
			}
		    
		    url = Pokemon.class.getResource("Sprites/pokemon/Right/" + pokemonType + ".png");
		    pokedexImg[i] = Toolkit.getDefaultToolkit().createImage(url);
    	}
    }