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

18 lines
426 B
Plaintext

global.kills += 1
if global.kills >= 10*(global.mult+1)
{
global.kills = 0
global.mult += 1
global.mesmult = 20
sound_play(snd_multiplierup)
}
global.scores += 10000*global.mult*global.bossno
instance_create(0,0,obj_wavemanager)
global.boss = 0
if global.bossno > 5 and global.death = 0
global.victory = 1
with (obj_enemymanager)
instance_destroy()
instance_create(x,y,obj_bombeffect)