Thank you so much for trying to figure this out! I'll try as well to see if the elf is part of the cause. That would be very strange to me, as her scripts aren't really connected to the gold spending functions at all.