yamp\'s electric type judgment