Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_mooch_break_6_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
if (global.dunes_flag_ext[0] < 6)
3
    global.dunes_flag_ext[0] = 6;
4
if (!interact)
5
    exit;
6
scr_text
scr_text

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
7
switch (global.dunes_flag_ext[0])
8
{
9
    case 6:
10
        with (msg)
11
        {
12
            talker[0] = other.object_index;
13
            message[0] = "* Hey Clover.";
14
            message[1] = "* Sorry we kinda ruined#  your fun.\t";
15
            message[2] = "* It really wasn't your#  fault, you were just#  strung along.\t";
16
            message[3] = "* Anyway... I feel bad#  about the whole thing.\t";
17
            message[4] = "* Need to talk to Star#  about it as soon as#  possible.";
18
            prt[0] = 462;
19
            prt[1] = 455;
20
            prt[2] = 455;
21
            prt[3] = 455;
22
            prt[4] = 455;
23
        }
24
        global.dunes_flag_ext[0] += 1;
25
        break;
26
    case 7:
27
        with (msg)
28
        {
29
            talker[0] = other.object_index;
30
            message[0] = "* The others needed a#  little more time.";
31
            message[1] = "* I might've... snuck#  away while they were#  occupied.";
32
            message[2] = "* It's what I do best!#  Heh heh...";
33
            prt[0] = 455;
34
            prt[1] = 463;
35
            prt[2] = 463;
36
        }
37
        global.dunes_flag_ext[0] += 1;
38
        break;
39
    case 8:
40
        with (msg)
41
        {
42
            talker[0] = other.object_index;
43
            message[0] = "* I won't blame you if#  you wanna ditch this#  town.";
44
            message[1] = "* Hope you had a decent#  time, though!";
45
            message[2] = "* Ya know... before#  everything.";
46
            prt[0] = 455;
47
            prt[1] = 455;
48
            prt[2] = 455;
49
        }
50
        break;
51
}