public void receiveItem(String person)
	{
		Item prize=new Item(Item.Type.MOUNTAIN_DEW,1);

		if(!gotItem[0]&&person.equals("Jenny"))
		{
			prize=new Item(Item.Type.TM,1,2);
			gotItem[0]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[1]&&person.equals("Jimmy"))
		{
			prize=new Item(Item.Type.TM,1,22);
			gotItem[1]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[2]&&person.equals("Jace"))
		{
			prize=new Item(Item.Type.TM,1,24);
			gotItem[2]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[3]&&person.equals("Jin"))
		{
			prize=new Item(Item.Type.TM,1,17);
			gotItem[3]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[4]&&person.equals("Jordan"))
		{
			prize=new Item(Item.Type.TM,1,15);
			gotItem[4]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[5]&&person.equals("Joy"))
		{
			prize=new Item(Item.Type.TM,1,13);
			gotItem[5]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[6]&&person.equals("James"))
		{
			prize=new Item(Item.Type.TM,1,29);
			gotItem[6]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!gotItem[7]&&person.equals("Jessica"))
		{
			prize=new Item(Item.Type.TM,1,6);
			gotItem[7]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}

		if(!Inventory.hasItem(new Item(Item.Type.HM,1,1))&&person.equals("Cutter"))
		{
			prize=new Item(Item.Type.HM,1,1);
			gotItem[8]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.HM,1,2))&&person.equals("Flyer"))
		{
			prize=new Item(Item.Type.HM,1,2);
			gotItem[9]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.HM,1,3))&&person.equals("Surfer"))
		{
			prize=new Item(Item.Type.HM,1,3);
			gotItem[9]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.HM,1,4))&&person.equals("Brutus"))
		{
			prize=new Item(Item.Type.HM,1,4);
			gotItem[9]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.GOOD_ROD,1))&&person.equals("Roderick Jr."))
		{
			prize=new Item(Item.Type.GOOD_ROD,1);
			gotItem[9]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.OLD_ROD,1))&&person.equals("Roderick III"))
		{
			prize=new Item(Item.Type.OLD_ROD,1);
			gotItem[9]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(badges>=3&&!Inventory.hasItem(new Item(Item.Type.BICYCLE,1))&&person.equals("Bike Enthusiast"))
		{
			prize=new Item(Item.Type.BICYCLE,1);
			gotItem[9]=true;

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.HM,1,5))&&person.equalsIgnoreCase("Mr. Flashy"))
		{
			prize=new Item(Item.Type.HM,1,5);

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}
		if(!Inventory.hasItem(new Item(Item.Type.MASTER_BALL,1))&&person.equalsIgnoreCase("BOSS"))
		{
			prize=new Item(Item.Type.MASTER_BALL,1);

			if(prize.type==Item.Type.HM||prize.type==Item.Type.TM)
			messageBox.addMessage("You got "+prize.type+" "+prize.mNo+"!","Received Item!");
			else if(prize.startsWithVowel())
			messageBox.addMessage("You got an "+prize.type+"!","Received Item!");
			else
			messageBox.addMessage("You got a "+prize.type+"!","Received Item!");

			messageBox.repaint();
			Inventory.addItem(prize);
			while(messageBox.isVisible())
			{
				try
				{
					repaint();
					Thread.sleep(10);
				}
				catch(Exception ignored){}
			}
		}

		jf.toFront();
	}