Deltarune script viewer

← back to main script listing

gml_Object_obj_queenart_red_Step_0

(view raw script w/o annotations or w/e)
1
if (skip == true || isswitch == true)
2
    flippable = false;
3
if (myinteract == 3)
4
{
5
    if (flip == false && !d_ex())
6
    {
7
        global.interact = 0;
8
        myinteract = 0;
9
        with (obj_mainchara)
10
            onebuffer = 5;
11
    }
12
}
13
if (con == 3)
14
{
15
    flashamt = 0;
16
    laughtimer++;
17
    if ((laughtimer % 9) == 0)
18
        image_index = 1;
19
    if ((laughtimer % 9) == 3)
20
        image_index = 0;
21
    if (laughtimer >= 40)
22
    {
23
        timer = 0;
24
        image_index = 0;
25
        laughtimer = 0;
26
        con = 0;
27
    }
28
}
29
if (instance_exists(obj_musictracker))
30
    trackpos = obj_musictracker.trackpos;
31
if (trackpos >= 18.862 && trackpos <= 18.902)
32
    con = 3;
33
if (room == room_dw_mansion_fire_paintings)
34
{
35
    if (extflag == "treasure")
36
        image_index = global.flag[138 got_painting_mint] == 1;
37
}
38
if (decorative == true)
39
    flip = false;