double-jammy-whammy/objects/obj_target_blue/Destroy_0.gml

9 lines
211 B
Plaintext
Raw Permalink Normal View History

event_inherited();
if (collided == true) {
var _obj = instance_create_layer(x, y, "Effects", obj_destroy_orb );
with (_obj) {
sprite_index = spr_target_blue;
}
audio_play_sound(snd_medal_pop, 1, false);
}