Undertale script viewer

← back to main script listing

gml_Object_obj_sinefire_asghelix_Step_0

(view raw script w/o annotations or w/e)
1
s += 1;
2
x += (sin(s / sv) * sf);
3
if (y > (room_height + 100))
4
    instance_destroy();
5
if (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_heart, 0, 1))
6
    event_user(0);