SpongeBob accidentally releases the Flying Dutchman from a magic bottle. Now the ghostly pirate has put a wicked curse on SpongeBob. The only way to lift the curse is to join a ridiculous underwater adventure that has SpongeBob searching for 10 lost treasures.