Undertale script viewer

← back to main script listing

gml_Object_obj_napstablook_farm2_Step_0

(view raw script w/o annotations or w/e)
1
buffer -= 1;
2
if (myinteract == 1 && buffer > 0)
3
    myinteract = 0;
4
if (myinteract == 1 && buffer <= 0)
5
{
6
    global.interact = 1;
7
    alarm[0] = 1;
gml_Object_obj_napstablook_farm2_Alarm_0.gml

myinteract = 3; if (con == 0) { global.msc = 619; } else { global.msc = 619; blcontimer = 0; encouragement = 0; blconyes = 0; snailtimer = 0; snailsad = 0; won = 0; fun = 0; con = 0; } global.typer = 5; global.facechoice = 0; global.faceemotion = 0; mydialoguer = instance_create(0, 0, obj_dialoguer); talkedto += 1;
8
    myinteract = 2;
9
}
10
if (myinteract == 3)
11
{
12
    if (instance_exists(mydialoguer) == 0)
13
    {
14
        if (con == 0)
15
            global.interact = 0;
16
        myinteract = 0;
17
    }
18
}