Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_prisonevent_Create_0

(view raw script w/o annotations or w/e)
1
puzz1 = instance_create(260, 220, obj_suitspuzz);
2
with (puzz1)
3
{
4
    sol[0] = 3;
5
    sol[1] = 4;
6
    sol[2] = 1;
7
    max_suit = 3;
8
}
9
tried = 0;
10
pcon = 0;
11
scon = 0;
12
wcon = 0;
13
con2 = 0;
14
if (global.plot < 154)
15
{
16
    con = 1;
17
    __view_set(e__VW.XView, 0, 440);
18
    with (obj_mainchara)
19
        cutscene = 1;
20
}
21
if (global.plot == 154)
22
{
23
    con = 300;
24
    with (puzz1)
25
    {
26
        suit[0] = 3;
27
        suit[1] = 4;
28
        suit[2] = 1;
29
    }
30
}
31
if (global.plot > 154)
32
{
33
    with (puzz1)
34
    {
35
        suit[0] = 3;
36
        suit[1] = 4;
37
        suit[2] = 1;
38
    }
39
    con = 999;
40
    instance_destroy();
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
}