Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_savepoint_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0.2;
2
myinteract = 0;
3
talked = 0;
4
mydialoguer = 3478247328;
5
scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
6
if (global.darkzone == 1)
7
{
8
    image_speed = 0.2;
9
    image_xscale = 2;
10
    image_yscale = 2;
11
}
12
if (global.chapter == 1)
13
{
14
    if (room == room_cc_throneroom)
15
    {
16
        if (global.plot >= 240)
17
            instance_destroy();
18
    }
19
}