1 | snd_play(snd_mtt_hit); |
2 | event_user(0); |
3 | with (other.id) |
4 | instance_destroy(); |
5 | life -= 40; |
6 | if (life < 1 && movetype != 1) |
7 | { |
8 | with (obj_blackbox_pl) |
9 | instance_destroy(); |
10 | with (obj_mettlightning_pl) |
11 | instance_destroy(); |
12 | with (obj_npc_marker) |
13 | instance_destroy(); |
14 | with (obj_mettfodder) |
15 | { |
16 | flash = 5; |
17 | type = 2; |
18 | } |
19 | with (obj_kissybullet_pl) |
20 | instance_destroy(); |
21 | event_user(1); |
22 | q = 0; |
23 | repeat (num) |
24 | { |
25 | kid[q].visible = false; |
26 | q += 1; |
27 | } |
28 | } |
29 | global.ratings += 20; |