Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_42_b_npc_crestina_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
if (interact == 1)
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
    switch (npc_flag)
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                message[0] = "* Oh, hello little one!";
12
                message[1] = "* Are you a friend of my son's?";
13
                message[2] = "* He's always making new#  friends, I can't keep up.";
14
                message[3] = "* In any case, make yourself at#  home!";
15
            }
16
            npc_flag += 1;
17
            break;
18
        case 1:
19
            with (msg)
20
            {
21
                message[0] = "* I do hope Starlo grows out of#  this state eventually.";
22
                message[1] = "* He needs to find himself a#  wife and settle down.";
23
                message[2] = "* If only he won Ceroba's heart#  back then...";
24
                message[3] = "* I think he was too shy to take#  initiative, poor boy.";
25
                message[4] = "* When she got engaged to#  Chujin, he didn't set foot#  outside for days.";
26
                message[5] = "* I eventually had to tell him#  to move on. It was very#  difficult.";
27
                message[6] = "* Sigh... heartbreak is always#  tragic.";
28
            }
29
            npc_flag += 1;
30
            break;
31
        case 2:
32
            with (msg)
33
            {
34
                message[0] = "* I better start thinking about#  dinner...";
35
                message[1] = "* I wonder if Gilbert and Angie#  are busy?";
36
                message[2] = "* Hmm... I'm sure they're free.#  After all, there's never a bad#  time for a BBQ!";
37
            }
38
            break;
39
    }
40
}