Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_fountainkris_ch2_sideb_Draw_0

(view raw script w/o annotations or w/e)
1
if (draw_kris)
2
{
3
    if (i_ex(obj_darkfountain))
4
    {
5
        image_blend = obj_darkfountain.colcol;
6
        siner = obj_darkfountain.siner;
7
    }
8
    else
9
    {
10
        draw_set_color(c_black);
11
        draw_rectangle(camerax(), cameray(), camerax() + view_wport[0], cameray() + view_hport[0], false);
12
        draw_set_color(c_white);
13
    }
14
    draw_sprite_ext(sprite_index, image_index, x, y - 4, 2, 2, 0, image_blend, 1);
15
    image_blend = c_black;
16
    draw_sprite_ext(sprite_index, image_index, x, (y + (sprite_height * 4)) - 8, 2, -6, 0, image_blend, 1);
17
    draw_self();
18
}