Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_bq_baseball_Collision_obj_bq_baseball

(view raw script w/o annotations or w/e)
1
if (baseball_combo_timer > 0)
2
{
3
    with (other)
4
    {
5
        hit = 1;
6
        o_boxingcontroller.hit_baseball += 1;
7
        o_boxingcontroller.hit_baseball_check = 1;
8
        y = o_boxingcontroller.y - 184;
9
        if (other.hit_direction == -1)
10
            hit_direction = -1;
11
        else
12
            hit_direction = 1;
13
    }
14
}