" Badly" is an adverb; it describes verbs.
He feels bad. [not badly] He is bad. He played the game badly.