Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_kanako_game_console_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] = "* (An old TV and game console#  gathering dust.)"
10
        if (other.npc_flag == 0 && global.party_member != -4)
11
        {
12
            sndfnt_array[1] = 102
13
            message[1] = "* The game case has a#  hand-made cover slip.   #  "
14
            message[2] = "* \"Surface Tycoon\" it#  says.    "
15
            message[3] = "* Chujin programmed a#  video game for Kanako?  #   "
16
            message[4] = "* Wow... Must've been#  awesome to have him as a#  dad."
17
            prt[1] = 328
18
            prt[2] = 324
19
            prt[3] = 333
20
            prt[4] = 320
21
        }
22
    }
23
    npc_flag = 1
24
}