Did two TODOs in dungeon and gave some code their own functions.