Father Ted thinks about how he'd spend the money from Jack's will and the footage of his fantasy is the same footage used when we see his fantasy of what if he had 3 wishes from this previous episode.
Ted uses this film when he plays charades, then he tells Dougal it was this and Dougal talks about how it's very diiferent to Jaws 2 which he'd guessed earlier.