touched = 0; last_touched = -1; activated = 0; type = 0; if (y >= 500) type = 1;