2022-08-15 02:35:57 +00:00
|
|
|
draw_self();
|
2022-08-15 04:06:41 +00:00
|
|
|
drawstate();
|
2022-08-15 17:51:51 +00:00
|
|
|
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.val)),
|
|
|
|
y-ts.y/2+1, false
|
|
|
|
);
|
2022-08-15 02:35:57 +00:00
|
|
|
//draw_set_color(c_red);
|
|
|
|
//draw_circle(x, y, 5, false);
|