Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_darkness_overlay_Draw_72

(view raw script w/o annotations or w/e)
1
if (auto_depth)
2
{
3
    if (global.fighting == 1 && darkfight)
4
        depth = 6;
5
    else
6
        depth = 50000;
7
}
8
with (obj_growtangle)
9
    draw_sprite_ext(sprite_index, 1, x - camerax(), y - cameray(), image_xscale, image_yscale, image_angle, c_white, image_alpha);