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

14 lines
209 B
Plaintext

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