var pickup_snd_handle = 0;

action Ring_illumi_pickup
{

while (player == null) {wait (1);}
my.passable = on;
while (vec_dist (player.x, my.x) > 100) {wait (1);}
while (1)
{
if(!snd_playing(pickup_snd_handle))
{
pickup_snd_handle = snd_play (creepsnd, 80, 0);
}
wait(-3);{
snd_stop (creepsnd);}
}