if (live_call()) return global.live_result; draw_self(); if (item_category == "consumable") { var info_box_xx = 506; var info_box_yy = 192; draw_set_color(c_white); draw_rectangle(info_box_xx, info_box_yy, info_box_xx + 100, info_box_yy + 53, false); draw_set_color(c_black); draw_rectangle(info_box_xx + 4, info_box_yy + 4, (info_box_xx + 100) - 4, (info_box_yy + 53) - 4, false); draw_set_font(fnt_mainb); draw_set_color(c_white); draw_set_halign(fa_center); var cons_type = " HP"; switch (item_type) { case "speed": cons_type = " SP"; break; case "protection": cons_type = " PP"; break; } draw_text(info_box_xx + 50, info_box_yy + 10, "+" + string(item_number) + cons_type); draw_set_halign(fa_left); }