12 lines
315 B
Plaintext
12 lines
315 B
Plaintext
if waiting image_blend = c_grey else image_blend = c_white;
|
|
draw_self();
|
|
drawstate();
|
|
//log(data);
|
|
draw_set_color(c_red);
|
|
draw_rectangle(x-ts.x/2, y-ts.y/2-1,
|
|
x-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)),
|
|
y-ts.y/2+1, false
|
|
);
|
|
draw_text(x, y-ts.y, data.hp.val);
|
|
//draw_set_color(c_red);
|
|
//draw_circle(x, y, 5, false); |