1 | junk_vsp += junk_grav |
2 | x += lengthdir_x(junk_hsp, junk_direction) |
3 | y += junk_vsp |
4 | image_angle += 5 |
5 | if (y > battle_box_bottom) |
6 | fade_out = true |
7 | if (image_alpha > 0 && fade_out == true) |
8 | { |
9 | image_alpha -= 0.1 |
10 | if (image_alpha < 0) |
11 | image_alpha = 0 |
12 | if (image_alpha == 0) |
13 | instance_destroy() |
14 | } |