20,000 Patties Under the Sea/The Battle of Bikini Bottom - S5-E17
Continuity mistake: In one scene where Spongebob is breathing in air, you can see the container to the right is yellow, but in the scene where he's dancing around the kitchen, it turns white.
Answer: I believe this is the Season 6 episode "Spongicus".