private void Update()
    {
        bool win = true;

        if (isFighting)
        {
            buttonCount = getActiveButtonCount();
            if (winScreen.activeSelf)
            {
                win = false;
            }
            if (loseScreen.activeSelf)
            {
                win = false;
            }
        }
        if (isFighting && buttonCount > 2 && win)
        {
            if (Input.GetKeyDown(KeyCode.UpArrow))
            {
                switch (cs)
                {
                case CursorSpot.BotLeft:
                    toggleCursor();
                    cs = CursorSpot.TopLeft;
                    toggleCursor();
                    break;

                case CursorSpot.BotRight:
                    toggleCursor();
                    cs = CursorSpot.TopRight;
                    toggleCursor();
                    break;

                default:
                    break;
                }
            }
            else if (Input.GetKeyDown(KeyCode.DownArrow))
            {
                switch (cs)
                {
                case CursorSpot.TopLeft:
                    toggleCursor();
                    cs = CursorSpot.BotLeft;
                    toggleCursor();
                    break;

                case CursorSpot.TopRight:
                    toggleCursor();
                    cs = CursorSpot.BotRight;
                    toggleCursor();
                    break;

                default:
                    break;
                }
            }
            else if (Input.GetKeyDown(KeyCode.LeftArrow))
            {
                switch (cs)
                {
                case CursorSpot.BotRight:
                    toggleCursor();
                    cs = CursorSpot.BotLeft;
                    toggleCursor();
                    break;

                case CursorSpot.TopRight:
                    toggleCursor();
                    cs = CursorSpot.TopLeft;
                    toggleCursor();
                    break;

                default:
                    break;
                }
            }
            else if (Input.GetKeyDown(KeyCode.RightArrow))
            {
                switch (cs)
                {
                case CursorSpot.BotLeft:
                    toggleCursor();
                    cs = CursorSpot.BotRight;
                    toggleCursor();
                    break;

                case CursorSpot.TopLeft:
                    toggleCursor();
                    cs = CursorSpot.TopRight;
                    toggleCursor();
                    break;

                default:
                    break;
                }
            }
            else if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.Space))
            {
                Combat.performButtonAction(getButtonFromCursorSpot());
                resetCursorPosition();
            }
        }
        else if (isFighting && buttonCount == 2 && win)
        {
            if (Input.GetKeyDown(KeyCode.LeftArrow))
            {
                if (cs == CursorSpot.TopRight)
                {
                    toggleCursor();
                    cs = CursorSpot.TopLeft;
                    toggleCursor();
                }
            }
            else if (Input.GetKeyDown(KeyCode.RightArrow))
            {
                if (cs == CursorSpot.TopLeft)
                {
                    toggleCursor();
                    cs = CursorSpot.TopRight;
                    toggleCursor();
                }
            }
            else if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.Space))
            {
                Combat.performFirstAction(getButtonFromCursorSpot());
            }
        }
        else if (win)
        {
            if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.Space))
            {
                Combat.BackToCave();
            }
        }
    }