Retreat code: Make function min_hp() externally accessible