spr_intentory 0 -1 -4000 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 x = view_xview[0]+view_wview[0]/2 - (424/2); y = view_yview[0]+view_hview[0]/2 - (254/2); 1 603 7 0 0 -1 2 self 0 0 1 draw_self(); var xx = 6; var yy = 8; var i = 0; for(yy = 8; yy < (5*44); yy+=45+1) { for(xx = 6; xx < (9*45); xx+=45+1) { 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) draw_text(x+xx+45-xoffset,y+yy+30,string(count)); i++ } } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0