Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_robot_build_finished_robot_Create_0

(view raw script w/o annotations or w/e)
1
for (var i = 0; i < global.sworks_robot_count; i++)
2
{
3
    var item = instance_create_depth((x + global.sworks_robot_x[i]), (y + global.sworks_robot_y[i]), global.sworks_robot_depth[i], obj_robot_build_finished_robot_item)
4
    item.sprite_index = global.sworks_robot_sprite[i]
5
    item.image_angle = global.sworks_robot_angle[i]
6
    item.image_xscale = global.sworks_robot_scale[i]
7
    item.image_yscale = global.sworks_robot_scale[i]
8
}