Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_bubblo_break_1_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] = "* The saloon isn't always this#  crowded."
12
                message[1] = "* It's Happy Hour, you see? Half#  price drinks!"
13
                message[2] = "* But you don't know that so#  they'll continue to sell you#  full price drinks."
14
            }
15
            npc_flag = 1
16
            break
17
        case 1:
18
            with (msg)
19
            {
20
                message[0] = "* Whatever you do, do NOT come#  here during Crappy Hour!"
21
                message[1] = "* The drinks are TWICE as#  expensive and Dina throws a#  punch at whoever orders one!"
22
                message[2] = "* Upside is you get a coupon for#  10% off your clinic visit at#  the end."
23
            }
24
            npc_flag = 2
25
            break
26
        case 2:
27
            with (msg)
28
            {
29
                message[0] = "* I would love to stick around#  for your stay but I got a#  cactus to hug."
30
                message[1] = "* ...What's with the look?"
31
                message[2] = "* So I have a boyfriend. Get#  over it???"
32
            }
33
            break
34
    }
35
36
}