Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_35b_bird_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
depth = -140
3
if interact
4
{
5
    scr_text
scr_text

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
6
    is_talking = 1
7
    switch npc_flag
8
    {
9
        case 0:
10
            with (msg)
11
            {
12
                message[0] = "* I remember this game working#  more efficiently in the past."
13
                message[1] = "* The air pressure seems to have#  been tampered with or something."
14
                message[2] = "* Considering this table doubles#  as the AC, that ain't good news."
15
            }
16
            npc_flag = 1
17
            break
18
        case 1:
19
            with (msg)
20
            {
21
                message[0] = "* This is the only place that#  keeps up on modern trends#  in the Dunes."
22
                message[1] = "* How do monsters live without#  good ol' electricity?"
23
                message[2] = "* Especially those Wild East#  folk!"
24
                message[3] = "* That life ain't for me."
25
            }
26
            npc_flag = 2
27
            break
28
        case 2:
29
            with (msg)
30
            {
31
                message[0] = "* By the way, I've heard talks#  of reforesting the Dunes#  lately."
32
                message[1] = "* I don't know how but#  I'm rootin' for it!"
33
            }
34
            break
35
    }
36
37
}