When Deadpool met Cap, got inspired (as one does), and for his trouble, was shot in the head.
The flash above is a chronal anomaly that keeps resetting Bucky's and Cap's memories, btw.
Blah, blah big fight. They find Zola's hideout and fight, and defeat one of his creations. The chronal anomaly resets the creature's memories to when he was first captured by Zola.
Of course Wade lives, and he and Bob make it back to their own time.