Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_virgil_break_2_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
    is_talking = 1
6
    switch npc_flag
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                message[0] = "* Hey! Go away before I'm caug-"
12
                message[1] = "* I mean, I was released by#  Star... Yeah."
13
                message[2] = "* No problems here."
14
            }
15
            npc_flag = 1
16
            break
17
        case 1:
18
            with (msg)
19
            {
20
                message[0] = "* Shh... I'm not here."
21
                message[1] = "* You never saw me."
22
            }
23
            break
24
    }
25
26
}