1 | event_inherited(); |
2 | if (hp_self <= 0) |
3 | { |
4 | gravity = 1; |
5 | image_alpha -= 0.1; |
6 | if (image_alpha <= 0) |
7 | instance_destroy(); |
8 | image_angle += 15; |
9 | } |
10 | size = (sin(current_time / 400) * 0.05) + 1.05; |
11 | image_xscale = size; |
12 | image_yscale = size; |