Undertale script viewer

← back to main script listing

gml_Object_obj_blookhouses_Create_0

(view raw script w/o annotations or w/e)
1
if (global.flag[433 unlocked_mettaton_house] == 0)
2
{
3
    interacter = instance_create(172, 116, obj_readable_room1);
4
    solider = instance_create(172, 116, obj_solidsmall);
5
}
6
else
7
{
8
    doorer = instance_create(172, 112, obj_doorCmusicfade);
9
}
10
con = 0;
11
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();