Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_PGS01E_field_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    global.interact = 1;
4
    con = 1;
5
    alarm[0]
 = 90;
gml_Object_obj_ch3_PGS01E_field_Alarm_0.gml

con++;
6
}
7
if (con == 2 && !i_ex(obj_writer))
8
{
9
    con = 3;
10
    alarm[0]
 = 30;
gml_Object_obj_ch3_PGS01E_field_Alarm_0.gml

con++;
11
    global.typer = 31;
12
    msgsetloc(0, 
That is the Dark World,Delay 11 Susie.Wait for input
"That is the Dark World^1, Susie./", "obj_ch3_PGS01E_field_slash_Step_0_gml_15_0"
);
13
    msgnextloc(
An alternate view of reality through the lens of shadow.Wait for inputClose Message
"An alternate view of reality through the lens of shadow./%", "obj_ch3_PGS01E_field_slash_Step_0_gml_16_0"
);
14
    create_writer = true;
15
}
16
if (con == 4 && !i_ex(obj_writer))
17
{
18
    con = 5;
19
    alarm[0]
 = 30;
gml_Object_obj_ch3_PGS01E_field_Alarm_0.gml

con++;
20
    global.typer = 31;
21
    msgsetloc(0, 
In other words...Delay 11Wait for inputClose Message
"In other words..^1./%", "obj_ch3_PGS01E_field_slash_Step_0_gml_25_0"
);
22
    create_writer = true;
23
}
24
if (con == 6 && !i_ex(obj_writer))
25
{
26
    con = 7;
27
    alarm[0]
 = 30;
gml_Object_obj_ch3_PGS01E_field_Alarm_0.gml

con++;
28
    snd_play(snd_revival);
29
    var glow = instance_create(0, 0, obj_ch3_PGS01E_white_glow);
30
}
31
if (con == 20)
32
{
33
    con = 999;
34
    room_goto(room_dw_nondescript_classroom);
35
}
36
if (create_writer)
37
{
38
    create_writer = false;
39
    var writer = instance_create(__view_get(e__VW.XView, 0) + 80, __view_get(e__VW.YView, 0) + 320, obj_writer);
40
    writer.rate = 2;
41
}
42
43
enum e__VW
44
{
45
    XView,
46
    YView,
47
    WView,
48
    HView,
49
    Angle,
50
    HBorder,
51
    VBorder,
52
    HSpeed,
53
    VSpeed,
54
    Object,
55
    Visible,
56
    XPort,
57
    YPort,
58
    WPort,
59
    HPort,
60
    Camera,
61
    SurfaceID
62
}