Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_noellepuzzle_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_ch2_noellepuzzle_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
fadeout = false;
15
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();