if (damaged == 0 && (!flashing)) { myhealth -= 1 event_user(0) }