event_inherited();
if (global.route == 3 || global.dunes_flag[26] == 3)
{
instance_destroy();
exit;
}