Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_susiezilla_controller_Keyboard_86

(view raw script w/o annotations or w/e)
1
if (!mansion)
2
{
3
    mansion = instance_create(320, 240, obj_susiezilla_mansion);
4
    with (mansion)
5
        
scr_depth_alt
scr_depth_alt

function
scr_depth_alt()
{ depth = 100000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); }
();
6
}
7
else
8
{
9
    with (mansion)
10
        event_user(0);
11
}