Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_office_workstation_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
    with (msg)
7
    {
8
        sndfnt_array[0] = 391
9
        message[0] = "* (Gizmos and gadgets#  fill the deskspace.)"
10
        message[1] = "* (Looming over it all...#  a map)"
11
        message[2] = "* (On the map are several#  pinned locations of...)"
12
        message[3] = "* (...)"
13
        if (other.npc_flag == 0 && global.party_member != -4)
14
        {
15
            sndfnt_array[4] = 102
16
            message[4] = "* This isn't what Ed was#  talking about, right?"
17
            message[5] = "* I mean, this is clearly#  Chujin's office but..."
18
            message[6] = "* I wouldn't say it's#  strange to keep track of#  where humans..."
19
            message[7] = "* Sorry... I'm sure this#  is upsetting to look at."
20
            message[8] = "* Still, many monsters do#  keep up with it."
21
            message[9] = "* Those events are a big#  deal down here."
22
            prt[4] = 311
23
            prt[5] = 324
24
            prt[6] = 338
25
            prt[7] = 329
26
            prt[8] = 321
27
            prt[9] = 320
28
        }
29
    }
30
    npc_flag = 1
31
}