Alchemy

suhalla_gate.c

Suhalla Gate in three scenes: the gate with the house beside it, a second scene where a Djinni waits, and a third.

games/tbs/src/scene/suhalla_gate.c on GitHub

Suhalla Gate in three scenes: the gate with the house beside it, a second scene where a Djinni waits, and a third. Before Babi's audience after Colosso two guards keep the gate and step together to block the passage. After it, the party arrives with Iodem to find the guards beaten by strange wanderers: Iodem questions them and sets out after the attackers.

Functions

Event_FightDjinni

static void Event_FightDjinni(void)

Talking to the Djinni starts its battle.

Used by gSuhallaGateEvents2.

Line 62

Scene_GetPlacements

const struct ScenePlacement *Scene_GetPlacements(void)

The guards, wounded after Babi's audience, and the Djinni.

Line 83

Scene_GetEvents

const struct SceneEvent *Scene_GetEvents(void)

The events of the gate, the Djinni's scene or the third scene.

Line 99

Scene_Initialize

s32 Scene_Initialize(void)

Sets the gate up as the party enters. Once the attack has been seen, the house beside the gate is the saved place. In the first scene the vanished soldier stays hidden, the side the party came in by is remembered for Retreat, and arriving from the south before Babi's audience changes cells by the passage. The Spanish, French and Italian editions also change cells around the wounded guards.

Line 117

Event_EnterHouse

static void Event_EnterHouse(void)

The leader walks north into the house's door: it opens in two frames and the leader steps inside.

Used by gSuhallaGateEventsOther.

Line 170

Event_LeaveForWorldMap

static void Event_LeaveForWorldMap(void)

The party leaves for the world map by trigger 1 or 5, forgetting the side it came in by.

Used by gSuhallaGateEventsOther.

Line 188

Event_GuardsBlockPassage

static void Event_GuardsBlockPassage(void)

Before Babi's audience, as the party nears the passage: the two guards step together in front of it, and the map cells around them change.

Used by gSuhallaGateEventsOther.

Line 199

Event_IodemQuestionsGuards

static void Event_IodemQuestionsGuards(void)

After Babi's audience, on reaching the gate: Iodem steps out of the party and asks what happened. The wounded guards tell of a strange group without papers whose powers beat them; Iodem asks whether it was the party's foe, and the guards send the party on after the attackers. Iodem rejoins the party.

Used by gSuhallaGateEventsOther.

Line 223

Event_TalkToEastGuard

static void Event_TalkToEastGuard(void)

Before the attack the east guard asks whether the party is bound for Babi Lighthouse. "Do you want to go to Babi Lighthouse?" Yes, and the party must show travel papers it does not have; no, and the guard calls them strange. Afterwards the guard vows to settle the score.

Used by gLunpaSealedEvents, gMcCoyPalaceGardenEvents, gSuhallaGateEventsOther.

Line 336

Event_SoldierVanishes

static void Event_SoldierVanishes(void)

The soldier east of the gate gasps that Venus Lighthouse was attacked by strange wanderers, then flickers, slowly and then fast, and vanishes.

Used by gSuhallaGateEventsOther.

Line 366

Also, functions without a comment: Scene_GetEntrances, Scene_GetRegions, Scene_GetExits.

Macros, without a comment: SUHALLA_GATE_RETREAT_SCENE, SUHALLA_GATE_RETREAT_SCENE.

Globals, without a comment: gSuhallaGateWoundedNoCollision, gSuhallaGateWounded, gSuhallaGateWoundedFlippedNoCollision, gSuhallaGateWoundedFlipped, gSuhallaGateEntrancesOther, gSuhallaGateEntrances2, gSuhallaGateEntrances3, gSuhallaGateExits, gSuhallaGatePlacementsOther, gSuhallaGatePlacements2, gSuhallaGatePlacements1, gSuhallaGatePlacements1AfterAudience, gSuhallaGateEventsOther, gSuhallaGateEvents2, gSuhallaGateEvents3.

On this page