Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queenart_red_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
image_speed = 0;
3
skip = 0;
4
flippable = true;
5
flip = false;
6
flipcon = 0;
7
flipped = false;
8
flipfactor = 0.8;
9
isswitch = false;
10
switchflipped = false;
11
extflag = 0;
12
decorative = false;
13
dontshine = 1;
14
alphaer = 0;
15
imagespeed = 0;
16
spriteindex1 = sprite_index;
17
spriteindex2 = sprite_index;
18
image_speed = 0;
19
image_xscale = 2;
20
image_yscale = 2;
21
scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
22
depth += 1000;
23
active = 1;
24
flag = 0;
25
laughtimer = 0;
26
timer = 0;
27
flashamt = 0;
28
con = 0;
29
init = 0;
30
type = 0;
31
type = 1;
32
movetype = 0;
33
trackpos = 0;
34
shine = -4;
35
shine_init = false;
36
if (room == room_dw_mansion_fire_paintings)
37
{
38
    if (x == 820 && y == 960)
39
    {
40
        extflag = "treasureswitch";
41
        isswitch = true;
42
        dontshine = global.flag[398 activated_mint_painting];
43
    }
44
    if (x == 200 && y == 560)
45
    {
46
        extflag = "fireswitch";
47
        spriteindex1 = spr_queenFirePainting;
48
        spriteindex2 = spr_queenart_mona_middlepoint;
49
        sprite_index = spriteindex1;
50
        isswitch = true;
51
        dontshine = global.flag[399 activated_painting_exit];
52
        if (global.flag[399 activated_painting_exit] == 1)
53
            sprite_index = spriteindex2;
54
    }
55
}