Deltarune script viewer

← back to main script listing

gml_Object_o_fallingqueen_Create_0

(view raw script w/o annotations or w/e)
1
f = 2;
2
image_xscale = 2;
3
image_yscale = 2;
4
image_speed = 0.2;
5
vspeed = 12 * f;
6
if (i_ex(o_boxingqueen) && o_boxingqueen.pirouette_amount == 5)
7
    vspeed = 10.5 * f;
8
y = -20;
9
image_alpha = 0.8 * f;
10
dive_hitbox = instance_create(x, y - 20, o_boxing_hitbox);
11
with (dive_hitbox)
12
{
13
    hit_ducking = 1;
14
    give_hurt = 30 / f;
15
    give_invincibility = 40 / f;
16
    timer = 300;
17
    damage = 20;
18
    image_yscale = 4;
19
    image_xscale = 2.8;
20
}