1 | with (other.id) |
2 | instance_destroy(); |
3 | if (type == 0) |
4 | type = 1; |
5 | else |
6 | type = 0; |
7 | swaptimer = 3; |
8 | sprite_index = spr_discoball_invert_pl; |
9 | if (soundtimer < 0) |
10 | { |
11 | snd_play(snd_noise); |
12 | soundtimer = 2; |
13 | } |
14 | if (instance_exists(obj_ratingsmaster)) |
15 | global.ratings += 5; |