Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_bq_baseball_Step_2

(view raw script w/o annotations or w/e)
1
if (!i_ex(baseball_hitbox))
2
    exit;
3
if (!i_ex(wheel_hitbox_graze))
4
    exit;
5
if (y > c && o_boxingcontroller.punchcon > 0)
6
{
7
    baseball_hitbox.x = o_boxingcontroller.x;
8
    baseball_hitbox.y = o_boxingcontroller.y;
9
}
10
baseball_hitbox.x = x;
11
baseball_hitbox.y = y;
12
wheel_hitbox_graze.x = x;
13
wheel_hitbox_graze.y = y;