The Undertaker delivers his finishing move- the Tombstone Piledriver- to Captain Doody, ending his possession of Nicky Jr. Captain Doody flies out of Nicky Jr's body and into a nearby popcorn vendor.
The fight wasn't planned. Captain Doody possessed Nicky Jr, and Nick cried out to the Undertaker for help. The Undertaker complied, claiming that "Im the only evil guy on this show.