Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mouseTrigger_Step_0

(view raw script w/o annotations or w/e)
1
timer++;
2
if (timer == 30 && letgo == 1)
3
{
4
    if (instance_exists(obj_holemouse_generator))
5
    {
6
        with (obj_holemouse_generator)
7
            mousecreate = 0;
8
    }
9
}
10
if (timer == 60 && letgo == 1)
11
{
12
    global.interact = 0;
13
    letgo = 0;
14
    image_index = 0;
15
}
16
if (myinteract == 3)
17
{
18
    if (i_ex(mydialoguer) == false)
19
    {
20
        global.interact = 0;
21
        myinteract = 0;
22
        with (obj_mainchara)
23
            onebuffer = 5;
24
    }
25
}