Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mansion_art_frame_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0;
2
if (room == room_dw_mansion_traffic)
3
    depth = 88000;
4
else
5
    
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();