advance_leg() now checks current_run.hof_encounter_ids first and only retires those Pokemon and their families. Falls back to all alive non-shiny Pokemon when no HoF team is selected (backwards compatible). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>