Deltarune script viewer

← back to main script listing

gml_Object_obj_mansion_switch_Create_0

(view raw script w/o annotations or w/e)
1
flag = 0;
2
image_xscale = 2;
3
image_yscale = 2;
4
image_speed = 0;
5
if (global.lang == "ja")
6
    sprite_index = spr_ja_mansion_switch_light;
7
image_index = global.flag[flag];
8
scr_depth
scr_depth

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