Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_couchbear_snowdin_14b_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 = 1;
6
    with (msg)
7
    {
8
        portrait = false;
9
        switch (other.npc_flag)
10
        {
11
            case 0:
12
                message[0] = "* You know why they told me to go#  on this vacation:";
13
                message[1] = "* Well, 'cause I come off as#  stressed, but you know why that#  is:";
14
                message[2] = "* I have a theory see:";
15
                message[3] = "* 'Cause there are just so many#  things in life to worry about:";
16
                message[4] = "* Work, an' laundry, an-an'#  imminent starvation, an' so on:";
17
                message[5] = "* Those are important back home,#  but here:";
18
                message[6] = "* Still important!";
19
                message[7] = "* Monsters pretend they're not#  though, an' you know what that#  is:";
20
                message[8] = "* Despicable, irresponsible,#  shameful behavior!";
21
                message[9] = "* You know how much part I'll#  have in it:";
22
                message[10] = "* None. Zip, zero, zilch:";
23
                message[11] = "* An' that's how much you should#  have too!";
24
                other.npc_flag += 1;
25
                break;
26
            case 1:
27
                message[0] = "* I just realized something:";
28
                message[1] = "* This, this anti-stress thing,#  you know what this is:";
29
                message[2] = "* The downfall of the Underground,#  that's what it is, see:";
30
                message[3] = "* Soon Monsters will stop doing#  the important things:";
31
                message[4] = "* The work, an' laundry, an'#  such:";
32
                message[5] = "* Completely undone, an' you know#  why:";
33
                message[6] = "* Too much to worry about, that's#  what they'll say!";
34
                message[7] = "* Toxic, toxic behavior!";
35
                other.npc_flag += 1;
36
                break;
37
            case 2:
38
                message[0] = "* Can't wait until this vacation#  is over, you see:";
39
                message[1] = "* At this altitude:";
40
                message[2] = "* So much to worry about,#  like-like:";
41
                message[3] = "* Dehydration, you know what that#  causes:";
42
                message[4] = "* Altitude sickness!";
43
                message[5] = "* Now don't you go drinking that#  coffee:";
44
                message[6] = "* Dries you right out!";
45
                break;
46
        }
47
    }
48
}