Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC10_Alarm_1

(view raw script w/o annotations or w/e)
1
phone_marker.gravity = 0;
2
phone_marker.vspeed = 0;
3
phone_marker.hspeed = 0;
4
with (phone_marker)
5
    
scr_depth
scr_depth

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