I'm running the script with a rock cake and a special attack weapon in my inventory which takes up a total of 2 slots, but the script says 4 inventory slots have been used. So essentially the script has an error of +2 inventory slots. So a full inventory is actually when the script says 30 slots used. Don't go over 30 and it'll run just fine..