rem: gnome_triggers_do (NULL, NULL, "gnibbles", "crash", NULL); gnome_triggers_do (NULL, NULL, "gnibbles", "gameover", NULL);
add: gnibbles_play_sound ("crash"); gnibbles_play_sound ("gameover");
context: gint gnibbles_move_worms (){	int i, j, status = 1;	int dead[properties->numworms];	if (boni->missed > MAXMISSED)		for (i = 0; i < properties->numworms; i++)			if (worms[i]->score)				worms[i]->score--;		for (i = 0; i < boni->numbonuses; i++) {		if (!(boni->bonuses[i]->countdown--))			if (boni->bonuses[i]->type == BONUSREGULAR &&					!boni->bonuses[i]->fake) {				gnibbles_boni_remove_bonus (boni,						boni->bonuses[i]->x,						boni->bonuses[i]->y);				boni->missed++;				gnibbles_add_bonus (1);			} else				gnibbles_boni_remove_bonus (boni,						boni->bonuses[i]->x,						boni->bonuses[i]->y);	}			for (i = 0; i < properties->numworms; i++) {		gnibbles_worm_erase_tail (worms[i]);	}	for (i = 0; i < properties->numworms; i++) {		dead[i] = !gnibbles_worm_test_move_head (worms[i]);		status &= !dead[i];	}	/* If one worm has died, me must make sure that an earlier worm was not	   supposed to die as well. */	if (!status)		for (i = 0; i < properties->numworms; i++)			if (!dead[i])				for (j = 0; j < properties->numworms; j++) {					if (i != j && worms[i]->xhead ==							worms[j]->xhead &&							worms[i]->yhead ==							worms[j]->yhead)						dead[i] = TRUE;					gnibbles_draw_pixmap (BLANKPIXMAP,							worms[i]->xtail,							worms[i]->ytail);					gnibbles_draw_pixmap (worms[i]->pixmap,							worms[i]->xhead,							worms[i]->yhead);				}	for (i = 0; i < properties->numworms; i++)		if (dead[i]) {			worms[i]->score *= .7;			status |= gnibbles_worm_lose_life (worms[i]) << 1;		}	for (i = 0; i < properties->numworms; i++)		if (!dead[i])			gnibbles_worm_move_tail (worms[i]);	for (i = 0; i < properties->numworms; i++)		if (!dead[i])			gnibbles_worm_draw_head (worms[i]);	if (status & GAMEOVER) {		gnome_triggers_do (NULL, NULL, "gnibbles", "crash", NULL);		gnome_triggers_do (NULL, NULL, "gnibbles", "gameover", NULL);		return (GAMEOVER);	}	if (status)		return (CONTINUE);	gnome_triggers_do (NULL, NULL, "gnibbles", "crash", NULL);	return (NEWROUND);}