Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_chefs_customer_Draw_0

(view raw script w/o annotations or w/e)
1
if (!tenna)
2
{
3
    draw_self();
4
}
5
else
6
{
7
    draw_sprite_ext(spr_whitepixel, 0, camerax(), cameray() + 404, camerawidth(), 100, 0, c_black, 1);
8
    var index = 0;
9
    if (sprite_index == sprEat)
10
        index = 1;
11
    draw_sprite_ext(spr_tenna_grasp_chef, index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
12
}
13
if (!leaving && food_type > -1)
14
    draw_sprite_ext(spr_chefs_food, food_type, x, y, 2, 2, 0, c_white, 1);
15
if (foods_needed > 1)
16
{
17
    draw_set_font(fnt_mainbig);
18
    draw_set_halign(fa_center);
19
    draw_set_color(c_black);
20
    draw_set_color(c_white);
21
}