Item event scripts working, allowing for item-based-spells. Some improvements to mode-switching