Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_ceroba_break_4_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (!interact)
3
    return;
4
if (global.dunes_flag_ext[6] < 3)
5
    global.dunes_flag_ext[6] = 3
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[6]
8
{
9
    case 3:
10
        with (msg)
11
        {
12
            talker[0] = other.object_index
13
            message[0] = "* Hm?"
14
            message[1] = "* Oh, it's you."
15
            message[2] = "* Sorry, I was just#  looking at Star's#  videotapes."
16
            message[3] = "* Mostly human-made#  westerns that found#  their way here."
17
            message[4] = "* That and the classic#  \"Aerobics 4 Five.\" That#  one gets used often."
18
            message[5] = "* Man, these really take#  me back."
19
            message[6] = "* I remember the day Star#  ran from Waterfall with#  these in his arms."
20
            message[7] = "* He was ecstatic. I#  recall it being strange#  to see him act that way."
21
            message[8] = "* He must've watched them#  all forward and backward,#  fifty times over."
22
            message[9] = "* When Kanako came around,#  he'd watch them with her#  just as mu...."
23
            message[10] = "* ..."
24
            message[11] = "* Uh-yeah. They're good#  movies. That's what I'm#  getting at."
25
            prt[0] = 370
26
            prt[1] = 372
27
            prt[2] = 370
28
            prt[3] = 370
29
            prt[4] = 372
30
            prt[5] = 394
31
            prt[6] = 370
32
            prt[7] = 372
33
            prt[8] = 377
34
            prt[9] = 394
35
            prt[10] = 370
36
            prt[11] = 372
37
        }
38
        global.dunes_flag_ext[6] = 4
39
        break
40
    case 4:
41
        with (msg)
42
        {
43
            talker[0] = other.object_index
44
            message[0] = "* I um... I have a habit#  of drowning in nostalgia#  from time to time."
45
            message[1] = "* I apologize. It's super#  cheesy, I'm sure."
46
            message[2] = "* It just... helps. To#  remember the good times."
47
            message[3] = "* It helps."
48
            prt[0] = 388
49
            prt[1] = 394
50
            prt[2] = 370
51
            prt[3] = 377
52
        }
53
        global.dunes_flag_ext[6] = 5
54
        break
55
    case 5:
56
        with (msg)
57
        {
58
            talker[0] = other.object_index
59
            message[0] = "* Get out of my hair#  before you die of#  melodrama, will you?"
60
            message[1] = "* I'm fine, trust me."
61
            message[2] = "* You need to focus on#  passing your training. "
62
            prt[0] = 377
63
            prt[1] = 394
64
            prt[2] = 372
65
        }
66
        global.dunes_flag_ext[6] = 6
67
    case 6:
68
        with (msg)
69
        {
70
            talker[0] = other.object_index
71
            message[0] = "* You should get going.#  You don't wanna miss#  your next mission."
72
            prt[0] = 394
73
        }
74
        break
75
}