Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_block_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() { 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 whole situation is#  terrible.";
13
                message[1] = "* It's too depressing to play#  music now.";
14
                message[2] = "* I hope everyone's okay.";
15
                other.npc_flag += 1;
16
                break;
17
            case 1:
18
                message[0] = "* We probably should've left#  with the others but Rodney#  insisted we stay.";
19
                message[1] = "* Think he's in denial or#  something...";
20
                break;
21
        }
22
    }
23
}