Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_big_boss_backtrack_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if interact
3
{
4
    switch npc_flag
5
    {
6
        case 0:
7
            is_talking = 1
8
            scr_text
scr_text

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
9
            with (msg)
10
            {
11
                message[0] = "* I figured out where#  those boulders were#  coming from.	"
12
                message[1] = "* Turns out North Star#  set the machines up for#  \"Feisty Missions.\"	"
13
                message[2] = "* Had a friendly chat#  with him about it all.	"
14
                message[3] = "* He immediately#  apologized so... I#  forgave him.	"
15
                message[4] = "* How could I say no to#  his overwhelming charm?	"
16
                message[5] = "* I'm only monster."
17
                prt[0] = 359
18
                prt[1] = 359
19
                prt[2] = 359
20
                prt[3] = 361
21
                prt[4] = 362
22
                prt[5] = 359
23
            }
24
            npc_flag++
25
            break
26
        case 1:
27
            is_talking = 1
28
            scr_text
scr_text

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
29
            with (msg)
30
            {
31
                message[0] = "* I figured out where#  those boulders were#  coming from.	"
32
                message[1] = "* Turns out North Star#  set the machines up for#  \"Feisty Missions.\"	"
33
                message[2] = "* Had a friendly chat#  with him about it all.	"
34
                message[3] = "* He immediately#  apologized so... I#  forgave him.	"
35
                message[4] = "* How could I say no to#  his overwhelming charm?	"
36
                message[5] = "* I'm only monster."
37
                prt[0] = 359
38
                prt[1] = 359
39
                prt[2] = 359
40
                prt[3] = 361
41
                prt[4] = 362
42
                prt[5] = 359
43
            }
44
            npc_flag++
45
            break
46
        case 2:
47
            is_talking = true
48
            scr_text
scr_text

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
49
            with (msg)
50
            {
51
                sndfnt = 99
52
                message[0] = "* As my old man used to#  say: mine on, kid!	"
53
                message[1] = "* ...	"
54
                message[2] = "* Okay, he uh... he never#  said that. I said that.#  Just now."
55
                prt[0] = 359
56
                prt[1] = 361
57
                prt[2] = 362
58
            }
59
            break
60
    }
61
62
}