public void useSurf()
	{
		surfing=true;

		messageBox=new ErrorWindow();
		messageBox.addMessage("You ride on your Pokemon!","Hidden Move: Surf");
		messageBox.repaint();
		while(messageBox.isVisible())
		{
			try
			{
				repaint();
				Thread.sleep(10);
			}
			catch(Exception ignored){}
		}

		bgm.stop();
		bikeSong.stop();
		bicycling=false;
		surfSong.loop();

		jf.toFront();
		moving=false;
		performingAction=false;
	}