This question already has an answer here:
The sentence is "You look pretty tonight". I believe that pretty would be an adjective as it's referring to "You".
However in the sentence "You look pretty gorgeous tonight" I believe that pretty would be an adverb.
In the first sentence is pretty saying how "You" looks though, meaning it would be an adverb?