Complex sentence: At first, Ace did not like Batman (Terry McGinnis), but after he and Batman were able to help each other on several missions, Terry earned Ace's affection and loyalty.
Split into simpler sentences: At first, Ace did not like Batman (Terry McGinnis). But after he and Batman were able to help each other on several missions, Terry earned Ace's affection and loyalty.