Changed how AI is set in enumerated type for creatures.