You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
18 lines
487 B
Plaintext
18 lines
487 B
Plaintext
/// enemy_death2()
|
|
expl = instance_create(x, y, oFXAnimSpark);
|
|
expl.image_speed = 0.5;
|
|
expl.additive = 0;
|
|
expl.sprite_index = sExpl1;
|
|
repeat (5) {
|
|
expl = instance_create(x - 20 + random(40), y - 20 + random(40), oFXAnimSpark);
|
|
expl.image_speed = 0.4 + random(0.4);
|
|
expl.additive = 0;
|
|
expl.sprite_index = sExpl1;
|
|
}
|
|
spawn_rnd_pickup(100);
|
|
PlaySoundMono(deathsound);
|
|
if (instance_exists(platform)) with (platform) instance_destroy();
|
|
global.kills += 1;
|
|
|
|
instance_destroy();
|