Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_moray_break_1_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (!interact)
3
    return;
4
scr_text
scr_text

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
5
switch global.dunes_flag_ext[1]
6
{
7
    case 0:
8
        with (msg)
9
        {
10
            talker[0] = other.object_index
11
            message[0] = "* What's up?"
12
            message[1] = "* ..."
13
            message[2] = "* Umm... About Martlet."
14
            message[3] = "* I totally get why you'd#  be upset but I can#  explain... I think."
15
            message[4] = "* See, if she IS a Royal#  Guard, that would cause#  problems."
16
            message[5] = "* She threatened to report#  Star to King ASGORE!"
17
            message[6] = "* One thing leads to#  another and the Wild#  East is in flames!"
18
            message[7] = "* Well... maybe."
19
            message[8] = "* I'm sure ASGORE would#  understand but there are#  others..."
20
            message[9] = "* The head of the Royal#  Guard, particularly."
21
            message[10] = "* Hopefully you didn't#  have a run-in with her."
22
            message[11] = "* I mean, I've never met#  her. I've just heard we#  look alike."
23
            prt[0] = 445
24
            prt[1] = 449
25
            prt[2] = 446
26
            prt[3] = 449
27
            prt[4] = 449
28
            prt[5] = 450
29
            prt[6] = 449
30
            prt[7] = 449
31
            prt[8] = 449
32
            prt[9] = 447
33
            prt[10] = 449
34
            prt[11] = 445
35
        }
36
        global.dunes_flag_ext[1] = 1
37
        break
38
    case 1:
39
        with (msg)
40
        {
41
            talker[0] = other.object_index
42
            message[0] = "* Don't worry!"
43
            message[1] = "* It's super fun here, I#  promise!"
44
            prt[0] = 445
45
            prt[1] = 445
46
        }
47
        break
48
}