public void tick() {
		inputTick(input);
		if (pressedTimer > 0) pressedTimer--;
		int xm = 0;
		if (input.up) xm--;
		else if (input.down) xm++;
		if (xm != 0) moveSelection(xm);
		if (input.enter && pressedTimer <= 0) {
			pressedTimer = 30;
			int state = getCurStateID();
			press();
			if (getCurStateID() != state) {
				selected = 0;
			}
		}

		if (anim < 7500) anim++;
		else anim = 0;
	}