You could make the code more readable by promoting the condition up into the while loop:

Code:
action player_action()
{
	while(score > 0)
		wait(1);


	set(last_txt,SHOW);

	media_stop(f_m);
	media_play("robot 7.wav",NULL,170);	

	wait(-3); 
	Golevel();
}



(For code readability your goal should always be to nest as narrowly as possible)


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com