Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_lightbeamfx_CleanUp_0

(view raw script w/o annotations or w/e)
1
part_emitter_destroy_all(ps);
2
part_system_destroy(ps);
3
part_type_destroy(ptdust);
4
if (surface_exists(surfdust))
5
    surface_free(surfdust);
6
if (surface_exists(surfdust_tiled))
7
    surface_free(surfdust_tiled);
8
if (surface_exists(surfmask))
9
    surface_free(surfmask);