Like I said in IRC, it might just be fine if you define a 3D array of sets of coordinates to pick from.
let lichtcoords = [
[[x,y],[,],[,],[,],[,],[,],[,],[,]], [[,],[,],[,],[,],[,],[,],[,],[,]],
[[,],[,],[,],[,],[,],[,],[,],[,]], [[,],[,],[,],[,],[,],[,],[,],[,]],
[[,],[,],[,],[,],[,],[,],[,],[,]], [[,],[,],[,],[,],[,],[,],[,],[,]],
[[,],[,],[,],[,],[,],[,],[,],[,]], [[,],[,],[,],[,],[,],[,],[,],[,]],
[[,],[,],[,],[,],[,],[,],[,],[,]], [[,],[,],[,],[,],[,],[,],[,],[,]],
[[,],[,],[,],[,],[,],[,],[,],[,]], [[,],[,],[,],[,],[,],[,],[,],[,]]
];
let bundel = lichtcoords[rand_int(0,12)];
ascent(i in 0..8) {
makelichtbundel(256,768-(bundel[i][0]*+128),-2560+(bundel[i][1]*128),96,25,96);
}