Undertale script viewer

← back to main script listing

gml_Object_obj_asrielbed_Step_1

(view raw script w/o annotations or w/e)
1
if (jump == 1)
2
{
3
    if (obj_mainchara.path_position == 1)
4
    {
5
        instance_create(0, 0, obj_unfader);
6
        alarm[2] = 60;
gml_Object_obj_asrielbed_Alarm_2.gml

if (global.plot >= 24 && jump < 5) { global.typer = 31; global.faceemotion = 0; global.facechoice = 0; global.msc = 0; global.msg[0] =
* \[C],Delay 11 please...Wait for input
scr_gettext("obj_asrielbed_87")
; global.msg[1] =
* Wake up!Wait for input
scr_gettext("obj_asrielbed_88")
; global.msg[2] =
* You are the future
of humans and
monsters...Wait for inputClose MessageClose Message
scr_gettext("obj_asrielbed_89")
; if (global.flag[7 true_pacifist] == 1) { global.typer = 5; global.msg[0] =
* (It felt strange to lie
in the bed.)Wait for input
scr_gettext("obj_asrielbed_93")
; global.msg[1] =
* (It feels entirely too
small for you now.)Wait for inputClose MessageClose Message
scr_gettext("obj_asrielbed_94")
; } obj_asriellamp.idealvolume[0] = 0; obj_asriellamp.idealvolume[1] = 0; instance_create(0, 0, obj_dialoguer); with (obj_dialoguer) depth = -999999; if (instance_exists(OBJ_WRITER)) { with (OBJ_WRITER) depth = -9999999; } jump = 5; } if (jump == 5) alarm[2] = 2; if (instance_exists(obj_dialoguer) == 0) { jump = 6; background_visible[1] = false; background_visible[0] = true; if (global.plot < 20) background_visible[2] = true; global.facing = 3; obj_mainchara.x = 200; obj_mainchara.y = 104; global.hp = global.maxhp; if (instance_exists(obj_unfader)) { with (obj_unfader) instance_destroy(); } instance_create(0, 0, obj_fader); obj_asriellamp.idealvolume[0] = 0; obj_asriellamp.idealvolume[1] = 1; if (global.flag[103 got_bscotch_pie] == 0 && global.plot < 20) { global.flag[103 got_bscotch_pie] = 1; instance_create(142, 132, obj_pie_pickup); } alarm[3] = 60; }
7
        jump = 2;
8
    }
9
}
10
if (jump == 3)
11
{
12
    if (obj_mainchara.path_position == 1)
13
    {
14
        global.interact = 0;
15
        myinteract = 0;
16
        jump = 0;
17
        background_visible[2] = false;
18
        obj_solidsmall.solid = 1;
19
        global.phasing = 0;
20
    }
21
}