better ball AI and snape state control