Undertale script viewer

← back to main script listing

gml_Object_obj_amalgambul_parent_Step_2

(view raw script w/o annotations or w/e)
1
if (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_heart, 0, 1))
2
    event_user(6);
3
if (global.turntimer <= 0)
4
{
5
    global.turntimer = -1;
6
    global.mnfight = 3;
7
    instance_destroy();
8
}