1 | var enemy_mode = global.enemy_mode; |
2 | if (enemy_mode == 0) |
3 | sprite_index = spr_frostermit_smashed; |
4 | else if (enemy_mode == 1) |
5 | sprite_index = spr_frostermit_dead; |
6 | image_alpha = 0; |
7 | script_execute(scr_enemy_defragment); |
8 | if (!audio_is_playing(snd_monster_damage_death)) |
9 | audio_play_sound(snd_monster_damage_death, 20, 0); |