As they walked back to class, Mikey shoved his hands down his pockets, suddenly realizing that the stone was gone. It must have fallen out when he was going to the bathroom (or trying to go to the bathroom, as it turned out).
Meanwhile, back in the girl's bathroom, someone entered the stall that Mikey had recently used and saw the stone sitting on the floor.