Defeat Ansem

This is how they defeated Ansem in Ryan's Quest.

They are in Canterlot High

Ryan:

They went to the Secret Place.

Ansem: This world has been connected.

The school disappeared

Crash: What was that?

Ansem: Tied to the darkness... Soon to be completely eclipsed.

The houses vanishes into thin air

Ansem: There is so very much to learn.

The sky froths, turns a dark violet color

Ansem: You understand so little.

The Town starts to rumble and quake

Ansem: A meaningless effort. One who knows nothing can understand nothing

Canterlot High has been rip apart and they saw Cody and they know Ansem still possessed in Cody's Body

Ansem:

Then turn into himself

Ryan: Brother!

Ansem: