Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gerson_bell_bullet_Step_0

(view raw script w/o annotations or w/e)
1
if (timer < 16)
2
{
3
    timer++;
4
    speed = lerp(speed, 4, timer / 15);
5
}
6
if (timer < 11)
7
    y = lerp(ystart, ypos[pos], timer / 10);
8
if (timer > 15)
9
{
10
    timer++;
11
    speed = lerp(4, 20, (timer - 15) / 40);
12
}
13
if (direction == 180 && x < (obj_growtangle.x - 75))
14
    image_alpha -= 0.1;
15
if (direction == 0 && x > (obj_growtangle.x + 75))
16
    image_alpha -= 0.1;
17
if (image_alpha < 0)
18
    instance_destroy();
19
if (global.turntimer < 1)
20
    instance_destroy();