2021-07-07 23:43:05 -07:00
|
|
|
if global.life > 0
|
2021-06-28 18:44:09 -07:00
|
|
|
{
|
|
|
|
instance_create(room_width/2,room_height/2,obj_player)
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
global.death = true
|
2021-07-09 14:22:58 -07:00
|
|
|
if (instance_exists(obj_spirit) ) {
|
|
|
|
with (obj_spirit) {
|
|
|
|
instance_destroy();
|
|
|
|
}
|
|
|
|
}
|
2021-06-28 18:44:09 -07:00
|
|
|
}
|
2021-07-07 23:43:05 -07:00
|
|
|
global.life -= 1
|
2021-06-28 18:44:09 -07:00
|
|
|
global.mult = 1
|
|
|
|
global.bombs = 2
|
|
|
|
with (obj_enemymanager)
|
|
|
|
instance_destroy()
|
|
|
|
instance_create(x,y,obj_bombeffect)
|
|
|
|
global.timeout = 15
|
|
|
|
|