It would have been funnier if...
after Mario said "GET OVER HERE!" he'd chase after it but he'd run into the invisible wall (in SMB you can't backtrack). Then Luigi would come only he'd be HUGE (implying he found and got the mushroom) and steps on Mario...THEN the Goomba kills him.