Separately the Chinese government recently allowed the Yuan to float more openly. That's had the effect of debasing it, but it wasn't a goal - the point is to allow it to float at a market price (partly to make it more viable as a reserve currency), but the government wants to prop up its value.
I don't think any government can create an irredeemable credit instrument and have it accepted as reserve currency. Even the dollar as reserve currency had to come in the back door.
And honestly, the "stock market crash" was just a correction. Yes, it declined by 50% over 2 months. But in the 9 months between September 2014 and June 2015 it had risen by over 250% - these most recent losses represent only about half of the total gains over the last year. China is a fast growing economy, and fast growing economies are volatile and prone to asset bubbles. Its economy is less reliant on its stock market than the US; hence the market can slide way, way further out of equilibrium than in the US because it's not as liquid and is only weakly tied to economic fundamentals.