| 1 | sprite_index = global.monstersprite; |
| 2 | image_alpha = 0.5; |
| 3 | snd_stop(snd_vaporized); |
| 4 | snd_play(snd_vaporized); |
| 5 | for (n = 0; n < 14; n += 1) |
| 6 | { |
| 7 | j = instance_create((random(sprite_width / 2) + (sprite_width / 4) + x) - 8, (random(sprite_height / 2) + (sprite_width / 4) + y) - 8, obj_dustcloud); |
| 8 | j.rightside = ((8 + j.x) - x) / (sprite_width / 2); |
| 9 | j.topside = ((8 + j.y) - y) / (sprite_height / 2); |
| 10 | } |