Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_castlereflect_manager_CleanUp_0

(view raw script w/o annotations or w/e)
1
if (ds_exists(this_frame_objects, ds_type_list))
2
    ds_list_destroy(this_frame_objects);
3
if (ds_exists(cachelist, ds_type_list))
4
    ds_list_destroy(cachelist);
5
if (ds_exists(sprite_offsets, ds_type_map))
6
    ds_map_destroy(sprite_offsets);
7
if (ds_exists(sprite_subs, ds_type_map))
8
    ds_map_destroy(sprite_subs);
9
if (ds_exists(castlereflects, ds_type_list))
10
    ds_list_destroy(castlereflects);
11
ds_priority_destroy(render_queue);
12
if (surface_exists(surf))
13
    surface_free(surf);
14
if (surface_exists(precreate_surf))
15
    surface_free(precreate_surf);
16
if (surface_exists(masking_surf))
17
    surface_free(masking_surf);