While not the central plot point, the movie features a character named "Dynamo", played by Richard Dawson, who is a dwarf and a close friend of the main character, Ben Richards.
It's possible you're thinking of another film, but this is the most likely candidate based on the description you provided.