Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queenstatue_acid_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
xx = x;
3
timer = 0;
4
sink = false;
5
progress = global.flag[429 statue_sink_progress];
6
if (progress >= 64)
7
    instance_destroy();
8
bubbleindex = 0;
9
bubblealpha = 1;