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.
14 lines
526 B
14 lines
526 B
|
|
while (true)
|
|
{
|
|
checkcounter = 0;
|
|
var shuff = ds_list_find_value(oControl.list_locations, ds_list_size(oControl.list_locations) - 1);
|
|
if (shuff == 7 && (oControl.gravity_wall == true || oControl.spider_wall == true)) { } else { checkcounter++; }
|
|
if (shuff != 9) { checkcounter++; }
|
|
if (shuff != 2) { checkcounter++; }
|
|
if (checkcounter == 3) { break; }
|
|
ds_list_shuffle(oControl.list_locations);
|
|
}
|
|
ds_list_delete(oControl.list_locations, ds_list_size(oControl.list_locations) - 1);
|
|
return shuff;
|