What's wrong with my code?

2 posts were merged into an existing topic: The Descent - Puzzle discussion