Use this code and you'll have all the gems, keys, and levels obtained: T,T,T,T,X,S,T,T,T,T,S,X,T,O,T,T,T,O,S,T,X,X,X,X.