Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_castle_house_Create_0

(view raw script w/o annotations or w/e)
1
if (room == room_dw_castle_area_2)
2
{
3
    if (y >= 560)
4
        image_index += 2;
5
    if (x >= (room_width / 2))
6
        image_index += 1;
7
}
8
image_xscale = 2;
9
image_yscale = 2;
10
image_speed = 0;
11
scr_depth
scr_depth

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