Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_02_seesaw_item_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
if (destroy_self)
4
{
5
    var new_item = instance_create_depth(x, y, depth, obj_factory_02_item_destroy);
6
    new_item.sprite_index = sprite_index;
7
    instance_destroy();
8
}