Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_thrashafter_follow_Create_0

(view raw script w/o annotations or w/e)
1
con = 1;
2
followcon = 1;
3
followtimer = 0;
4
followbuffer = 0;
5
treecon = 0;
6
speclaugh = 0;
7
image_xscale = 2;
8
image_yscale = 2;
9
if (global.flag[229 lancer_follow_progress] >= 99)
10
{
11
    con = 999;
12
    instance_destroy();
13
}
14
if (room == room_forest_afterthrash3)
15
{
16
    tree = 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; }
(440, 72, spr_candytree_tall);
17
    if (global.flag[229 lancer_follow_progress] >= 6)
18
        tree.image_index = 1;
19
    with (tree)
20
        depth = 400000;
21
}
22
if (room == room_forest_castleview)
23
{
24
    bg = instance_create(180, 0, obj_backgrounder_sprite);
25
    with (bg)
26
    {
27
        sprite_index = spr_darkcastle_bg;
28
        image_speed = 0.1;
29
        ss = 0.5;
30
        image_xscale = 2;
31
        image_yscale = 2;
32
    }
33
    with (obj_mainchara)
34
        bg = 1;
35
}