Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cranky_snowdin_16_overworld_yellow_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
    if (global.snowdin_flag[11] == 1)
7
    {
8
        with (msg)
9
        {
10
            portrait = false
11
            sndfnt = 99
12
            message[0] = "* Strange."
13
            message[1] = "* That wasn't a handsome bridge#  last I looked."
14
            message[2] = "* Was it always that way?"
15
            message[3] = "* ..."
16
            message[4] = "* Where am I?"
17
        }
18
    }
19
    else
20
    {
21
        switch npc_flag
22
        {
23
            case 0:
24
                with (msg)
25
                {
26
                    portrait = false
27
                    sndfnt = 99
28
                    message[0] = "* Royal Guards. Thinking they're#  all special."
29
                    message[1] = "* They don't have screening#  processes like they used to."
30
                    message[2] = "* How do they interview these#  bozos?"
31
                    message[3] = "* \"Do you want to be a member of#  the Royal Guard? Yes?\""
32
                    message[4] = "* \"Here's a uniform, you start#  Monday.\""
33
                    message[5] = "* Just look at this puzzle! It#  was a perfectly nice bridge#  once!"
34
                    message[6] = "* I remember what it looked like#  as a bridge."
35
                    message[7] = "* I would have called it a pretty#  handsome bridge."
36
                    message[8] = "* Now, you can say homemade is#  \"charming\" or whatever,"
37
                    message[9] = "* But you can't call it handsome.#  No way, no way."
38
                }
39
                npc_flag = 1
40
                break
41
            case 1:
42
                with (msg)
43
                {
44
                    portrait = false
45
                    sndfnt = 99
46
                    message[0] = "* You can't just hire anyone for#  a position like this."
47
                    message[1] = "* What do they do? Advertise for#  free Royal Guard posts in the#  mail?"
48
                    message[2] = "* Despicable."
49
                }
50
                break
51
        }
52
53
    }
54
}