Undertale script viewer

← back to main script listing

gml_Object_obj_slidingdoor_Create_0

(view raw script w/o annotations or w/e)
1
slidedoorx = 0;
2
on = 0;
3
active = 0;
4
salad = instance_create(888, 80, obj_solidsmall);
5
if (global.flag[493 true_pacifist_progression] >= 10 && global.flag[7 true_pacifist] == 0)
6
{
7
    active = 1;
8
    door = instance_create(salad.x, salad.y - 4, obj_door_s_musfade);
9
    with (salad)
10
        instance_destroy();
11
    instance_create(890, 130, obj_readable_room5);
12
    pape = scr_marker
scr_marker

thismarker = instance_create(argument0, argument1, obj_npc_marker); thismarker.visible = true; thismarker.image_speed = 0; thismarker.sprite_index = argument2; return thismarker;
(890, 130, spr_notepaper);
13
    pape.depth = 900000;
14
}
15
o_noise = 0;
16
c_noise = 0;
17
s_noise = 0;