Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_finger_break_1_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
if (interact)
3
{
4
    scr_text
scr_text

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
5
    is_talking = 1;
6
    switch (npc_flag)
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                message[0] = "* I'll come right out and say#  it: Yes, I am a finger.";
12
                message[1] = "* I came free with the last#  shipment of bottles.";
13
            }
14
            npc_flag = 1;
15
            break;
16
        case 1:
17
            with (msg)
18
            {
19
                message[0] = "* ...What else do you want me to#  say?";
20
                message[1] = "* Stop poking around in my#  business.";
21
            }
22
            break;
23
    }
24
}