ludum-dare-22/objects/obj_player/Destroy_0.gml

18 lines
297 B
Plaintext
Raw Normal View History

if global.lives > 0
{
instance_create(room_width/2,room_height/2,obj_player)
}
else
{
global.death = true
}
global.lives -= 1
global.mult = 1
global.bombs = 2
with (obj_enemymanager)
instance_destroy()
instance_create(x,y,obj_bombeffect)
global.timeout = 15