Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_werewire_throwtarget_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 2;
2
image_yscale = 2;
3
image_speed = 0.2;
4
good = 1;
5
offing = 0;
6
con = 1;
7
xPos = x;
8
yPos = y;
9
y -= 120;
10
moveY = 0;
11
moveAmount = 0;
12
collided = 0;
13
timer = 0;
14
t = random(360);
15
yy = y;
16
increment = random_range(3.8, 4.2);
17
amplitude = 75;
18
t = (t + increment) % 360;
19
shift = amplitude * dsin(t);
20
y = yy + shift;
21
t = (t + increment) % 360;
22
shift = amplitude * dsin(t);
23
y = yy + shift;
24
x = (xstart - (((y - cameray()) + 0.1) / 3.375)) + 18;