1 | if (destroyable == 1) |
2 | { |
3 | if (other.big == 0) |
4 | { |
5 | with (other) |
6 | event_user(0); |
7 | } |
8 | anim = instance_create(x, y, obj_yshot_anim); |
9 | anim.image_xscale = image_xscale; |
10 | anim.image_yscale = image_yscale; |
11 | with (anim) |
12 | sprite_index = spr_yheart_shot_hit3; |
13 | instance_destroy(); |
14 | } |
15 | else if (destroyable == -1) |
16 | { |
17 | with (other) |
18 | event_user(0); |
19 | } |