Undertale script viewer

← back to main script listing

gml_Object_obj_superdrophole_Alarm_0

(view raw script w/o annotations or w/e)
1
global.interact = 4;
2
global.phasing = 1;
3
if (room == room_ruins15B)
4
    global.flag[51 wrong_switches_pressed] += 1;
5
alarm[1] = 1;
gml_Object_obj_superdrophole_Alarm_1.gml

if (global.phasing == 1) { global.interact = 4; global.facing += 1; with (obj_solidparent) solid = 0; with (obj_readablesolid) solid = 0; obj_mainchara.vspeed = 5; obj_mainchara.image_alpha = 0.5; if (global.facing > 3) global.facing = 0; alarm[1] = 4; }
6
alarm[2] = 2;
gml_Object_obj_superdrophole_Alarm_2.gml

global.interact = 3; instance_create(0, 0, obj_unfader); alarm[3] = 20;
7
if (sd_noise == 0)
8
{
9
    snd_play(snd_fall2);
10
    with (obj_superdrophole)
11
        sd_noise = 1;
12
}