Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_castle_house_Create_0

(view raw script w/o annotations or w/e)
1
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
2
if (y >= 560)
3
    image_index += 2;
4
if (x >= (room_width / 2))
5
    image_index += 1;
6
image_xscale = 2;
7
image_yscale = 2;
8
image_speed = 0;