Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_hotland_heats_waitsman_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
    with (msg)
7
    {
8
        switch other.npc_flag
9
        {
10
            case 0:
11
                message[0] = "* Come on, I GOTTA be on the#  guest list!"
12
                message[1] = "* Everybody knows my name!"
13
                other.npc_flag++
14
                break
15
            case 1:
16
                message[0] = "* Any time now the bouncer's#  memory of me will come rushing#  back."
17
                message[1] = "* Surprised it's taking this#  long."
18
                other.npc_flag++
19
                break
20
            case 2:
21
                message[0] = "* If all else fails, I'll just#  dance out here. No one could#  stop me."
22
                break
23
        }
24
25
    }
26
}