Undertale script viewer

← back to main script listing

gml_Object_obj_chairiel_Step_1

(view raw script w/o annotations or w/e)
1
if (global.plot < 19.9)
2
{
3
    if (instance_exists(obj_face_torieltalk))
4
        image_index = obj_face_torieltalk.image_index;
5
    else
6
        image_index = 0;
7
    script_execute(scr_npcdir, 2);
8
}
9
if (global.plot == 19.9 && instance_exists(obj_dialoguer) == 0)
10
{
11
    sprite_index = spr_chairielgetup;
12
    image_index = 0;
13
    image_speed = 0.2;
14
    global.interact = 1;
15
    global.plot = 20;
16
}