Moved the Creature find home logic into its own function.