private int getArrayIndexOfFirstBall(int frameNumber)
	{
		int currentFrame = 1;
		int currentRollCount = rollCount;

		if (frameNumber > getCurrentFrame())
		{
			return ++currentRollCount;
		}

		for (int i = 0; i < rollCount; i++)
		{
			if (currentFrame == frameNumber)
			{
				return i;
			}

			int pinsKnockedDown = pinsKnockedDownArray[i];
			if (pinsKnockedDown == 10)
			{
				currentFrame++;
			}
			else if (pinsKnockedDown > 0)
			{
				int j = i + 1;
				if (j < rollCount)
				{
					currentFrame++;
					i++;
				}
			}
		}
		return -1;
	}