48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
if obj_boss1.active = 0
|
|
{
|
|
alarm[0] = 30
|
|
}
|
|
else
|
|
{
|
|
exit;
|
|
}
|
|
switch irandom(3)
|
|
{
|
|
case 0:
|
|
iii = instance_create(random(480)+__view_get( e__VW.XView, 0 ),0+__view_get( e__VW.YView, 0 ),obj_mook)
|
|
with (iii)
|
|
{
|
|
tagspeed = 3
|
|
tagdir = random(180)+180
|
|
}
|
|
break;
|
|
case 1:
|
|
iii = instance_create(random(480)+__view_get( e__VW.XView, 0 ),320+__view_get( e__VW.YView, 0 ),obj_mook)
|
|
with (iii)
|
|
{
|
|
tagspeed = 3
|
|
tagdir = random(180)
|
|
}
|
|
break;
|
|
case 2:
|
|
iii = instance_create(0+__view_get( e__VW.XView, 0 ),random(320)+__view_get( e__VW.YView, 0 ),obj_mook)
|
|
with (iii)
|
|
{
|
|
tagspeed = 3
|
|
tagdir = random(180)+270
|
|
}
|
|
break;
|
|
case 3:
|
|
iii = instance_create(480+__view_get( e__VW.XView, 0 ),random(320)+__view_get( e__VW.YView, 0 ),obj_mook)
|
|
with (iii)
|
|
{
|
|
tagspeed = 3
|
|
tagdir = random(180)+90
|
|
}
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
|
|
|