All I could remember from this stop motion production (no live humans involved) is the story of some fat long moustached dishonest man who is probably a villain but a funny one wearing a purple/pink shirt, blue pants, and black fez-like hat and acting like a miser i think.
The movie takes place somewhere in Asia, Arabian mostly.
I remember him dreaming at some point where in his dream he is jumping/flipping while counting
One line I can remember from that movie was when some men were chanting: “Kill the devil! Kill the devil! Kill the devil!” (probably referring to the fat guy himself).
The rest is a blank to me afterwards,