Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_o_boxing_hitbox_Step_0

(view raw script w/o annotations or w/e)
1
timer -= 1;
2
if (timer <= 0)
3
{
4
    instance_destroy();
5
    if (kick == 1 && o_boxingcontroller.wireframe_boxing == 1 && has_tutorial_kick_hit_player == 0 && o_boxingcontroller.succeeded_kick_tutorial == 0)
6
    {
7
        o_boxingcontroller.failed_kick_tutorial_counter = 1;
8
        o_boxingcontroller.succeeded_kick_tutorial = 1;
9
    }
10
}
11
image_blend = c_red;
12
if (hit_dodging == 1)
13
    image_blend = c_green;
14
if (hit_ducking == 0)
15
    image_blend = c_aqua;
16
if (hit_jumping == 0)
17
    image_blend = c_yellow;
18
if (graze_only == 1)
19
    image_blend = c_gray;