Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_micro_hotspring_snowdin_14e_overworld_yellow_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
image_speed = 0.5;
3
if (interact)
4
{
5
    scr_text
scr_text

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
6
    if (global.geno_complete[2])
7
    {
8
        with (msg)
9
        {
10
            message[0] = "* A small hot spring.";
11
            message[1] = "* The water is getting cold.";
12
        }
13
        exit;
14
    }
15
    switch (npc_flag)
16
    {
17
        case 0:
18
            with (msg)
19
            {
20
                portrait = false;
21
                message[0] = "* (How quaint!";
22
                message[1] = "* (Several Micro Froggits are#  enjoying themselves at their#  very own hot spring.)";
23
                message[2] = "* (One of them even brought#  micro-floaties!)";
24
                message[3] = "* (Another sips its micro-coffee#  then waves at you.)";
25
                message[4] = "* (Looks like the Honeydew Resort#  thought of everyone!)";
26
            }
27
            npc_flag += 1;
28
            break;
29
        case 1:
30
            with (msg)
31
            {
32
                portrait = false;
33
                message[0] = "* You watch as one Micro Froggit#  swims back and forth.";
34
                message[1] = "* It's swimming at an incredible#  speed of 140,000 centimeters#  per hour!";
35
            }
36
            npc_flag += 1;
37
            break;
38
        case 2:
39
            with (msg)
40
            {
41
                portrait = false;
42
                message[0] = "* The Micro Froggits would like#  some privacy now.";
43
            }
44
            break;
45
    }
46
}