Replaced hardcoded inventory offsets -- should be using SLOT_MAX in these cases.