Patrick's chocolate bar in Globs of Doom mystically gave him knowledge on Globulous
It always seemed rather odd that Patrick only got a chocolate bar when every other character in Globs of Doom
got an actual usable weapon (beyond him not being a main hero or villain but the devs still wanting to put him in the story somehow), but even weirder is the fact Patrick somehow knows just how to bring SpongeBob out of his glob-induced possessions
and seems to know an awful lot about the danger in general (a fact Dib calls attention to at one point). The simplest answer is that the chocolate bar is
Patrick's "weapon", but not in the sense that it's a conventional attacking weapon, but more along the lines of supporting intelligence; eating it allows anyone to figure out the monster's weaknesses. It is mystical Mawgu technology
, after all.