19 lines
314 B
Plaintext
19 lines
314 B
Plaintext
|
if active
|
||
|
{
|
||
|
score += 10
|
||
|
life -= 1
|
||
|
iii = instance_create(x+125,y+100,obj_deathparticle)
|
||
|
with (iii)
|
||
|
{
|
||
|
speed = random(7)
|
||
|
direction = random(360)
|
||
|
}
|
||
|
if life < 0
|
||
|
{
|
||
|
instance_destroy()
|
||
|
sound_play(snd_bossdead)
|
||
|
score += 10000
|
||
|
}
|
||
|
}
|
||
|
|