Commit Message
This commit is contained in:
parent
382fc965d3
commit
799d450301
3 changed files with 66 additions and 7 deletions
|
@ -94,12 +94,13 @@ var i = 0;
|
|||
var yy = 7;
|
||||
for(var xx = 5; xx < (9*45); xx+=45+1)
|
||||
{
|
||||
draw_sprite(spr_blocks,obj_inv_controller.inventory[i],x+xx+6,y+yy+7);
|
||||
if(i == selected_slot)
|
||||
{
|
||||
draw_set_color(make_colour_rgb(100,100,100));
|
||||
draw_rectangle(x+xx,y+yy,x+xx+45,y+yy+44,false)
|
||||
}
|
||||
draw_sprite(spr_blocks,obj_inv_controller.inventory[i],x+xx+6,y+yy+7);
|
||||
|
||||
var count = obj_inv_controller.inventoryCount[i];
|
||||
var xoffset = string_width(string(count))
|
||||
if(count > 1)
|
||||
|
|
Reference in a new issue