Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sorn_geno_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
        portrait = false
9
        switch other.npc_flag
10
        {
11
            case 0:
12
                message[0] = "* This is a strange turn of#  events."
13
                message[1] = "* I wonder where everyone ran off#  to?"
14
                message[2] = "* I don't suppose you know."
15
                other.npc_flag += 1
16
                break
17
            case 1:
18
                message[0] = "* I hope this evacuation doesn't#  last too long."
19
                message[1] = "* I wanna get back up there and#  jam."
20
                break
21
        }
22
23
    }
24
}