Tushar Joining In, Mid point base code for enemies