Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_smokey_backtrack_Step_0

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

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
6
    switch (npc_flag)
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                portrait = false;
12
                sndfnt = 99;
13
                message[0] = "* Just tricked some chump into#  doin' my job for me.\t";
14
                message[1] = "* Told 'em the Foreman wanted#  him on minecart duty, ha!\t";
15
                message[2] = "* What's with that look? It was#  only a prank.";
16
            }
17
            npc_flag++;
18
            break;
19
        case 1:
20
            with (msg)
21
            {
22
                portrait = false;
23
                sndfnt = 99;
24
                message[0] = "* 'Ay, why you starin'?";
25
                message[1] = "* I swear, it's all you kids do!";
26
            }
27
            npc_flag++;
28
            break;
29
        case 2:
30
            with (msg)
31
            {
32
                portrait = false;
33
                sndfnt = 99;
34
                message[0] = "* Don'tcha have somewhere to#  be?\t";
35
                message[1] = "* Hopscotch game or somethin'?\t";
36
                message[2] = "* Go on, get!";
37
            }
38
            break;
39
    }
40
}