Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_guardener_bot_3_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
if (interact == 1)
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] = "* do you know where guardener#  went?";
12
                message[1] = "* i felt we really hit it off.";
13
                message[2] = "* i'm thinking of calling her up#  for work inquiries - aka asking#  her out on a hot date.";
14
                message[3] = "* i know bot love is forbidden#  but that makes it ten times#  more exciting.";
15
                message[4] = "* and besides, they can't smite#  the smitten.";
16
                message[5] = "* not as long as i'm strapped.";
17
            }
18
            npc_flag += 1;
19
            break;
20
        case 1:
21
            with (msg)
22
            {
23
                message[0] = "* i see you carry a sidearm#  yourself.";
24
                message[1] = "* a sixshooter, right? reliable,#  stylish, i like it.";
25
                message[2] = "* make sure to be responsible#  with it.";
26
                message[3] = "* it's \"safety first\" in the#  steamworks after all.";
27
            }
28
            npc_flag += 1;
29
            break;
30
        case 2:
31
            with (msg)
32
            {
33
                message[0] = "* i gotta start thinking of what#  to wear on my date.";
34
                message[1] = "* saw a fella in a nice vest and#  hat earlier.";
35
                message[2] = "* maybe i could get some advice#  from him.";
36
            }
37
            break;
38
    }
39
}