Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_knight_rotating_slash_CleanUp_0

(view raw script w/o annotations or w/e)
1
ds_list_destroy(slash_list);
2
if (surface_exists(my_surface))
3
    surface_free(my_surface);
4
if (turn_type != "start" && turn_type != "short start" && turn_type != "short mid" && 
scr_bulletparent_count
scr_bulletparent_count

function
scr_bulletparent_count()
{ var count = 0; with (obj_bulletparent) { if (object_index == obj_bulletparent) count++; } return count; }
() < 2)
5
{
6
    with (obj_knight_enemy)
7
        image_alpha = 1;
8
    global.turntimer = -1;
9
}
10
snd_stop(snd_knight_rotatingslash_line);