Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_02_seesaw_item_ready_Alarm_0

(view raw script w/o annotations or w/e)
1
var new_item = instance_create_depth(x, y, depth, obj_factory_02_seesaw_item);
2
with (new_item)
3
{
4
    sprite_index = other.sprite_index;
5
    image_index = other.image_index;
6
    item_type = other.item_type;
7
}
8
instance_destroy();