ludum-dare-42/ld42/objects/obj_enemy_base/Step_2.gml

9 lines
155 B
Plaintext

if (hp < 0) {
obj_mola.kills++;
if (self != obj_bullet) {
audio_play_sound(snd_explode, 1, false);
}
instance_destroy();
}