|
1
|
if (movecon == 3 && movetimer > 2)
|
|
2
|
{
|
|
3
|
reticle.x = targetx;
|
|
4
|
reticle.y = targety;
|
|
5
|
reticle.visible = true;
|
|
6
|
}
|
|
7
|
else
|
|
8
|
{
|
|
9
|
reticle.visible = false;
|
|
10
|
}
|
|
11
|
var aaa = 0;
|
|
12
|
if (show_outline == true)
|
|
13
|
{
|
|
14
|
if (hurttimer > 0 && (hurttimer % 2) == 0)
|
|
15
|
d3d_set_fog(true, c_white, 0, 1);
|
|
16
|
else
|
|
17
|
d3d_set_fog(true, c_black, 0, 1);
|
|
18
|
draw_sprite_ext(sprite_index, image_index, (round(x / 2) * 2) - 2, round((y + aaa) / 2) * 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
19
|
draw_sprite_ext(sprite_index, image_index, (round(x / 2) * 2) + 2, round((y + aaa) / 2) * 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
20
|
draw_sprite_ext(sprite_index, image_index, round(x / 2) * 2, (round((y + aaa) / 2) * 2) - 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
21
|
draw_sprite_ext(sprite_index, image_index, round(x / 2) * 2, (round((y + aaa) / 2) * 2) + 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
22
|
d3d_set_fog(false, c_black, 0, 0);
|
|
23
|
}
|
|
24
|
draw_sprite_ext(sprite_index, image_index, round(x / 2) * 2, round((y + aaa) / 2) * 2, image_xscale, image_yscale, 0, image_blend, image_alpha);
|
|
25
|
if (hurttimer > 0 && (hurttimer % 2) == 0)
|
|
26
|
draw_sprite_ext(hurt_sprite, image_index, round(x / 2) * 2, round(y / 2) * 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|