1 | image_alpha += 0.025 |
2 | if (image_alpha < 1) |
3 | return; |
4 | var roll_speed = 2.5 |
5 | image_speed = 0.4 |
6 | if ((y < 160 && y > 80) || y > 240) |
7 | { |
8 | roll_speed = 4.5 |
9 | image_index = 0 |
10 | image_speed = 0 |
11 | if (y > 380) |
12 | image_alpha -= 0.1 |
13 | } |
14 | if (y > 240) |
15 | depth = 10000 |
16 | y += roll_speed |
17 | if (y >= room_height) |
18 | instance_destroy() |