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

14 lines
218 B
Plaintext
Raw Permalink Normal View History

if (other.collided == false && collided == false) {
global.targets_hit++;
global.targets_hit_medals[0] = true;
collided = true;
with (other) {
collided = true;
destroy_timer = 15;
}
instance_destroy();
}