<undefined> 0 0 0 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 ///Build object tree objectList = ds_list_create(); objectNames = ds_map_create(); var objects = ds_priority_create(); for (var obj = 0; obj < 200; obj++) if (object_exists(obj)) { var prio = obj; for (var parent = object_get_parent(obj); object_exists(parent); parent = object_get_parent(parent)) prio = parent+prio/200; ds_priority_add(objects, obj, prio); } repeat (ds_priority_size(objects)) { var obj = ds_priority_delete_min(objects); ds_list_add(objectList, obj); var dep = 0; for (var parent = object_get_parent(obj); object_exists(parent); parent = object_get_parent(parent)) dep++; objectNames[?obj] = string_repeat(" ", dep)+object_get_name(obj); } ds_priority_destroy(objects); 1 603 7 0 0 -1 2 self 0 0 1 ds_list_destroy(objectList); ds_map_destroy(objectNames); 1 611 6 -1 0 -1 2 self 0 0 1 visible 0 DEBUG 1 603 7 0 0 -1 2 self 0 0 1 ///Initialize DEBUG value globalvar DEBUG; DEBUG = false; 1 603 7 0 0 -1 2 self 0 0 1 ///Draw instance counts var objs = ds_map_create(); with (all) if (ds_map_exists(objs, self.object_index)) objs[?self.object_index]++; else objs[?self.object_index] = 1; str = ""; for (var i = 0; i < ds_list_size(objectList); i++) { var obj = objectList[|i]; if (ds_map_exists(objs, obj)) str += objectNames[?obj]+": "+string(objs[?obj])+"#"; } ds_map_destroy(objs); draw_text(x, y, str); 1 603 7 0 0 -1 2 self 0 0 1 ///Draw sprites of invisible objects with (all) if (!self.visible && sprite_exists(self.sprite_index)) draw_self(); 1 603 7 0 0 -1 2 self 0 0 1 ///highlight ParameterLink endpoints var col = draw_get_colour(); draw_set_colour(c_red); with (ParameterLink) if (collision_point(mouse_x, mouse_y, id, true, false) != noone) { with (self.source) draw_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, true); with (self.drain) draw_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, true); } draw_set_colour(col); 1 611 6 -1 0 -1 2 self 0 0 1 DEBUG 0 !DEBUG 1 331 0 0 0 0 1 action_restart_game self 0 0 1 408 0 0 -1 -1 1 action_if self 0 0 0 keyboard_check(vk_control) 1 603 7 0 0 -1 2 self 0 0 1 ///copy type DOT to clipboard clipboard_set_text(typesToDot()); 1 332 0 0 0 0 1 action_end_game self 0 0 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0