Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_backtrack_crispy_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] = "* I got to go back."
14
                message[1] = "* I want to go back to the#  Ruins."
15
                message[2] = "* The dump was a total bust!"
16
                message[3] = "* No anime to be found at ALL!"
17
                message[4] = "* Just like, eight identical#  piles of trash. It sucked!"
18
            }
19
            npc_flag = 1
20
            break
21
        case 1:
22
            with (msg)
23
            {
24
                portrait = false
25
                sndfnt = 99
26
                talker[0] = other
27
                message[0] = "* In the Ruins, I could power up#  freely."
28
                message[1] = "* No one minded me screaming#  down those purple halls."
29
                message[2] = "* Out here, there's all these#  monsters just waiting to JUDGE#  me."
30
                message[3] = "* Like, come on."
31
                message[4] = "* I'm not \"disturbing the#  peace\", I'm becoming god."
32
            }
33
            npc_flag = 2
34
            break
35
        case 2:
36
            with (msg)
37
            {
38
                portrait = false
39
                sndfnt = 99
40
                talker[0] = other
41
                message[0] = "* Sorry for the attitude."
42
                message[1] = "* The main character trait of my#  current power tier is \"easily#  pissed.\""
43
                message[2] = "* Out of my control."
44
            }
45
            npc_flag = 3
46
            break
47
        case 3:
48
            with (msg)
49
            {
50
                portrait = false
51
                sndfnt = 99
52
                talker[0] = other
53
                message[0] = "* I bet some anime would help me#  unwind."
54
                message[1] = "* There's this one show you#  should totally check out."
55
                message[2] = "* It's over 1,000 episodes but#  I'm sure you could catch up#  within a few weeks."
56
                message[3] = "* Just let me know and we'll#  begin the marathon!"
57
            }
58
            npc_flag = 4
59
            break
60
        case 4:
61
            with (msg)
62
            {
63
                portrait = false
64
                sndfnt = 99
65
                talker[0] = other
66
                message[0] = "* We can talk more later."
67
                message[1] = "* Right now, I gotta figure out#  where to begin my next arc."
68
            }
69
            break
70
    }
71
72
}