public void paintPokeFont(Graphics g , String str, int x, int y, int size)
	{
		char[] chars = str.toCharArray();
		Image[] letters = new Image[chars.length];

		for (int i = 0; i<chars.length; i++)
		{
			URL url = Pokemon.class.getResource("Sprites/PokeFont/space.png");

			if (Character.isLowerCase(chars[i]) && Character.isLetter(chars[i]))
			{
				url = Pokemon.class.getResource("Sprites/PokeFont/L" + Character.toUpperCase(chars[i]) + ".png");
			}
			else if (Character.isLetter(chars[i]))
			{
				url = Pokemon.class.getResource("Sprites/PokeFont/C" + chars[i] + ".png");
			}
			else if (Character.isDigit(chars[i]))
			{
				url = Pokemon.class.getResource("Sprites/PokeFont/" + chars[i] + ".png");
			}
			else if (chars[i] == '!')
			{
				url = Pokemon.class.getResource("Sprites/PokeFont/EX.png");
			}
			else if (chars[i] == '.')
			{
				url = Pokemon.class.getResource("Sprites/PokeFont/period.png");
			}
			letters[i] = Toolkit.getDefaultToolkit().getImage(url);

			int adder = size/2;
			g.drawImage(letters[i],x,y,size,size,this);
			x+=adder*2.5;
		}
	}