Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cabin_fireburn_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
if (global.geno_complete[2])
3
    exit;
4
image_speed = 0.2;
5
if (interact)
6
{
7
    scr_text
scr_text

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
8
    with (msg)
9
    {
10
        portrait = false;
11
        switch (other.npc_flag)
12
        {
13
            case 0:
14
                message[0] = "* Hey, have you seen those#  loiterers outside?";
15
                message[1] = "* They keep telling me they're a#  well-renowned gang.";
16
                message[2] = "* But I've never heard of them#  before.";
17
                message[3] = "* Maybe I really am getting to be#  out of the loop.";
18
                other.npc_flag += 1;
19
                break;
20
            case 1:
21
                message[0] = "* Maybe I'll check out the band#  inside.";
22
                message[1] = "* I hear they're pretty kickin'.";
23
                message[2] = "* I hope I'm hip enough to#  appreciate them at least.";
24
                break;
25
        }
26
    }
27
}