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