Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mazepipis_Create_0

(view raw script w/o annotations or w/e)
1
boss = 0;
2
myinteract = 0;
3
image_speed = 0;
4
image_xscale = 2;
5
image_yscale = 2;
6
con = 0;
7
read = 0;
8
x += choose(-2, 0, 0, 0, -2);
9
y += choose(-2, 0, 0, 0, -2);
10
if (place_meeting(x, y, obj_mazepipis))
11
    instance_destroy();
12
scr_depth
scr_depth

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