Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_42b_npc_stardad_neutral_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (interact == 1)
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
    switch npc_flag
7
    {
8
        case 0:
9
            with (msg)
10
                message[0] = "* Sorry kid, I ain't got time to#  chat right now..."
11
            break
12
    }
13
14
}