Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_guardener_bot_1_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] = "* oh hey. no hard feelings about#  the fight earlier.";
12
                message[1] = "* like sure, we kinda broke the#  first law of robotics but tbh,#  we live in a lawless land. ";
13
                message[2] = "* anarchy reigns in this#  metallic hellscape.";
14
            }
15
            npc_flag += 1;
16
            break;
17
        case 1:
18
            with (msg)
19
            {
20
                message[0] = "* the three of us are the last#  Lil Bots around.";
21
                message[1] = "* only became that way an hour#  ago.";
22
                message[2] = "* one of our models rallied#  seven others to high dive into#  the burning lake.";
23
                message[3] = "* why? beats me.";
24
                message[4] = "* apparently the stuff tastes#  good but the calories can't be#  good for you.";
25
                message[5] = "* it's also, like, 300 degrees#  celsius.";
26
            }
27
            npc_flag += 1;
28
            break;
29
        case 2:
30
            with (msg)
31
                message[0] = "* sorry i'm out of dialogue.";
32
            break;
33
    }
34
}