You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-TimeTrials/scripts/remove_persistent_objects.gml

9 lines
464 B

/// remove_persistent_objects()
with (oCharacter) instance_destroy();
with (oCamera) instance_destroy();
if (instance_exists(oQuake)) with (oQuake) instance_destroy();
if (instance_exists(oBigQuake)) with (oBigQuake) instance_destroy();
if (instance_exists(oBigQuakeQueen)) with (oBigQuakeQueen) instance_destroy();
if (instance_exists(oNotification)) with (oNotification) instance_destroy();
if (instance_exists(oAreaIntro)) with (oAreaIntro) instance_destroy();