It gets you an okay result. As far as I can tell, the bad ending isn't tied to the cupcake, it just changes the scene.