1 | if (destroyable == 1) |
2 | { |
3 | hp--; |
4 | if (other.big == 1 || hp <= 0) |
5 | { |
6 | breaking = 10; |
7 | destroyable = 0; |
8 | speed = 0; |
9 | obj_shrinktangle.sizeup += shrinksize; |
10 | image_blend = c_white; |
11 | sprite_index = spr_sneo_c_weakpoint_hit; |
12 | } |
13 | flash = 1; |
14 | if (other.big == 0) |
15 | { |
16 | with (other) |
17 | event_user(0); |
18 | } |
19 | } |