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.
45 lines
1.1 KiB
45 lines
1.1 KiB
var temp_mod;
|
|
while 1
|
|
{
|
|
checkcounter = 0
|
|
temp_mod = ds_list_find_value(oControl.list_locations, (ds_list_size(oControl.list_locations) - 1))
|
|
if (oControl.threecount <= 2 && (temp_mod == 0 || temp_mod == 4 || temp_mod == 6))
|
|
{
|
|
}
|
|
else
|
|
checkcounter++
|
|
if (argument0 == 1)
|
|
checkcounter++
|
|
else if (temp_mod != 6)
|
|
checkcounter++
|
|
if (argument1 == 1)
|
|
checkcounter++
|
|
else if (temp_mod != 9)
|
|
checkcounter++
|
|
if (argument2 == 1)
|
|
checkcounter++
|
|
else if (temp_mod != 8)
|
|
checkcounter++
|
|
if (argument3 == 1)
|
|
checkcounter++
|
|
else if (temp_mod != 2)
|
|
checkcounter++
|
|
if (argument4 == 1)
|
|
checkcounter++
|
|
else if (temp_mod != 3)
|
|
checkcounter++
|
|
if (temp_mod != 7)
|
|
checkcounter++
|
|
if (checkcounter == 7)
|
|
break
|
|
else
|
|
{
|
|
ds_list_shuffle(oControl.list_locations)
|
|
continue
|
|
}
|
|
}
|
|
scr_randomizer_pure_wall(temp_mod)
|
|
scr_randomizer_pure_vars(temp_mod)
|
|
ds_list_delete(oControl.list_locations, (ds_list_size(oControl.list_locations) - 1))
|
|
return temp_mod;
|