Undertale script viewer

← back to main script listing

gml_Object_obj_talkbt_Step_0

(view raw script w/o annotations or w/e)
1
image_index = 0;
2
if (global.bmenucoord[0] == 1)
3
{
4
    if (global.myfight == 0)
5
    {
6
        if (global.mnfight == 0)
7
            image_index = 1;
8
    }
9
    if (global.bmenuno == 0)
10
    {
11
        obj_heart.x = x + 8;
12
        obj_heart.y = y + 14;
13
    }
14
}
15
if (spec == 1)
16
{
17
    spec_x += 1;
18
    image_blend = make_color_hsv(spec_x * 12, 160, 255);
19
}