Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_hotland_diamond_boy_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
        switch (other.npc_flag)
9
        {
10
            case 0:
11
                message[0] = "* I'm not sure I meet the#  requirements to set foot in the#  club.";
12
                message[1] = "* My age isn't the problem, it's#  that I never got my Dancer's#  License.";
13
                other.npc_flag++;
14
                break;
15
            case 1:
16
                message[0] = "* I'm tired of putting in effort#  for entertainment.";
17
                message[1] = "* When will someone come along#  that spoon-feeds fun to me?";
18
                message[2] = "* That will be the day.";
19
                other.npc_flag++;
20
                break;
21
            case 2:
22
                message[0] = "* Guess it won't hurt to wait in#  line a little longer.";
23
                break;
24
        }
25
    }
26
}