Tree House of Horror III: The Simpson's Halloween Special III - S4-E5
Continuity mistake: When Bart gets the Krusty doll, he pulls the pull string from the back of the doll. When the doll has finished talking, the pull ring has disappeared. (00:04:05)