gmc-jam-3/objects/obj_bullet_boss_11/Destroy_0.gml

30 lines
623 B
Plaintext
Executable File

if tacos = 1
repeat (30)
{
global.qwerty = direction
qqq = irandom(3)
switch qqq
{
case 0:
jumps = instance_create(x,y,obj_bullet_boss_3);
break;
case 1:
jumps = instance_create(x,y,obj_bullet_boss_2);
break;
case 2:
jumps = instance_create(x,y,obj_bullet_boss_particle);
break;
case 3:
jumps = instance_create(x,y,obj_bullet_boss_1);
break;
default:
break;
}
with (jumps)
{
speed = random(6) + 1
direction = global.qwerty - 30 + random(60);
}
}