Deltarune script viewer

← back to main script listing

gml_Object_obj_queen_battle_plug_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    timer++;
4
    y = lerp(ystart, ystart + 140, timer / 14);
5
    if (timer == 14)
6
    {
7
        con = 1;
8
        timer = 0;
9
    }
10
}
11
if (con == 2)
12
{
13
    timer++;
14
    y = lerp(ystart + 140, ystart, timer / 7);
15
    if (timer == 7)
16
        instance_destroy();
17
}