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

8 lines
166 B
Plaintext

event_inherited();
if (collided == true) {
var _obj = instance_create_layer(x, y, "Effects", obj_destroy_orb );
with (_obj) {
sprite_index = spr_target_red;
}
}