Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_fan_fan_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() { 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] = "* Bro, I came to the club to let#  loose and boogie, not wait in#  line!";
12
                message[1] = "* \"It's crab hour!\" is what they#  keep telling me. \"It's crab#  hour!\"";
13
                other.npc_flag++;
14
                break;
15
            case 1:
16
                message[0] = "* Who says I'm NOT a crab? Like,#  they sure are putting me in a#  crabby mood!";
17
                message[1] = "* That, and I haven't trimmed my#  fingernails in months.";
18
                message[2] = "* I could pinch someone so hard#  with these puppies.";
19
                other.npc_flag++;
20
                break;
21
            case 2:
22
                message[0] = "* The moment crab hour ends is#  the moment I seize the floor and#  get DOWN.";
23
                message[1] = "* You can quote me on that, bro.";
24
                break;
25
        }
26
    }
27
}