1 |
if live_call() |
2 |
return global.live_result; |
3 |
spawn_count = 4 |
4 |
spawn_list = ds_list_create() |
5 |
ds_list_add(spawn_list, 1, 2, 3, 4, 5, 6) |
6 |
for (var i = 0; i < spawn_count; i++) |
7 |
{ |
8 |
ds_list_shuffle(spawn_list) |
9 |
x_spawn[i] = 100 * (ds_list_find_value(spawn_list, 0)) |
10 |
instance_create_depth(x_spawn[i], 440, -100, obj_flowey_battle_mechanical_saw_warning) |
11 |
ds_list_delete(spawn_list, 0) |
12 |
} |
13 |
ds_list_clear(spawn_list) |
14 |
alarm[0] = 17alarm[0]for (var i = 0; i < spawn_count; i++)
{
var saw = instance_create_depth(x_spawn[i], 520, -100, obj_flowey_battle_phase_2_mechanical_saw)
saw.gravity = 0.4
saw.vspeed = -13
}
instance_destroy() |