Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_forcefield_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
if (image_xscale < 2)
3
    image_xscale = 2;
4
if (image_yscale < 2)
5
    image_yscale = 2;
6
alarm[3]
 = 1;
gml_Object_obj_forcefield_Alarm_3.gml

solid1 = instance_create(x, y, obj_solidblock); solid1.image_yscale = image_yscale; solid1.image_xscale = image_xscale; sold = 1;
7
siner = 0;
8
basic = 1;
9
disable = 0;
10
f = 2;
11
sold = 0;
12
black_override = 0;
13
stayVisible = 0;
14
skip = 0;
15
ignorealpha = 0;
16
if (disableflag > 0)
17
{
18
    if (global.flag[disableflag] == 1)
19
    {
20
        instance_destroy();
21
        exit;
22
    }
23
}
24
if (disableplot > 0)
25
{
26
    if (global.plot >= disableplot)
27
    {
28
        instance_destroy();
29
        exit;
30
    }
31
}