I had an idea. That alphys whenever frisks in trouble, will shock the monster boss. Not every monster can be shocked, like Undyne, or Sans. Sans will die if he gets shocked, and Undyne can endure it. Undyne found a way to get rid of the shocker. It was on her eyepatch then she threw the chip away. The chip looks blue and red. Example: The one on pap's scarf that he never takes off.
Sans boi is shocked out of his skin!