Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_office_cabinet_r_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] = "* (Expertly organized#  files, labeled with#  numerous monster names.)"
10
        if (other.npc_flag == 0 && global.party_member != -4)
11
        {
12
            sndfnt_array[1] = 102
13
            message[1] = "* Did he keep records of#  everyone he befriended?"
14
            message[2] = "* Sandra, Luis, Dr. Fish,#  Rosa, Martlet..."
15
            message[3] = "* Wait, Martlet???"
16
            message[4] = "* He found another#  monster with my name???"
17
            message[5] = "* I can't believe that#  never came up!#"
18
            prt[1] = 338
19
            prt[2] = 324
20
            prt[3] = 333
21
            prt[4] = 330
22
            prt[5] = 311
23
        }
24
    }
25
    npc_flag = 1
26
}