Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_35b_panda_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
    switch npc_flag
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                message[0] = "* Have you given up your life#  of being a wrangler to#  experience MODERNISM?"
12
                message[1] = "* I highly suggest doing so,#  it is the most prestigious#  life one could choose."
13
                message[2] = "* Chic architecture, light#  switches, latte machines...#  it's all here."
14
                message[3] = "* Once you indulge, you#  can't stop!"
15
            }
16
            npc_flag = 1
17
            break
18
        case 1:
19
            with (msg)
20
            {
21
                message[0] = "* Why do I choose to live in#  the Dunes and not somewhere#  modern like Hotland?"
22
                message[1] = "* Because I wanna feel#  important."
23
                message[2] = "* If I walk around using tech#  in front of monsters who#  don't, I'm the cool one."
24
                message[3] = "* I'm probably the most#  secure monster around."
25
            }
26
            npc_flag = 2
27
            break
28
        case 2:
29
            with (msg)
30
            {
31
                message[0] = "* I need to invest in a nice#  suit to really sell my#  status."
32
                message[1] = "* Gotta say, there's something#  incredibly unsettling about#  not wearing clothes."
33
            }
34
            break
35
    }
36
37
}