if instance_exists(oCharacter) { if (oCharacter.x < 1000) sfx_play(sndQueenDistant) } alarm[0] = (400 + random(160))