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

18 lines
295 B
Plaintext
Raw Normal View History

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