Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_know_cone_overworld_Step_0

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

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
6
    switch npc_flag
7
    {
8
        case 0:
9
            with (msg)
10
            {
11
                message[0] = "* YOU LISTEN! KNOW CONE HAS PLAN!"
12
                message[1] = "* GONNA GO TO TOP OF BIG HILL!#  BIG BIG HILL! "
13
                message[2] = "* CAN SEE HOTLANDS FROM BIG HILL!"
14
                message[3] = "* FIRE FAR AWAY NOT HURT KNOW#  CONE!"
15
            }
16
            npc_flag += 1
17
            break
18
        case 1:
19
            with (msg)
20
            {
21
                message[0] = "* KNOW CONE PROUD OF PLAN!"
22
                message[1] = "* KNOW CONE SHOW INTELLECTUAL#  PROMISE!"
23
                message[2] = "* AND GET SEE FIRE!"
24
            }
25
            break
26
    }
27
28
}