Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_miner_bryan_backtrack_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
                portrait = false
12
                sndfnt = 99
13
                message[0] = "* Oh, hey."
14
                message[1] = "* I'm just uh, admiring the#  view."
15
                message[2] = "* I was just on my way to talk#  to the Foreman. Yep."
16
            }
17
            npc_flag++
18
            break
19
        case 1:
20
            with (msg)
21
            {
22
                portrait = false
23
                sndfnt = 99
24
                message[0] = "* The boulders stopped falling a#  while ago."
25
                message[1] = "* My teacher never taught me it#  could rain rocks down here."
26
                message[2] = "* Weather... crazy stuff."
27
            }
28
            npc_flag++
29
            break
30
        case 2:
31
            with (msg)
32
            {
33
                portrait = false
34
                sndfnt = 99
35
                message[0] = "* Well, I'm gonna go soon."
36
                message[1] = "* Hope my eternal gratitude#  helped you!"
37
            }
38
            break
39
    }
40
41
}