Undertale script viewer

← back to main script listing

gml_Object_obj_eggbullet_pl_Step_0

(view raw script w/o annotations or w/e)
1
image_angle = direction;
2
if (collision_rectangle(x, y, x + sprite_width, y + sprite_width, obj_heartshot, 0, 1))
3
    instance_destroy();
4
if (y > room_height)
5
    instance_destroy();