|
1
|
siner += 1;
|
|
2
|
if (spec < 2)
|
|
3
|
{
|
|
4
|
frontmarker1.x = x + (sin(siner / 12) * 2);
|
|
5
|
frontmarker1.y = y + (cos(siner / 20) * 2);
|
|
6
|
frontmarker2.x = x + (sin(siner / 14) * 1);
|
|
7
|
frontmarker2.y = y + (cos(siner / 24) * 1);
|
|
8
|
draw_sprite_ext(sprite_index, 1, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
9
|
draw_sprite_ext(sprite_index, 2, x + (sin(siner / 12) * 2), y + (cos(siner / 20) * 2), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
10
|
draw_sprite_ext(sprite_index, 3, x + (sin(siner / 14) * 1), y + (cos(siner / 24) * 1), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
11
|
}
|
|
12
|
else
|
|
13
|
{
|
|
14
|
draw_sprite_ext(sprite_index, siner / 6, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
15
|
}
|