Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_hotland_frostermit_hotland_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] = "* Hehe!"
12
                message[1] = "* I freaking suck at dancing!"
13
                break
14
        }
15
16
    }
17
}