Undertale script viewer

← back to main script listing

gml_Object_obj_stardrop_Step_0

(view raw script w/o annotations or w/e)
1
if (y > room_height || y < 0)
2
    instance_destroy();
3
if (shake == 1)
4
{
5
    x += (sin(siner / 2) * 2);
6
    image_angle += (sin(siner / 2) * 2);
7
    siner += 1;
8
}
9
if (global.mnfight != 2)
10
    instance_destroy();