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