dental pain is among the worst I've ever had (infections twice, ugh). any swelling doesn't have anywhere much to go, so it presses against bone; and ow.
fwiw, vicodin does almost nothing for me ever and definitely didn't hit dental stuff - ibuprofen helped a lot more, with or without tylenol.