public static void setup(Menus menu){
		
		RiftFrame.menuControl = false;
		
		if(menu.dialog == false){
			RiftFrame.menuControl = true;
			for(int a=0;a<menu.options[0];a++){
				
				temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshes the variable so it does rewrite previous image
				textTemp = new TextPoint("",0,0,new Color(255,255,255));
				
				temp.x = -16;
				temp.y = (360 - (menu.options[0] * 30)) + (a* 80); //finds mid and range than spaces it from middle
				temp.img = ImageLibrary.selection;
				
				textTemp.x = 10;
				textTemp.y = temp.y + 40; //line it up with the image 
				textTemp.text = menu.text[0][a]; //gets the text for the 
				
				RiftGraphics.drawText.add(textTemp);
				RiftFrame.imgs.add(temp);
			}
			
			temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshing again
			
			temp.x = -32;
			temp.y = (360-(menu.options[0]*30)) + (selectPos* 80); //*23 is strange dont think it will always line up
			temp.img = ImageLibrary.selected;
			RiftFrame.imgs.set(((RiftFrame.imgs.size())  - menu.options[0]) + selectPos, temp); //draws the image twice once at 3, and selected one
				
		}else{
			if(menu.time[dialogNum] ==0){
				
				RiftFrame.menuControl = true;
				
				for(int b=0;b<menu.options[dialogNum];b++){
						
					temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshes the variable so it does rewrite previous image
					textTemp = new TextPoint("",0,0,new Color(210,210,210));
					
					temp.x = 358;
					temp.y = (570 - (menu.options[dialogNum]* 40)) + (b*40);
					temp.img = ImageLibrary.gSelection;
						
					textTemp.x = 410;
					textTemp.y = (temp.y + 20);
					textTemp.text = menu.text[dialogNum][b];
					
					RiftGraphics.drawText.add(textTemp);	
					RiftFrame.imgs.add(temp);	
						
				}

				temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshing again
				if(menu.options[dialogNum] != 0 ){
					temp.x = 374;
					temp.y = (570 - (menu.options[dialogNum]* 40)) + (selectPos*40);
					temp.img = ImageLibrary.gSelected;
					RiftFrame.imgs.set(((RiftFrame.imgs.size())  - menu.options[dialogNum]) + selectPos, temp);
				}
			}else{
				
				RiftFrame.startTime = true;
				
				temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshes the variable so it does rewrite previous image
				textTemp = new TextPoint("",0,0,new Color(200,200,200));
				
				temp.x = 4;
				temp.y = 570;
				temp.img = ImageLibrary.textDisplay;
				
				textTemp.x = 14;
				textTemp.y = 595;
				textTemp.text = menu.text[dialogNum][0];
				
				RiftFrame.imgs.add(temp);
				
				RiftGraphics.drawText.add(textTemp);	
				
				if(RiftFrame.time > menu.time[dialogNum]){
					
					RiftFrame.time = menu.time[dialogNum] + 1;
					
					RiftFrame.menuControl = true;
					
					for(int b=0;b<menu.options[dialogNum];b++){	
						
						temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshes the variable so it does rewrite previous image
						textTemp = new TextPoint("",0,0,new Color(210,210,210));
						
						temp.x = 358;
						temp.y = (570 - (menu.options[dialogNum]* 40)) + (b*40);
						temp.img = ImageLibrary.gSelection;
							
						textTemp.x = 400;
						textTemp.y = (temp.y + 20);
						textTemp.text = menu.text[dialogNum][b + 1];
						
						RiftGraphics.drawText.add(textTemp);	
						RiftFrame.imgs.add(temp);	
							
					}
					if(menu.options[dialogNum] != 0 ){
						
						temp = new Sprite(ImageLibrary.voidBall, 0,0); //refreshing again
					
						temp.x = 374;
						temp.y = (570 - (menu.options[dialogNum]* 40)) + (selectPos*40);
						temp.img = ImageLibrary.gSelected;
					
						RiftFrame.imgs.set(((RiftFrame.imgs.size())  - menu.options[dialogNum]) + selectPos, temp);	
						
					}
					
				}
				
			}
					
		}
		
	}