You'd have to modify your buy method in Shopassistants. Add checks saying when there's no cash in the players inventory, to start withdrawing from the money pouch which is just another integer. Make sure to add a check that checks if there's no money in your money pouch to prevent the successful buying of items too.