Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_theorist_snowdin_14d_overworld_yellow_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 = true;
6
    switch (npc_flag)
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                portrait = false;
12
                sndfnt = 99;
13
                message[0] = "* There is a torch on one side...";
14
                message[1] = "* But not on the other...";
15
                message[2] = "* The feng shui of this place is#  terrible.";
16
            }
17
            npc_flag = 1;
18
            break;
19
        case 1:
20
            with (msg)
21
            {
22
                portrait = false;
23
                sndfnt = 99;
24
                message[0] = "* Wait...";
25
                message[1] = "* WHAT IF THERE IS A DEEPER#  MEANING TO IT?";
26
                message[2] = "* THE TORCH IS A METAPHOR FOR THE#  INCOMPLETE NATURE OF LIFE.";
27
                message[3] = "* I'LL NEVER LOOK AT THE#  UNDERGROUND THE SAME WAY AGAIN.";
28
            }
29
            npc_flag = 2;
30
            break;
31
        case 2:
32
            with (msg)
33
            {
34
                portrait = false;
35
                sndfnt = 99;
36
                message[0] = "* HNNNNGGGGHHHHH";
37
            }
38
            break;
39
    }
40
}