ludum-dare-23/objects/obj_boss1/Alarm_1.gml

19 lines
369 B
Plaintext

sound_play(snd_bossshot1)
if instance_exists(obj_girl)
{
iii = instance_create(x+50,y+50,obj_bulletA)
with (iii)
{
tagspeed = 3
tagdir = point_direction(x,y,obj_girl.x,obj_girl.y)
}
iii = instance_create(x+50,y+155,obj_bulletA)
with (iii)
{
tagspeed = 3
tagdir = point_direction(x,y,obj_girl.x,obj_girl.y)
}
}
alarm[1] = 30