Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_ed_break_2_Step_0

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

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
7
switch global.dunes_flag_ext[3]
8
{
9
    case 3:
10
        with (msg)
11
        {
12
            talker[0] = other.object_index
13
            message[0] = "* It's kinda irritatin'#  the last mission was#  postponed."
14
            message[1] = "* It ain't like Star to#  overlook the dress#  conditions."
15
            message[2] = "* I guess we can chalk it#  up to him havin' his#  plate full."
16
            message[3] = "* I am surprised he#  got'cha such fancy#  upgrades."
17
            message[4] = "* We didn't get that kinda#  stuff when we first#  joined."
18
            prt[0] = 451
19
            prt[1] = 453
20
            prt[2] = 451
21
            prt[3] = 451
22
            prt[4] = 454
23
        }
24
        global.dunes_flag_ext[3] += 1
25
        break
26
    case 4:
27
        with (msg)
28
        {
29
            talker[0] = other.object_index
30
            message[0] = "* No more shoppin' sprees,#  Clover!"
31
            message[1] = "* Next mission is sure to#  put you to the test!"
32
            prt[0] = 451
33
            prt[1] = 452
34
        }
35
        break
36
}