1 | image_xscale += 0.04; |
2 | image_yscale += 0.04; |
3 | if (type == 1) |
4 | { |
5 | siner += 0.5; |
6 | x = xstart + (sin(siner / 6) * 50); |
7 | } |
8 | if (image_xscale > 1.25) |
9 | { |
10 | image_xscale = 1.25; |
11 | image_yscale = 1.25; |
12 | instance_destroy(); |
13 | ball = instance_create(x, y, obj_sneo_elevator_electric_ball); |
14 | ball.type = type; |
15 | ball.siner = siner; |
16 | ball.xstart = xstart; |
17 | } |