Deltarune script viewer

← back to main script listing

gml_Object_obj_darklancer_ch1_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    if (room == room_dark2_ch1)
4
    {
5
        if (x < (__view_get(e__VW.XView, 0) + 630))
6
        {
7
            vspeed = -8;
8
            image_speed = 0.2;
9
            con = 1;
10
            if (global.plot < 12)
11
                global.plot = 12;
12
        }
13
    }
14
    if (room == room_dark3_ch1)
15
    {
16
        if (x < (__view_get(e__VW.XView, 0) + 610))
17
        {
18
            hspeed = 8;
19
            image_speed = 0.2;
20
            con = 1;
21
            if (global.plot < 13)
22
                global.plot = 13;
23
        }
24
    }
25
}
26
27
enum e__VW
28
{
29
    XView,
30
    YView,
31
    WView,
32
    HView,
33
    Angle,
34
    HBorder,
35
    VBorder,
36
    HSpeed,
37
    VSpeed,
38
    Object,
39
    Visible,
40
    XPort,
41
    YPort,
42
    WPort,
43
    HPort,
44
    Camera,
45
    SurfaceID
46
}