Undertale script viewer

← back to main script listing

gml_Object_obj_butterflybullet_2_Step_0

(view raw script w/o annotations or w/e)
1
if (vspeed < -1.5)
2
    vspeed += 0.15;
3
image_speed = vspeed / 8;
4
if (y < (global.idealborder[2] - 20))
5
    off = 1;
6
if (off == 1)
7
{
8
    image_alpha -= 0.05;
9
    if (image_alpha < 0.1)
10
        instance_destroy();
11
}