Undertale script viewer

← back to main script listing

gml_Object_obj_alphys_friendscene_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(spr_adate_bodycoat, 0, x, y, 2, 2, 0, c_white, image_alpha);
2
if (shock == 0)
3
{
4
    if (smooch == 0)
5
        draw_sprite_ext(spr_adate_head, face, x, y, 2, 2, 0, c_white, image_alpha);
6
    if (smooch == 1)
7
    {
8
        if (smooch_ang > -50)
9
        {
10
            smooch_ang -= 0.5;
11
            s_i += 0.25;
12
        }
13
        draw_sprite_ext(spr_adate_smooch, floor(s_i), x + 44, y + 40, 2, 2, smooch_ang, c_white, image_alpha);
14
    }
15
    if (smooch == 2)
16
    {
17
        if (smooch_ang > -50)
18
        {
19
            smooch_ang -= 0.5;
20
            s_i += 0.25;
21
        }
22
        draw_sprite_ext(spr_adate_smooch_s, floor(s_i), x + 44, y + 40, 2, 2, smooch_ang, c_white, image_alpha);
23
    }
24
}
25
if (shock == 1)
26
    draw_sprite_ext(spr_alphysface_hit, 0, x, y - 2, 2, 2, 0, c_white, 1);