Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_gamer_break_6_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if interact
3
{
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
    is_talking = 1
6
    if (global.dunes_flag[24] == 1)
7
    {
8
        switch npc_flag
9
        {
10
            case 0:
11
                with (msg)
12
                {
13
                    portrait = false
14
                    sndfnt = 99
15
                    message[0] = "* Yo, exciting news."
16
                    message[1] = "* I just built myself a new#  computer and guess what?"
17
                    message[2] = "* You can play GAMES on it!"
18
                    message[3] = "* Sorry North Star but I'm never#  leaving my room again!!!"
19
                }
20
                npc_flag += 1
21
                break
22
            case 1:
23
                with (msg)
24
                {
25
                    portrait = false
26
                    sndfnt = 99
27
                    message[0] = "* There's these videos on#  Undernet of monsters playing#  Love Blaster."
28
                    message[1] = "* I'll tell ya what, they're#  playing it all wrong!"
29
                    message[2] = "* You're supposed to GRAB the#  powerups, not avoid them!!"
30
                    message[3] = "* Also, Mew mew doesn't \"shoot#  bullets\", she spreads joy"
31
                    message[4] = "* It's so obvious they haven't#  studied the deep lore like I#  have."
32
                }
33
                npc_flag += 1
34
                break
35
            case 2:
36
                with (msg)
37
                {
38
                    portrait = false
39
                    sndfnt = 99
40
                    message[0] = "* You should come over#  sometime."
41
                    message[1] = "* We could play a co-op game!"
42
                }
43
                break
44
        }
45
46
    }
47
    else if (global.dunes_flag[24] == 2)
48
    {
49
        switch npc_flag
50
        {
51
            case 0:
52
                with (msg)
53
                {
54
                    portrait = false
55
                    sndfnt = 99
56
                    message[0] = "* Yo, exciting news."
57
                    message[1] = "* I just built myself a new#  computer and guess what?"
58
                    message[2] = "* You can play GAMES on it!"
59
                    message[3] = "* Isn't that awesome???"
60
                    message[4] = "* Why don't you look excited?"
61
                    message[5] = "* ...Alright then, sorry I#  brought it up."
62
                }
63
                npc_flag += 1
64
                break
65
            case 1:
66
                with (msg)
67
                {
68
                    portrait = false
69
                    sndfnt = 99
70
                    message[0] = "* Forget about the game stuff."
71
                    message[1] = "* I'm more of a single-player#  type anyway."
72
                }
73
                break
74
        }
75
76
    }
77
}