Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_roaringknight_boxsplitter_attack_CleanUp_0

(view raw script w/o annotations or w/e)
1
if (surface_exists(hell_surface))
2
    surface_free(hell_surface);
3
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)
4
{
5
    knight.image_alpha = 1;
6
    global.turntimer = -1;
7
}