Cleaned code repeat between dialogue and exploration.