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