As whimsical as the script is said to be ( it also folded into the narrative invented particulars of the romance between Kermit the Frog and Miss Piggy , including a depiction of a hungover Kermit heartbroken by Miss Piggy 's impending marriage to another beau ) , it also wanders into a legal and creative thicket .