Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_getsusieevent_Create_0

(view raw script w/o annotations or w/e)
1
rcon = 0;
2
block = -4;
3
if (global.plot >= 38)
4
{
5
    doormarker = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(400, 40, spr_drdoor);
6
    doormarker.depth = 600000;
7
    doormarker.image_index = 1;
8
    instance_create(380, 120, obj_soliddark);
9
    instance_create(500, 120, obj_soliddark);
10
    door = instance_create(440, 120, obj_doorA);
11
    door.image_xscale = 2;
12
    door.image_yscale = 2;
13
    instance_create(520, 260, obj_npc_sign);
14
    visible = 0;
15
    if (global.plot == 38)
16
        rcon = 1;
17
    if (global.plot < 40)
18
    {
19
        hathy = instance_create(250, 240, obj_chaseenemy);
20
        hathy.radius = 30;
21
    }
22
}
23
else
24
{
25
    doormarker = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(400, 40, spr_drdoor);
26
    doormarker.depth = 600000;
27
    block = instance_create(400, 120, obj_soliddark);
28
    block.image_xscale = 3;
29
}
30
con = 1;
31
if (global.plot >= 37)
32
{
33
    visible = 0;
34
    con = -1;
35
}
36
walkcon = 0;
37
image_speed = 0;