Examples

Example 1

After a hard bout of fifteen minutes on the elliptical, Tanner smells pretty bad and should probably remove himself from any and all public spaces.

In this example, Tanner isn't actively sniffing something. He himself smells bad, so he should probably go take a shower already. Febreze-ing his armpits won't cut it.

Example 2

Should I feel bad that I like a guy who has about as much intelligence as a rock?

Here, the speaker is feeling an emotion, so bad is the right word, even if the dude in question may not be the right guy.

Example 3

It's a good thing the fender bender didn't end too badly because otherwise my dad might have grounded me for life.

The crash in this sentence had to end at some point, so the verb end is referring to an action. That means badly is the correct word for this sentence.