Deltarune script viewer

← back to main script listing

gml_Object_obj_shapepuzzle_Create_0

(view raw script w/o annotations or w/e)
1
depth = 999990;
2
puzzleSize = 60 * image_xscale;
3
setupComplete = false;
4
goalCheck = true;
5
goalHit = false;
6
image_index = 0;
7
image_speed = 0;
8
finalGlow = 0;
9
insideOnly = true;
10
if (room == room_dw_mansion_darkbulb_1)
11
{
12
    if (global.plot >= 105)
13
    {
14
        goalHit = true;
15
        finalGlow = 0.7;
16
    }
17
}
18
if (room == room_dw_mansion_darkbulb_2)
19
{
20
    if (global.plot >= 110)
21
    {
22
        goalHit = true;
23
        finalGlow = 0.7;
24
    }
25
}
26
if (room == room_dw_mansion_darkbulb_3)
27
{
28
    if (global.plot >= 115)
29
    {
30
        goalHit = true;
31
        finalGlow = 0.7;
32
    }
33
}
34
inUse = false;
35
instructionLerp = 0;