|
1
|
if (sprite_index == spr_swatchling_platter_candy)
|
|
2
|
{
|
|
3
|
}
|
|
4
|
draw_self();
|
|
5
|
if (sprite_index == spr_swatchling_platter_candy)
|
|
6
|
{
|
|
7
|
if (i_ex(obj_heart))
|
|
8
|
depth = obj_heart.depth + 1;
|
|
9
|
draw_set_alpha(telegraph_alpha);
|
|
10
|
var _x1 = x - 7;
|
|
11
|
if (_x1 < ((obj_growtangle.x + 5) - (obj_growtangle.sprite_width * 0.5)))
|
|
12
|
_x1 = (obj_growtangle.x - (obj_growtangle.sprite_width * 0.5)) + 5;
|
|
13
|
var _x2 = x + 9;
|
|
14
|
if ((_x2 + 2) > (obj_growtangle.x + (obj_growtangle.sprite_width * 0.5)))
|
|
15
|
_x2 = obj_growtangle.x + (obj_growtangle.sprite_width * 0.5);
|
|
16
|
d_rectangle_color(_x1, (obj_growtangle.y - (obj_growtangle.sprite_height * 0.5)) + 5, _x2, (obj_growtangle.y + (obj_growtangle.sprite_height * 0.5)) - 4, 65280, 65280, 65280, 65280, false);
|
|
17
|
gpu_set_fog(1, c_white, 0, 0);
|
|
18
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, telegraph_alpha);
|
|
19
|
gpu_set_fog(0, c_white, 0, 0);
|
|
20
|
draw_set_alpha(1);
|
|
21
|
}
|