Removed a large switch block and replaced it with an Object array modified ai to use Object...