I didn't manage to get NickHenleys code to work, sadly. So I went in with the starting code and managed to end on 4 orbs and 2 coins. There was a coin revealed in the bottom right of the purple cave at the end.
My code: 684i0(or O)TTT
Very cool concept John!