Pretty as an adverb, meaning to a considerable extent dates back to 1565 according to the COED.