public void drawPauseMenu(Graphics g)
	{
		g.setColor(new Color(0,0,0,200));
		g.fillRect(0,0,getWidth(),getHeight());

		g.setColor(Color.WHITE);
		for(int i=0; i<pauseMenu.length; i++)
		{
			int strHeight=24;
			if(i==pauseMenuInt)
				strHeight=36;
			g.setFont(new Font("Sanserif",Font.BOLD,strHeight));
			g.drawString(pauseMenu[i],(i*800)/5,50);
		}

		switch(pauseMenuInt)
		{
			case 0:
				g.setFont(new Font("Sanserif",Font.BOLD,18));
				g.setColor(Color.WHITE);

				g.drawImage(icon,30,85,16,16,this);

				try
				{
					for(int i=0; i<23; i++)
					{
						if(Pokedex.seen[pokedexInt-1+i])
						g.drawString(""+(pokedexInt+i)+": "+Pokedex.getSpecies(pokedexInt+i),50,20*i+100);
						else
						g.drawString(""+(pokedexInt+i)+": "+"????????",50,20*i+100);
					}
				}
				catch(Exception ignored){}

				if(Pokedex.caught[pokedexInt-1])
				{
					int width = Pokedex.pokedexImg[pokedexInt-1].getWidth(this)*3;
					int height = Pokedex.pokedexImg[pokedexInt-1].getHeight(this)*3;
					g.drawImage(Pokedex.pokedexImg[pokedexInt-1],425-(width/2),275-(height/2),width,height,this);
					g.drawString(""+Pokedex.getSpecies(pokedexInt),600,100);
					g.drawString("Height: "+Pokedex.height[pokedexInt-1],600,130);
					g.drawString("Weight: "+Pokedex.weight[pokedexInt-1],600,150);
					g.drawString("Location ",620,180);
					String[] str=Pokedex.getAreas(pokedexInt-1);
					for(int i=0; i<str.length; i++)
					{
						g.drawString(str[i],600,i*20+200);
					}
					
					g.setFont(new Font("Sanserif",Font.BOLD,10));
					g.drawString(Pokedex.descriptions[pokedexInt-1],220,400);
				}
				else if(Pokedex.seen[pokedexInt-1])
				{
					int width = Pokedex.pokedexImg[pokedexInt-1].getWidth(this)*3;
					int height = Pokedex.pokedexImg[pokedexInt-1].getHeight(this)*3;
					g.drawImage(Pokedex.pokedexImg[pokedexInt-1],425-(width/2),275-(height/2),width,height,this);
					g.drawString(""+Pokedex.getSpecies(pokedexInt),600,100);
					g.drawString("Height: ???",600,130);
					g.drawString("Weight: ???",600,150);
					g.drawString("Location ",620,180);
					String[] str=Pokedex.getAreas(pokedexInt-1);
					for(int i=0; i<str.length; i++)
					{
						g.drawString(str[i],600,i*20+200);
					}
				}
				g.setFont(new Font("Sanserif",Font.BOLD,18));
				g.drawString("Total Seen: "+Pokedex.totalSeen,600,480);
				g.drawString("Total Caught: "+Pokedex.totalCaught,600,500);
				break;
			case 1:
		    	int Yzer = 70;
		    	for (int i = 0; i < 6 && partyPokemon[i] != null; i++)
				{
					g.drawImage(playerImages[i],100,Yzer+20-playerImages[i].getHeight(this)/2,this);
					g.setColor(Color.WHITE);
					g.setFont(new Font("Sanserif",Font.BOLD,18));
					g.drawString(partyPokemon[i].nickname+" ("+partyPokemon[i].getTypeString()+")",175,i*75+75);
					g.drawString("Lvl. "+partyPokemon[i].level,175,i*75+95);
					Yzer+=75;
				}
				g.drawImage(icon,35,pokemonMenuInt*75+70,32,32,this);

				if(togglingPokemon)
					g.drawImage(icon,45,toggleIndexToSwitch*75+75,16,16,this);

				g.setColor(Color.WHITE);
				g.drawString("Species: "+partyPokemon[pokemonMenuInt].species,500,100);
				g.drawString("Nickname: "+partyPokemon[pokemonMenuInt].nickname,500,120);
				g.drawString("Original Trainer: "+partyPokemon[pokemonMenuInt].originalTrainer,500,140);
				g.drawString("Status: "+partyPokemon[pokemonMenuInt].status,500,160);
				g.drawString("HP: "+partyPokemon[pokemonMenuInt].health+"/"+partyPokemon[pokemonMenuInt].healthMax,500,200);
				g.drawString("ATK: "+partyPokemon[pokemonMenuInt].atk,500,220);
				g.drawString("DEF: "+partyPokemon[pokemonMenuInt].def,500,240);
				g.drawString("SPCL: "+partyPokemon[pokemonMenuInt].spcl,500,260);
				g.drawString("SPEED: "+partyPokemon[pokemonMenuInt].speed,500,280);

				String str=""+partyPokemon[pokemonMenuInt].move[0];
				str=str.replace("_"," ");
				g.drawString("Move 1: "+str+" "+partyPokemon[pokemonMenuInt].TRUE_PP[0]+"/"+
					partyPokemon[pokemonMenuInt].TRUE_PPMAX[0],500,320);

				if(partyPokemon[pokemonMenuInt].move[1]!=Pokemon.Move.NONE)
				{
					str=""+partyPokemon[pokemonMenuInt].move[1];
					str=str.replace("_"," ");
					g.drawString("Move 2: "+str+" "+partyPokemon[pokemonMenuInt].TRUE_PP[1]+"/"+
						partyPokemon[pokemonMenuInt].TRUE_PPMAX[1],500,340);
				}

				if(partyPokemon[pokemonMenuInt].move[2]!=Pokemon.Move.NONE)
				{
					str=""+partyPokemon[pokemonMenuInt].move[2];
					str=str.replace("_"," ");
					g.drawString("Move 3: "+str+" "+partyPokemon[pokemonMenuInt].TRUE_PP[2]+"/"+
						partyPokemon[pokemonMenuInt].TRUE_PPMAX[2],500,360);
				}

				if(partyPokemon[pokemonMenuInt].move[3]!=Pokemon.Move.NONE)
				{
					str=""+partyPokemon[pokemonMenuInt].move[3];
					str=str.replace("_"," ");
					g.drawString("Move 4: "+str+" "+partyPokemon[pokemonMenuInt].TRUE_PP[3]+"/"+
						partyPokemon[pokemonMenuInt].TRUE_PPMAX[3],500,380);
				}
				g.drawString("Exp: "+partyPokemon[pokemonMenuInt].exp,500,420);
				int lev=partyPokemon[pokemonMenuInt].level;
				g.drawString("To Next: "+(lev*lev*lev-partyPokemon[pokemonMenuInt].exp),500,440);
				break;
			case 2:
				g.setFont(new Font("Sanserif",Font.BOLD,36));
				g.setColor(Color.WHITE);
				g.drawImage(icon,220,220,32,32,this);
				g.drawString("Activate Item Menu",275,250);

				//Hotkeys
				g.setFont(new Font("Sanserif",Font.BOLD,18));
				g.setColor(Color.WHITE);
				g.drawString("Hotkeys (Press on map to activate when able)",280,300);
				g.drawString("'B'- Use Bicycle",300,320);
				g.drawString("'F'- Use Fly",300,340);
				g.drawString("Spacebar- Use Strength, Fish",300,360);
				g.drawString("Arrow Keys- Use Surf (near water)",300,380);
				g.drawString("'M'- Use Town Map",300,400);
				break;
			case 3:
				g.setColor(Color.WHITE);
				g.setFont(new Font("Sanserif",Font.BOLD,24));
				g.drawString("Trainer ID: "+idString,100,150);
				g.drawString("Money: "+Inventory.money,100,180);
				g.drawString("Current Objective:",100,360);
				g.drawString(currentObjective,100,400);
				drawBadges(g);
				break;
			case 4:
				g.setFont(new Font("Sanserif",Font.BOLD,24));
				g.setColor(Color.WHITE);
				g.drawString("Would you like to save your progress?",150,100);
				g.drawImage(icon,220,150,32,32,this);
				g.drawString("Yes!",275,180);
				g.drawString(name,450,250);
				g.drawString("Time: "+timeString,450,275);
				g.drawString("Money: "+Inventory.money,450,300);
				if(recentlySaved)
					g.drawString("Saved!",275,350);
				break;
		}
	}