22 lines
398 B
Plaintext
22 lines
398 B
Plaintext
if global.life > 0
|
|
{
|
|
instance_create(room_width/2,room_height/2,obj_player)
|
|
}
|
|
else
|
|
{
|
|
global.death = true
|
|
if (instance_exists(obj_spirit) ) {
|
|
with (obj_spirit) {
|
|
instance_destroy();
|
|
}
|
|
}
|
|
}
|
|
global.life -= 1
|
|
global.mult = 1
|
|
global.bombs = 2
|
|
with (obj_enemymanager)
|
|
instance_destroy()
|
|
instance_create(x,y,obj_bombeffect)
|
|
global.timeout = 15
|
|
|