I have an idea but im not sure if it would work.
When the player walks up the totodile, it says you fed him, and asks the player if you wanted to give the totodile more food.
Well, if the player says no, the totodile would fight
if the player says yes to giving food, the totodile would just join the players team