Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queen_poppup_error_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    timer += (timer + 1);
4
    image_xscale = lerp(4, 1, timer / 30);
5
    image_yscale = lerp(0, 4, timer / 30);
6
    if (timer >= 30)
7
    {
8
        con = 1;
9
        timer = 0;
10
    }
11
}
12
if (con == 1)
13
{
14
    timer += (timer + 1);
15
    image_xscale = lerp(1, 2, timer / 15);
16
    image_yscale = lerp(4, 2, timer / 15);
17
    if (timer >= 15)
18
    {
19
        timer = 0;
20
        con = 2;
21
        image_xscale = 2;
22
        image_yscale = 2;
23
    }
24
}
25
if (con == 2)
26
{
27
    if (image_index == 9)
28
    {
29
        tasquecon = 1;
30
        con = 99;
31
    }
32
}