1 | event_inherited(); |
2 | if (colortimer <= 1) |
3 | { |
4 | image_blend = merge_color(c_blue, c_white, colortimer); |
5 | colortimer += (1/3); |
6 | } |
7 | if (x < (minx - 20) || x > (maxx + 20) || y < (miny - 20) || y > (maxy + 20)) |
8 | { |
9 | image_alpha -= 0.05; |
10 | if (image_alpha <= 0) |
11 | instance_destroy(); |
12 | } |
13 | image_angle += spin; |