|
1
|
draw_sprite_ext(sprite_index, image_index, scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (x), scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (y), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
2
|
if (active)
|
|
3
|
{
|
|
4
|
timer++;
|
|
5
|
if (glow)
|
|
6
|
{
|
|
7
|
var glowamt = round(sin(timer / glowspeed) * glowrate) / glowrate;
|
|
8
|
glowamt = 1;
|
|
9
|
gpu_set_fog(true, glowcolor, 0, 0);
|
|
10
|
draw_sprite_ext(sprite_index, image_index, scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (x), scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (y), image_xscale, image_yscale, image_angle, image_blend, glowamt);
|
|
11
|
gpu_set_fog(false, c_white, 0, 0);
|
|
12
|
}
|
|
13
|
}
|