if (state != 100) { dmg = 10 flashtime = 8 shaking = 10 event_user(0) sfx_stop(sndQueenHit1) sfx_play(sndQueenHit1) }