if drawenergy eframe = (!eframe) alarm[1] = 2