Deltarune script viewer

← back to main script listing

gml_Object_obj_saucer_dining3Spawner_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
image_xscale = 2;
3
image_yscale = 2;
4
image_speed = 0;
5
reached = false;
6
startX = x;
7
startY = y;
8
image_alpha = 0.01;
9
y -= 300;
10
if (room == room_dw_mansion_dininghall)
11
{
12
    y -= 200;
13
    dontalpha = 1;
14
}
15
fallspeed = 16;
16
timer = 0;
17
dontalpha = 0;
18
if (dontalpha != 0)
19
    image_alpha = 1;