This takes place before the events of StarGate - The Video Game.

Ender is in council with the EnderLords and Qarvus. They get attacked by The New Order of the Hokages. Ender escapes (chase scene).

Ender grabs an escape pod and manages to fly to Earth (flying scene), but crashes in the water. He just escapes that as well.

It is effectively a game version of the story "Legend of Ender". The link is on the main page.