I cant remember the old animation movie

There was an old animated movie. There was an animal that fell into the street and then it was going to a place in town with sweets. Apart from that, as far as I remember, he was going to a place where bananas were traded as a result of an accident.