Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_backtrack_theorist_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() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
5
    switch npc_flag
6
    {
7
        case 0:
8
            with (msg)
9
            {
10
                portrait = false
11
                sndfnt = 99
12
                talker[0] = other
13
                message[0] = "* What's out there? What's out#  there??"
14
                message[1] = "* No! Follow the path. FOLLOW#  THE PATH."
15
            }
16
            npc_flag = 1
17
            break
18
        case 1:
19
            with (msg)
20
            {
21
                portrait = false
22
                sndfnt = 99
23
                talker[0] = other
24
                message[0] = "* WHO'S PULLING THE STRINGS,#  HUH???"
25
                message[1] = "* A WILL AIN'T FREE. LOSS IS#  CERTAIN."
26
            }
27
            npc_flag = 2
28
            break
29
        case 2:
30
            with (msg)
31
            {
32
                portrait = false
33
                sndfnt = 99
34
                talker[0] = other
35
                message[0] = "* hNNNNNNG."
36
            }
37
            break
38
    }
39
40
}