Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_bowll_head_a_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha)
2
if (nostril_draw >= 0 && image_alpha > 0)
3
{
4
    if (sprite_index == spr_bowll_head_normal)
5
    {
6
        draw_sprite_ext(spr_bowll_nostrils_snort_shadow, 0, x, y, image_xscale, image_yscale, image_angle, c_white, 1)
7
        draw_sprite_ext(spr_bowll_nostrils_snort, nostril_draw, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha)
8
    }
9
    else if (sprite_index == spr_bowll_head_grateful)
10
    {
11
        draw_sprite_ext(spr_bowll_nostrils_snort_shadow, 0, x, (y - 2), image_xscale, image_yscale, image_angle, c_white, 1)
12
        draw_sprite_ext(spr_bowll_nostrils_snort, nostril_draw, x, (y - 2), image_xscale, image_yscale, image_angle, c_white, image_alpha)
13
    }
14
    else if (sprite_index == spr_bowll_head_critical)
15
    {
16
        draw_sprite_ext(spr_bowll_nostrils_snort_shadow, 0, x, (y - 4), image_xscale, image_yscale, image_angle, c_white, 1)
17
        draw_sprite_ext(spr_bowll_nostrils_snort, nostril_draw, x, (y - 4), image_xscale, image_yscale, image_angle, c_white, image_alpha)
18
    }
19
}