1 | if (visible == true) |
2 | { |
3 | with (other.id) |
4 | instance_destroy(); |
5 | } |
6 | if (visible == true) |
7 | { |
8 | if (instance_exists(obj_ratingsmaster)) |
9 | global.ratings += 20; |
10 | snd_play(snd_mtt_burst); |
11 | bp = instance_create(x, y, obj_brokenpiece); |
12 | if (instance_exists(bp)) |
13 | bp.sprite_index = sprite_index; |
14 | visible = false; |
15 | } |