Got an error trying to close the inventory.log:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_player_blite:
Push :: Execution Error - Variable Index [0,-1] out of range [1,40] - -5.player_inventory_number(100148,-1)
at gml_Object_obj_player_blite_Draw_64
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_player_blite_Draw_64 (line -1)