|
1
|
if (stompwait > 0)
|
|
2
|
{
|
|
3
|
stompwait--;
|
|
4
|
if (stompwait <= 0)
|
|
5
|
{
|
|
6
|
active = 1;
|
|
7
|
depth += 1;
|
|
8
|
}
|
|
9
|
if (direction == 270)
|
|
10
|
draw_sprite_ext(spr_exclamation_mark_appear, 9, x, obj_growtangle.y, 1, 1, 0, ((stompwait % 4) < 2) ? c_red : c_yellow, 1);
|
|
11
|
draw_set_color(c_red);
|
|
12
|
draw_rectangle(x - 23, obj_growtangle.y - 69, x + 23, obj_growtangle.y + 69, true);
|
|
13
|
draw_rectangle((x - 23) + 1, (obj_growtangle.y - 69) + 1, x + 23 + 1, obj_growtangle.y + 69 + 1, true);
|
|
14
|
draw_set_color(c_white);
|
|
15
|
if (direction == 90)
|
|
16
|
draw_sprite_ext(spr_exclamation_mark_appear, 9, x, (obj_growtangle.y + 40) - stompwait, 1, 1, 0, ((stompwait % 4) < 2) ? c_red : c_orange, 1);
|
|
17
|
if (direction == 0)
|
|
18
|
draw_sprite_ext(spr_exclamation_mark_appear, 9, (obj_growtangle.x - 40) + stompwait, y, 1, 1, 0, ((stompwait % 4) < 2) ? c_red : c_orange, 1);
|
|
19
|
if (direction == 180)
|
|
20
|
draw_sprite_ext(spr_exclamation_mark_appear, 9, (obj_growtangle.x + 40) - stompwait, y, 1, 1, 0, ((stompwait % 4) < 2) ? c_red : c_orange, 1);
|
|
21
|
}
|
|
22
|
scr_drawinbulletboxscr_drawinbulletbox
function scr_drawinbulletbox()
{
scr_drawinbox(obj_growtangle.x, obj_growtangle.y, obj_growtangle.sprite_width - 8, obj_growtangle.sprite_height - 8);
} ();
|
|
23
|
if (hurttimer > 0)
|
|
24
|
{
|
|
25
|
hurttimer--;
|
|
26
|
x = (hurtx - 4) + random(8);
|
|
27
|
y = (hurty - 4) + random(8);
|
|
28
|
image_blend = c_red;
|
|
29
|
}
|
|
30
|
if (hittimer > 0)
|
|
31
|
hittimer--;
|