Ouch, if its been in a garage, with ever changing air temperature and humidity that could be trouble.
Parts could tend to dry out, break, etc. The only way to know would be to try it. What sort of condition are the felts and hammers in?
Another thing to watch out for is the condition of the frame. In some older pianos that have gone way flat, and suffer from a weakened frame, tuning back up to concert pitch becomes impossible, as the weakened frame cannot handle the additional tension from all the strings at true concert pitch.
If it needs extensive restoration to be playable, that can get very expensive in a hurry.
As there are several different sizes of upright pianos, in general, the taller the height of the upright, the better the sound will be (due to longer string length).
<edit> Given the description of the piano as "stinky" I would likely take a pass on it. A piano needs stable room conditions, and decent care, or at least something better than neglect. The odds of it being in really playable condition are not good.
Note that I know just enough about pianos to be somewhat dangerous.