Sold Laughter(1981)

Young boy Timm sells his laughter to Baron Lefuet for the ability to win every wager. Based on the famous book "Timm Thaler" by James Krüss.