Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_crusher_Destroy_0

(view raw script w/o annotations or w/e)
1
if (creatednewalls == 1)
2
{
3
    creatednewalls = 0;
4
    with (topwall)
5
        instance_destroy();
6
    with (bottomwall)
7
        instance_destroy();
8
}
9
if ((difficulty == 4 && createdguns == 1) || (difficulty == 6 && createdguns == 1))
10
{
11
    with (gun1)
12
        instance_destroy();
13
    with (gun2)
14
        instance_destroy();
15
}