Deltarune script viewer

← back to main script listing

gml_Object_obj_cityEntrance_event_Step_0

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_mainchara))
2
{
3
    if (obj_mainchara.x >= triggerPoint && spawned == 0)
4
    {
5
        ralsei = 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; }
(310, 80, spr_ralsei_walk_right);
6
        susie = 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; }
(360, 80, spr_susie_walk_right_dw);
7
        global.plot = 67;
8
        spawned = 1;
9
    }
10
}
11
if (i_ex(ralsei))
12
{
13
    with (ralsei)
14
    {
15
        image_blend = make_color_rgb(100, 100, 100);
16
        depth = obj_cityEntrance_event.depth + 1;
17
        image_speed = 0.25;
18
        hspeed = 4;
19
        if (x > 640)
20
            instance_destroy();
21
    }
22
}
23
if (i_ex(susie))
24
{
25
    with (susie)
26
    {
27
        image_blend = make_color_rgb(100, 100, 100);
28
        depth = obj_cityEntrance_event.depth + 1;
29
        image_speed = 0.25;
30
        hspeed = 4;
31
        if (x > 640)
32
            instance_destroy();
33
    }
34
}