Deltarune script viewer

← back to main script listing

gml_Object_obj_thrashafter_follow_ch1_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_ch1)
15
{
16
    tree = scr_dark_marker_ch1
scr_dark_marker_ch1

function scr_dark_marker_ch1(argument0, argument1, argument2) //gml_Script_scr_dark_marker_ch1 { thismarker = instance_create_ch1(argument0, argument1, obj_marker_ch1) with (thismarker) { sprite_index = argument2 image_speed = 0 image_xscale = 2 image_yscale = 2 } return thismarker; }
(440, 72, spr_candytree_tall_ch1)
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_ch1)
23
{
24
    bg = instance_create_ch1(180, 0, obj_backgrounder_sprite_ch1)
25
    with (bg)
26
    {
27
        sprite_index = spr_darkcastle_bg_ch1
28
        image_speed = 0.1
29
        ss = 0.5
30
        image_xscale = 2
31
        image_yscale = 2
32
    }
33
    with (obj_mainchara_ch1)
34
        bg = 1
35
}