Deltarune script viewer

← back to main script listing

gml_Object_obj_rocketpunch_queen_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    rocketpunch = instance_create(x - 8, y - 132, obj_rocketpunch_fist);
4
    rocketpunch.hspeed = hspeed;
5
    rocketpunch.vspeed = vspeed;
6
    rocketpunch.friction = friction;
7
    con = 1;
8
    timer = 0;
9
}
10
if (con == 1)
11
{
12
    timer++;
13
    if (timer == 30)
14
    {
15
        rocketpunch.con = 1;
16
        rocketpunch.friction = 0.5;
17
        vspeed = -8;
18
        friction = -4;
19
        con = 2;
20
    }
21
}