Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_climb_watergenerator_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
type = 0;
3
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
4
dodraw = true;
5
if (i_ex(obj_rotating_tower_controller_new))
6
{
7
    dodraw = false;
8
    x -= 40;
9
}
10
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
11
init = 0;