The SpongeBob Movie: The Magic Ocean Reef

Spongebob and the Magic Ocean Reef is a 2004 American adventure fantasy animation film based on the Nickelodeon TV series Spongebob Squarepants and the Toy Story Franchise. The film was produced by Pixar Animation Studios and United Plankton Pictures and distributed by Nickelodeon Movies. It was written, produced and directed by Stephen Hillenberg and Paul Tibbit.

Plot
Dr. Gillam, the doctor of Bikini Bottom Hospital, is on vacation leaving Woody (Tom Hanks) in charge. Meanwhile, while talking at The Krusty Krab, Spongebob Squarepants (Voiced by Tobey Maguire) and his boss Mr. Krabs (voiced by Keegan-Michael Key) encounter an evil and cross violent hitman named Dennis (Voiced by Kevin Spacey), who states he has incomplete work in Bikini Bottom. Meanwhile in the Toy Story universe, Woody has his own problems as his supply of gold dust, which allows him to magically teleport from place to place, is running low and isn't enough to allow him to travel back from Bikini Bottom.

Later that day, while Spongebob and Patrick (Voiced by Sean William Scott) are at they're homes, Dennis arrives and announces his evil plan to get rid of the nice people in Bikini Bottom once and for all since he had hated them for some reason. Spongebob leaves to collect Woody who is now running late and is worried that the journey from The Tri County Area to Bikini Bottom has been getting bumpier and bumpier since "the lost mermaid" vanished. Unknown to Woody, the 'lost mermaid', named Mindy (voiced by Scarlett Johansson), is hidden in a workshop on Muffle Mountain far from the Tri County Area. Mindy's aging guardian, Harold Anderson (Danny Devito), has kept her hidden after Dennis' last attempt to destroy her. Despite having rebuilt Mindy, Harold was unable to bring her alive. At night, Dennis attacks Spongebob's house where he and his friends are sleeping, but Woody repels him with oil after his gold dust fails him and Denis quickly retreats.

While talking outside Kelp Forest, Gary (Voiced by EG Daily) and Spongebob conclude that there is a secret coral reef between Bikini Bottom and the Tri County Area. Dennis overhears them and goes to the Make Out Reef to tell his dim-witted hench-men, Peter (Voiced by Stephen Tobolowsky) and Spam (Voiced by Jon Lovitz), of his plans to destroy the lost mermaid and the other people in Bikini Bottom which Woody, whose gold dust is running out, won't be able to stop. Uncle Cap'n Blue (voiced by David Hyde Pierce) follows Dennis and overhears his plans of destroying the people in Bikini Bottom. He hoots his horn to distract him, causing Dennis, Peter and Spam to fall off the cliff and get buried by a pile of rocks but survive. Later, after the song "Really Useful Sponge", Squidward (Voiced by Patton Oswalt) has a bad cold and Spongebob was collecting six special medicine trucks for Squidward, but he has five according to Scooter (Voiced by Jake Johnson) one rolled away towards the Magic Ocean Reef through the hill slope on Bikini Atoll.

Bonnie Anderson (Ariel Winter), Harold's granddaughter, was being sent from a big city to visit Harold on Muffle Mountain. While at the bus station, she meets a dog named Scott who puts her on the wrong one. On arriving at her old home, she meets Flik the Ant (Dave Foley) and Real Estate Agent Allie Peterson (Leslie Mann) who takes her to Harold's house. The next day, Bonnie meets Max (Jonah Bobo), who has been helping Harold look after Mindy and takes her on a bike ride to here old house where she meets Flik again. Flik takes her through the Magic Ocean Reef to Bikini Bottom where they meet Spongebob.

Spongebob, who has been looking for Woody, isn't happy to see Flik but agrees to help him and Bonnie and takes them to the farm where they find Woody, who had been captured by Dennis, is looking for more gold dust only to be flung to the farm after stabbing one of his finger. Flik climbs onto one of the windmill sails and ends up being thrown onto Dennis' Motorcycle. Later that night, Gary finds Peter and Spam, who have located the entrance to the Magic Ocean Reef which is located on the hill to Bikini Atoll and goes to warn Spongebob.

Spongebob agrees to take Bonnie home to the Tri County Area and sets off. While travelling through the Magic Ocean Reef, Spongebob discovers the missing truck of special medicine, which he collects and arrives at the other end of the Magic Ocean Reef, high on a cliff near the summit of Muffle Mountain. Bonnie goes to find Harold, leaving Spongebob stranded on the mountain; the wind suddenly picks up and Spongebob rolls down the mountain and into a nearby beach where he re-enters the Magic Ocean Reef through another secret portal.

Bonnie finds Harold in his workshop, where he shows her Mindy and explains his problem in bringing her to life. Bonnie suggests using Bikini Bottom Medicine; Max goes back to retrieve the truck and Harold uses the medicine to bring Mindy to live. Now alive, Harold, Bonnie, Max and Max's dog Scott (Stephen Hillenberg) take Mindy back along the Magic Ocean Reef, regenerating both Mindy and the reef in the process. Mindy comments that Harold had never forgotten about Magic; Spongebob then arrives and the two return to Bikini Bottom where they meet Woody and Flik, who had used the last of his gold dust to rescue both himself and Patrick from Dennis at the Industrial Park just as he was about to kill them both by pushing them into the big furnace from behind.

Dennis then arrives with Peter and Spam, who finally decide to stop helping him. Spongebob, Mindy and Harold flee from Dennis, chasing them towards a crumbling bridge. Spongebob and Mindy make it safely across but Dennis however falls off the bridge and lands into a barge of garbage where he is carried away and taken to somewhere else unknown, and knowing that he is going to be in big trouble with Dr. Gillam. Later that evening, Spongebob, Mindy and Harold return at the island slope where Bonnie combines water from a wishing well and shavings from the Magic Ocean Reef to make more gold dust, saving both Bikini Bottom and Tri County Area. Flik decides to go back to Ant Island (His Home) before Woody gives him something to remember him by before he leaves. Woody goes to Bikini Bottom Hospital to welcome Dr. Gilliam home. Bonnie, Harold, Max, Peterson and Scott bid Spongebob goodbye as they (along with Mindy who is now gonna work on the Magic Ocean Reef) return to Tri County Area, while Spongebob happily heads home to Bikini Bottom to tell the others about his adventure with Mindy.

Cast

 * Tobey Maguire as Spongebob
 * Sean William Scott as Patrick
 * Patton Oswalt as Squidward
 * Yvonne Murray as Mindy
 * Tom Hanks as Woody