Change inventory sprite idxes to dbids
Change sprite_idx to _dbid on cursor table