Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_bartender_geno_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] = "* . . ."
12
                message[1] = "* I ain't gonna make you a drink#  if that's what you want."
13
            }
14
            npc_flag = 1
15
            break
16
        case 1:
17
            with (msg)
18
            {
19
                message[0] = "* I know what you did..."
20
                message[1] = "* Naive fool... I tried to warn#  him."
21
                message[2] = "* And Ceroba... She lost to you?#  You must be feelin' real lucky."
22
                message[3] = "* . . ."
23
                message[4] = "* I have nothin' but hatred#  runnin' through me, but I know#  I wouldn't stand a chance."
24
                message[5] = "* So here I am, cooped up while#  everyone else..."
25
                message[6] = "* . . ."
26
                message[7] = "* If you aren't going to kill#  me, let me mourn my family in#  peace."
27
                message[8] = "* Star might've only been a#  target to you but..."
28
                message[9] = "* He was more of a hero than#  you'll ever be."
29
                message[10] = "* Now..."
30
                message[11] = "* Get out of my saloon."
31
            }
32
            npc_flag = 2
33
            break
34
        case 2:
35
            with (msg)
36
                message[0] = "* . . ."
37
            break
38
    }
39
40
}