The evil Sir Percival Snout claims that the Tubtown belongs to him and wants to knock everything down. Pigsticks and Harold need a fortune to buy it back. Luckily, Pigsticks' great-great-grandpig was a pirate and his buried treasure has never been found, and the two friends hope to track it down in time.