Deltarune script viewer

← back to main script listing

gml_Object_obj_sneo_sine_hand_controller_Create_0

(view raw script w/o annotations or w/e)
1
var a = 0;
2
b = 0;
3
repeat (19)
4
{
5
    hand = instance_create((camerax() + camerawidth()) - b, (cameray() + cameraheight()) - 80, obj_sneo_sine_hand);
6
    hand.y = cameray() + cameraheight();
7
    if (a == 0)
8
        hand.siner = 20;
9
    if (a == 1)
10
        hand.siner = 26;
11
    if (a == 2)
12
        hand.siner = 32;
13
    if (a == 3)
14
        hand.siner = 26;
15
    a++;
16
    if (a > 3)
17
        a = 0;
18
    b += 35;
19
}
20
a = 0;
21
b = 0;
22
repeat (19)
23
{
24
    hand = instance_create((camerax() + camerawidth()) - b, cameray() - 80, obj_sneo_sine_hand);
25
    hand.y = cameray() + cameraheight();
26
    hand.image_yscale = -1;
27
    if (a == 0)
28
        hand.siner = 20;
29
    if (a == 1)
30
        hand.siner = 26;
31
    if (a == 2)
32
        hand.siner = 32;
33
    if (a == 3)
34
        hand.siner = 26;
35
    a++;
36
    if (a > 3)
37
        a = 0;
38
    b += 35;
39
}