Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mauswheel_tasque_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    if (timer < 10)
4
        timer++;
5
    y = lerp_ease_in(ystart, cameray() + 229, timer / 10, 1);
6
    if (timer == 10)
7
    {
8
        y = cameray() + 229;
9
        con = 1;
10
        timer = 0;
11
    }
12
}
13
if (con == 1)
14
{
15
    if (timer < 10)
16
        timer++;
17
    if (timer == 1)
18
    {
19
        image_xscale = -2.3;
20
        image_yscale = 1.7;
21
    }
22
    image_xscale = lerp_ease_in(-2.3, -2, timer / 10, 0.5);
23
    image_yscale = lerp_ease_in(1.7, 2, timer / 10, 0.5);
24
}
25
if (x > (camerax() + camerawidth() + 80) || !i_ex(obj_battlecontroller))
26
    instance_destroy();