| 1 | draw_sprite_part_ext(sprite_index, 0, left, top, width, height, x, y, scalefactor, scalefactor, c_white, image_alpha); |
| 2 | if (on == 0) |
| 3 | { |
| 4 | if (image_alpha < 1) |
| 5 | image_alpha += 0.03; |
| 6 | } |
| 7 | if (on == 1) |
| 8 | { |
| 9 | left += ldiff; |
| 10 | top += tdiff; |
| 11 | height += hdiff; |
| 12 | width += wdiff; |
| 13 | scalefactor += sdiff; |
| 14 | if (left <= 0) |
| 15 | on = 2; |
| 16 | } |
| 17 | if (on > 1) |
| 18 | on += 1; |
| 19 | if (on > 60) |
| 20 | { |
| 21 | image_alpha -= 0.05; |
| 22 | if (image_alpha < 0.05) |
| 23 | instance_destroy(); |
| 24 | } |