Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_cybercity_bg_sign_Create_0

(view raw script w/o annotations or w/e)
1
siner = 0;
2
l = image_xscale / 2;
3
h = image_yscale / 2;
4
if (l < 1)
5
    l = 1;
6
if (h < 1)
7
    h = 1;
8
image_speed = 0;
9
if (depth != 5000)
10
    scr_depth
scr_depth

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