Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_rodney_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] = "* We were in the middle of our#  set when everyone started#  leaving."
13
                message[1] = "* At first I thought our music#  was that bad, but then they#  said there was danger."
14
                message[2] = "* Surely it's not what I think#  it is...	"
15
                message[3] = "* Not again..."
16
                other.npc_flag += 1
17
                break
18
            case 1:
19
                message[0] = "* Uh... yeah, sorry we had to#  cancel the show."
20
                message[1] = "* We have a gig in Waterfall#  next week. Catch us later."
21
                break
22
        }
23
24
    }
25
}