Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_titan_wing_marker_Draw_0

(view raw script w/o annotations or w/e)
1
exit;
2
if (!i_ex(obj_titan_heal_orb))
3
    exit;
4
with (obj_titan_enemy)
5
{
6
    draw_sprite_ext(other.sprite_index, 6, x + other.xoff, y + other.yoff, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
7
    if (darktimer > 0)
8
    {
9
        d3d_set_fog(true, c_black, 0, 1);
10
        draw_sprite_ext(other.sprite_index, 6, x + other.xoff, y + other.yoff, image_xscale, image_yscale, image_angle, image_blend, other.fog_alpha);
11
        d3d_set_fog(false, c_black, 0, 0);
12
    }
13
    if (greenflashtimer > 0)
14
    {
15
        d3d_set_fog(true, c_lime, 0, 1);
16
        draw_sprite_ext(other.sprite_index, 6, x + other.xoff, y + other.yoff, image_xscale, image_yscale, image_angle, image_blend, greenflashtimer / 10);
17
        d3d_set_fog(false, c_black, 0, 0);
18
    }
19
}