1 | if (o_boxingcontroller.punchcon > 0 && o_boxingcontroller.punchcon <= 4) |
2 | exit; |
3 | if (y < 185) |
4 | exit; |
5 | baseball_hitbox = instance_create(o_boxingcontroller.x, o_boxingcontroller.y - 60, o_boxing_hitbox); |
6 | with (baseball_hitbox) |
7 | { |
8 | hit_jumping = 0; |
9 | give_hurt = 22 / f; |
10 | timer = 5 / f; |
11 | damage = 20; |
12 | image_yscale = 4; |
13 | image_xscale = 4; |
14 | final_attack = 1; |
15 | } |
16 | instance_destroy(); |
17 | with (o_boxingqueen) |
18 | { |
19 | friction = 0; |
20 | gravity = 0; |
21 | } |