Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_ace_break_2_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (global.dunes_flag_ext[2] < 3)
3
    global.dunes_flag_ext[2] = 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[2]
8
{
9
    case 3:
10
        with (msg)
11
        {
12
            talker[0] = other.object_index
13
            message[0] = "* I think a \"thank you\" is#  in order."
14
            message[1] = "* You just received some#  high-tier gifts. For#  free, no less."
15
            message[2] = "* I do have an eye for#  that sort of thing."
16
            prt[0] = 435
17
            prt[1] = 435
18
            prt[2] = 436
19
        }
20
        global.dunes_flag_ext[2] = 4
21
        break
22
    case 4:
23
        with (msg)
24
        {
25
            talker[0] = other.object_index
26
            message[0] = "* Don't get the impression#  that I'm opening up or#  anything."
27
            message[1] = "* It takes a long time for#  me to become \"buddy#  buddy\" with someone."
28
            prt[0] = 437
29
            prt[1] = 439
30
        }
31
        global.dunes_flag_ext[2] = 5
32
        break
33
    case 5:
34
        with (msg)
35
        {
36
            talker[0] = other.object_index
37
            message[0] = "* ..."
38
            prt[0] = 437
39
        }
40
        break
41
}