Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_scene21_loop_vfx_Step_0

(view raw script w/o annotations or w/e)
1
if (auto_scroll_start)
2
{
3
    auto_scroll_start = false;
4
    with (looping_bg)
5
        x_speed = -2;
6
}
7
if (auto_scroll_stop)
8
{
9
    if ((looping_bg.x_pos % 40) == 0)
10
    {
11
        auto_scroll_stop = false;
12
        with (looping_bg)
13
            x_speed = 0;
14
    }
15
}