Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_faceattack_Other_12

(view raw script w/o annotations or w/e)
1
var xx = 0;
2
var yy = 0;
3
if (type == 1)
4
{
5
    xx = 62;
6
    yy = 32;
7
}
8
if (type == 2)
9
{
10
    xx = 34;
11
    yy = 64;
12
}
13
if (type == 3)
14
{
15
    xx = 52;
16
    yy = 102;
17
}
18
if (type != 0)
19
{
20
    targ = instance_create(x + xx, y + yy, obj_sneo_faceattack_target);
21
    targ.depth = depth - 999;
22
}