/// @description UI draw_set_alpha(0.4) if (selected) { draw_set_color(colselec1); draw_roundrect(x, y, x+width, y+height, false); draw_set_color(colselec2); draw_roundrect(x, y, x+width, y+height, true); } else { draw_set_color(colunselec1); draw_roundrect(x, y, x+width, y+height, false); draw_set_color(colunselec2); draw_roundrect(x, y, x+width, y+height, true); } draw_set_alpha(1); draw_set_color(c_black); draw_set_halign(fa_center); draw_text(x+width_mid, y, name); var _dmg_txt = string("{0}-{1}", dmg_min, dmg_max) draw_text(x+width_mid, y+20, _dmg_txt); draw_text(x+width_mid, y+40, desc);