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

12 lines
233 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 += 20*global.mult
sound_play(snd_enemyexplode)