Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_scissordancer_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0;
2
sndcon = 0;
3
sndtimer = 0;
4
dancetimer = 0 - (instance_number(object_index) * 2);
5
image_xscale = 2;
6
image_yscale = 2;
7
global.charinstance[0] = obj_mainchara;
8
global.charinstance[1] = global.cinstance[0];
9
global.charinstance[2] = global.cinstance[1];
10
con = 0;
11
vspeed = -6;
12
specturn = 0;
13
if (room == room_cc_4f)
14
{
15
    specturn = 1;
16
    vspeed = 0;
17
    hspeed = 6;
18
}
19
bullet = instance_create(x, y, obj_overworldbulletparent);
20
bullet.sprite_index = spr_scissordancer_precise;
21
with (bullet)
22
{
23
    active = 1;
24
    target = 3;
25
    damage = 15;
26
    visible = 0;
27
    image_blend = c_red;
28
    image_alpha = 1;
29
    image_xscale = 2;
30
    image_yscale = 2;
31
}
32
myinteract = 0;