Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_swordroute_event_susiesoda_Step_0

(view raw script w/o annotations or w/e)
1
if (myinteract == 3)
2
{
3
    global.interact = 1;
4
    myinteract++;
5
}
6
if (myinteract == 4 && !d_ex())
7
{
8
    global.interact = 0;
9
    myinteract = 0;
10
    if (taken)
11
    {
12
        global.flag[1278 swordroute_soda] = 2;
13
        instance_destroy();
14
    }
15
    else
16
    {
17
        image_alpha = 1;
18
    }
19
}