You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
436 B
21 lines
436 B
var shuff;
|
|
while 1
|
|
{
|
|
checkcounter = 0
|
|
shuff = ds_list_find_value(oControl.list_locations, (ds_list_size(oControl.list_locations) - 1))
|
|
if (shuff == 8)
|
|
{
|
|
}
|
|
else
|
|
checkcounter++
|
|
if (checkcounter == 1)
|
|
break
|
|
else
|
|
{
|
|
ds_list_shuffle(oControl.list_locations)
|
|
continue
|
|
}
|
|
}
|
|
ds_list_delete(oControl.list_locations, (ds_list_size(oControl.list_locations) - 1))
|
|
return shuff;
|