Deltarune script viewer

← back to main script listing

gml_Object_obj_forestmaze_controller_ch1_Step_0

(view raw script w/o annotations or w/e)
1
if (lancercon == 1)
2
{
3
    if (obj_mainchara_ch1.y <= 480)
4
    {
5
        vspeed = -10;
6
        lancercon = 2;
7
        if (susie_side >= 0)
8
        {
9
            with (susie)
10
            {
11
                vspeed = -10;
12
                sprite_index = spr_susieu_dark_ch1;
13
                image_speed = 0.2;
14
            }
15
        }
16
    }
17
}
18
if (battlemoder == 1)
19
{
20
    if (room == room_forest_maze1_ch1)
21
    {
22
        if (obj_mainchara_ch1.y <= 480)
23
            obj_mainchara_ch1.battlemode = 1;
24
    }
25
    if (room == room_forest_maze2_ch1)
26
    {
27
        if (obj_mainchara_ch1.y <= 640)
28
            obj_mainchara_ch1.battlemode = 1;
29
    }
30
}
31
if (gen == 1)
32
{
33
    with (obj_scissordancer_ch1)
34
    {
35
        if (x <= -100)
36
            x += 740;
37
    }
38
}
39
if (gen == 2)
40
{
41
    if (obj_mainchara_ch1.y <= 60 || obj_mainchara_ch1.y >= 720)
42
    {
43
        battlemode = 0;
44
        with (obj_overworldbulletparent_ch1)
45
            instance_destroy();
46
    }
47
}