Undertale script viewer

← back to main script listing

gml_Object_obj_freakbullet_Step_2

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