Skip to Content
The Alchemy Project

src/scene/atteka_inlet.c

Atteka Inlet, where Felix ties up the Lemurian ship on the way to Contigo, in two scenes that share this overlay: the harbor, a sandy beach where the ship lies and the Wings of Anemos wait on their trestles (SceneIdAttekaInlet), and the grassy heights above it, with a house, the path north towards Contigo and the way west out to the world map (SceneIdAttekaInletGeode). More…

Macros

NameDescription
#defineFLAG_SHIPWRIGHTS_STOPPED_PARTYThe inlet's own story, which no other scene reads.
#defineFLAG_HAMMA_SHOWED_THE_WINGS 0x9b1Hamma showed the ship's wings
#defineFLAG_HAMMETS_GIFT_DELIVERED 0x9adMaster Hammet's messenger came
#defineFLAG_GEODE_UNCOVERED FLAG_AREA_TEMP(0x00)Cyclone uncovered Geode
#defineFLAG_TOLD_KRADEN_NOT_YET
#defineACTOR_HAMMETS_GIFT_CHEST (FIELD_TREASURE_ACTOR + 1)The chest Master Hammet's messenger leaves, holding his gift: hidden until he comes.

Enumerations

NameDescription
enumATTEKA_INLET_METATILE_BEHAVIOR { METATILE_BEHAVIOR_GANGPLANK_FOOT, METATILE_BEHAVIOR_BEFORE_T … }The map metatiles the inlet's step and Cyclone cues answer.
enumATTEKA_INLET_HARBOR_ACTOR_ID { ACTOR_GLOWING_POST_A, ACTOR_GLOWING_POST_B, ACTOR_GLOWING_PO … }The harbor's people, numbering AttekaInletHarborActorPlacements and the tables after it.
enumATTEKA_INLET_HEIGHTS_ACTOR_ID { ACTOR_WOMAN_ON_THE_CALM_SEA, ACTOR_SHIPWRIGHT, ACTOR_SECOND_ … }The heights above the harbor (AttekaInletHeightsActorPlacements).

Functions

NameDescription
voidscAttekaInletHammetsMessengerArrives (void)Master Hammet's messenger runs up the gangplank calling "Hey, wait!", sets down a chest with the gift he was to bring Isaac and runs off again; Hamma tells how Hammet, hurt that Isaac never came back to Kalay, sent it in thanks (FLAG_HAMMETS_GIFT_DELIVERED).
voidscAttekaInletSetUpTheHarbor (void)The harbor on entry: the ship is moored here, the waves along its hull and the surf on the beach move, Hammet's chest stays hidden until his messenger brings it, and once the ship has its wings the four robed men and Hamma stand watching the party until it has set out.
voidscAttekaInletSetUpTheHeights (void)The heights on entry: the shipwrights and the robed man are gone once the ship has flown, and until then, once they have stopped the party, the shipwrights stand blocking the way west; Geode stands by the round boulder once uncovered, until he joins.
voidscAttekaInletGeodeJoins (void)Talking to Geode, facing east towards him where Cyclone uncovered him by the round boulder, makes him hop to the leader and join the party, the screen washing green as he does.
const SCENE_ENTRANCE *scGetEntrances (void)Where the party can enter: the cave under the spring has its own entrances.
const SCENE_REGION *scGetExitRegions (void)The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
voidscAttekaInletAskKradenToSetSail (void)Talking to Kraden on the deck has him ask "Felix, are we setting off now?": yes sails the ship out of the inlet onto the world map, no has him say "Please don't rush on my account" and walk back into the leader.
voidscAttekaInletShipwrightsStopTheParty (void)Walking west across the heights towards the way out to the world map (metatiles (5, 18) to (6, 20)), once Isaac's party has joined Felix and before the ship has flown, two shipwrights jump up from below: "Where do you think you're going?" They want to see their handiwork take flight, and stay standing in the way, so the party can only leave by the ship.
voidscAttekaInletHammaShowsTheWings (void)Stepping off the gangplank onto the grass below the ship (metatiles (31, 24) to (34, 24)), once Isaac's party has joined Felix, has Hamma greet them, "I've been waiting for you, Felix", while the camera looks over the ship and its new wings; she tells them to raise it with Hover and set sail.
voidscAttekaInletKradenAsksToSetSail (void)Walking east along the deck towards the ship's wheel (metatile (34, 16)) brings Kraden out from the party to ask "Felix, are we setting off now?": yes sails the ship out of the inlet onto the world map, no sends him back into the party and Felix a step south, off the spot, so that Kraden asks again each time he comes back to it.
voidscAttekaInletCheckForHammetsMessenger (void)Stepping onto the deck at the head of the gangplank (metatile (32, 20)) after Hamma has shown the wings, in a game whose Broken Seal data has Dodonpa locked up, brings Master Hammet's messenger running after the party, once.
voidscAttekaInletCycloneUncoversGeode (void)Cyclone on the bush beside the round boulder, below the cliff on the heights (metatile (7, 23)), blows its leaves away and, unless the party has him already, Geode hops out of it; a leader standing in the bush hops aside to the west first.
voidscAttekaInletCycloneFirstWeeds (void)Cyclone on the westmost clump of weeds on the heights, south-west of the two pillars on the path north (metatile (4, 14)), scatters it.
voidscAttekaInletCycloneSecondWeeds (void)Cyclone on the clump of weeds just north-east of the westmost one, west of the two pillars on the path north (metatile (6, 13)), scatters it.
voidscAttekaInletCycloneThirdWeeds (void)Cyclone on the clump of weeds just north-west of the west pillar on the path north (metatile (6, 10)), scatters it.
voidscAttekaInletCycloneFourthWeeds (void)Cyclone on the clump of weeds just north-east of the east pillar on the path north (metatile (12, 10)), scatters it.
voidscAttekaInletCycloneFifthWeeds (void)Cyclone on the clump of weeds east of the east pillar on the path north (metatile (13, 11)), scatters it.
voidscAttekaInletCycloneSixthWeeds (void)Cyclone on the clump of weeds north-east of the east pillar, by the cliff's edge (metatile (14, 10)), scatters it.
voidscAttekaInletCycloneSeventhWeeds (void)Cyclone on the west clump of the three on the clifftop above the house (metatile (21, 10)) scatters it.
voidscAttekaInletCycloneEighthWeeds (void)Cyclone on the middle clump of the three on the clifftop above the house (metatile (22, 10)) scatters it.
voidscAttekaInletCycloneNinthWeeds (void)Cyclone on the east clump of the three on the clifftop above the house (metatile (23, 11)) scatters it.
voidscAttekaInletShareLeadersPriority (void)Nothing visible happens: each tick in the harbor, the boy by the wings and two of the glowing posts are layered with the leader, so that he passes in front of or behind them as he does the scenery around them.
voidscAttekaInletShareLeadersPriorityWithBoulder (void)Nothing visible happens: each tick on the heights, the round boulder is layered with the leader, as the harbor's posts are, by taking his sprite priority.
voidscAttekaInletRotateHullBandAndSurfColors (void)Turns the blues of the band along the ship's hull and the surf's colours on one step every eight ticks.
voidscAttekaInletOpenDoorAndEnter (void)Walking north into the door of the cabin on the ship's main deck (metatile (27, 18)) opens it; Felix walks in and the screen fades out to the cabins below.
Sint32scInit (void)Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.

Variables

NameDescription
extern ACTOR_PLACEAttekaInletActorPlacements []The scene's other rooms' actors.
extern ACTOR_PLACEAttekaInletHarborActorPlacements []The harbor's actors, in ATTEKA_INLET_HARBOR_ACTOR_ID's order.
extern ACTOR_PLACEAttekaInletHarborActorPlacementsOnceWinged []The harbor's actors once the party has met again at Contigo and the ship has its wings.
extern ACTOR_PLACEAttekaInletHarborActorPlacementsOnceSetOut []The harbor's actors once the ship has set out with its wings.
extern ACTOR_PLACEAttekaInletHeightsActorPlacementsOnceWinged []The heights' actors once the ship has its wings.
extern ACTOR_PLACEAttekaInletHeightsActorPlacements []The heights' actors, in ATTEKA_INLET_HEIGHTS_ACTOR_ID's order.
extern CUEAttekaInletCues []The scene's other rooms' cues.
extern CUEAttekaInletHeightsCues []The heights' exits, the shipwrights' spot, talks, Geode and Cyclone on its weeds.
extern CUEAttekaInletHarborCues []The harbor's exits, the cabin door, Hamma's and Kraden's spots, talks and the messenger's check.
SCENE_ENTRANCESceneEntrances []Besides the party's return to the pier after the ship is stolen, four unused spots about the mast: below the huge block, on the dock by its crate, on the deck, and at the top of the sail's east pole.
Uint32SceneExits []The room has no exits of its own.

Description

Atteka Inlet, where Felix ties up the Lemurian ship on the way to Contigo, in two scenes that share this overlay: the harbor, a sandy beach where the ship lies and the Wings of Anemos wait on their trestles (SceneIdAttekaInlet), and the grassy heights above it, with a house, the path north towards Contigo and the way west out to the world map (SceneIdAttekaInletGeode). On the deck, walking towards the ship's wheel brings Kraden up to ask whether to set sail (scAttekaInletKradenAsksToSetSail). Cyclone on the bush beside the round boulder on the heights uncovers Geode, a Venus Djinni (scAttekaInletCycloneUncoversGeode), and on eight other clumps of weeds only scatters them. Once Isaac's party has joined Felix at Contigo, two shipwrights block the way west, wanting to see their handiwork fly (scAttekaInletShipwrightsStopTheParty); Hamma waits at the foot of the gangplank to show the ship its new wings (scAttekaInletHammaShowsTheWings); and in a game linked with The Broken Seal, a messenger runs up the gangplank with Master Hammet's gift for Isaac (scAttekaInletHammetsMessengerArrives).

Macros in detail

FLAG_SHIPWRIGHTS_STOPPED_PARTY

#define FLAG_SHIPWRIGHTS_STOPPED_PARTY

The inlet's own story, which no other scene reads.

Referenced by AttekaInletHeightsCues, scAttekaInletSetUpTheHeights() and scAttekaInletShipwrightsStopTheParty().

Definition at line 28 of file atteka_inlet.c.

FLAG_HAMMA_SHOWED_THE_WINGS

#define FLAG_HAMMA_SHOWED_THE_WINGS 0x9b1

Hamma showed the ship's wings

Referenced by AttekaInletHarborCues, scAttekaInletCheckForHammetsMessenger(), scAttekaInletHammaShowsTheWings() and scAttekaInletSetUpTheHarbor().

Definition at line 31 of file atteka_inlet.c.

FLAG_HAMMETS_GIFT_DELIVERED

#define FLAG_HAMMETS_GIFT_DELIVERED 0x9ad

Master Hammet's messenger came

Referenced by scAttekaInletCheckForHammetsMessenger(), scAttekaInletHammetsMessengerArrives() and scAttekaInletSetUpTheHarbor().

Definition at line 32 of file atteka_inlet.c.

FLAG_GEODE_UNCOVERED

#define FLAG_GEODE_UNCOVERED FLAG_AREA_TEMP(0x00)

Cyclone uncovered Geode

Referenced by scAttekaInletCycloneUncoversGeode(), scAttekaInletGeodeJoins() and scAttekaInletSetUpTheHeights().

Definition at line 33 of file atteka_inlet.c.

FLAG_TOLD_KRADEN_NOT_YET

#define FLAG_TOLD_KRADEN_NOT_YET

Referenced by scAttekaInletAskKradenToSetSail().

Definition at line 34 of file atteka_inlet.c.

ACTOR_HAMMETS_GIFT_CHEST

#define ACTOR_HAMMETS_GIFT_CHEST (FIELD_TREASURE_ACTOR + 1)

The chest Master Hammet's messenger leaves, holding his gift: hidden until he comes.

Referenced by scAttekaInletHammetsMessengerArrives() and scAttekaInletSetUpTheHarbor().

Definition at line 151 of file atteka_inlet.c.

Enumerations in detail

ATTEKA_INLET_METATILE_BEHAVIOR

enum ATTEKA_INLET_METATILE_BEHAVIOR

The map metatiles the inlet's step and Cyclone cues answer.

EnumeratorValueDescription
METATILE_BEHAVIOR_GANGPLANK_FOOT10The harbor: the grass at the foot of the gangplank, where Hamma waits; the deck before the ship's wheel; the deck at the head of the gangplank.
METATILE_BEHAVIOR_BEFORE_THE_WHEEL11
METATILE_BEHAVIOR_GANGPLANK_HEAD12
METATILE_BEHAVIOR_WAY_WEST10The heights: the way west out to
METATILE_BEHAVIOR_GEODES_BUSH20the world map, where the shipwrights stop the party. The bush beside the round boulder, where Geode hides, and the nine clumps of weeds, in the order of scAttekaInletCycloneFirstWeeds and the rest.
METATILE_BEHAVIOR_FIRST_WEEDS
METATILE_BEHAVIOR_SECOND_WEEDS
METATILE_BEHAVIOR_THIRD_WEEDS
METATILE_BEHAVIOR_FOURTH_WEEDS
METATILE_BEHAVIOR_FIFTH_WEEDS
METATILE_BEHAVIOR_SIXTH_WEEDS
METATILE_BEHAVIOR_SEVENTH_WEEDS
METATILE_BEHAVIOR_EIGHTH_WEEDS
METATILE_BEHAVIOR_NINTH_WEEDS

Definition at line 38 of file atteka_inlet.c.

ATTEKA_INLET_HARBOR_ACTOR_ID

enum ATTEKA_INLET_HARBOR_ACTOR_ID

The harbor's people, numbering AttekaInletHarborActorPlacements and the tables after it.

EnumeratorValueDescription
ACTOR_GLOWING_POST_AACTOR_FIRST_PLACEDPurple posts with glowing tops, along the shore and up the slope.
ACTOR_GLOWING_POST_B
ACTOR_GLOWING_POST_C
ACTOR_GLOWING_POST_D
ACTOR_GLOWING_POST_E
ACTOR_YOUNG_MAN_WATCHING_THE_SKIES"I've been watching the skies, hoping I could catch another glimpse of the flying ship."
ACTOR_YOUNG_MAN_WONDERING_ABOUT_THE_OCEAN"I wonder what's on the other side of the ocean..."
ACTOR_WOMAN_GUARDING_THE_WINGS"We brought these wings from Contigo, and now we're guarding them."
ACTOR_BOY_ON_THE_WINGS"I wonder if these giant wings will really make it fly..."
ACTOR_CANNONThe cannon on the ship's deck, once the ship carries it.
ACTOR_KRADENKraden, who asks whether to set sail.
ACTOR_MAN_AWAITING_THE_LEGENDOnce the ship has wings, four robed men come to see it fly, and Hamma. "It's almost time... Time to watch a legend become reality!"
ACTOR_MAN_ON_HAMMAS_REQUEST"If everyone will just obey Hamma's request, the ship will surely fly."
ACTOR_MAN_ON_THE_WINGED_SHIP"When the winged ship of Anemos flies once again, the whole land shall be made free..."
ACTOR_MAN_ON_THE_STONE_ANCHORS"Once you remove the stone
ACTOR_HAMMAanchors weighing the ship down, it should fly..."
ACTOR_HAMMETS_MESSENGERMaster Hammet's messenger, in a game linked with The Broken Seal.

Definition at line 78 of file atteka_inlet.c.

ATTEKA_INLET_HEIGHTS_ACTOR_ID

enum ATTEKA_INLET_HEIGHTS_ACTOR_ID

The heights above the harbor (AttekaInletHeightsActorPlacements).

EnumeratorValueDescription
ACTOR_WOMAN_ON_THE_CALM_SEAACTOR_FIRST_PLACED"All of our myths and legends have taught us that the sea is a dangerous, fearsome power. But on the day the ship left, the sea was so calm and romantic looking..."
ACTOR_SHIPWRIGHTThe shipwrights who
ACTOR_SECOND_SHIPWRIGHTstop the party on its way west out of the inlet: "Where do you think you're going?"
ACTOR_MAN_WHO_SENT_EVERYONE_BACK"We sent everyone back to the village so that their hopes would not impair your flight."
ACTOR_ROUND_BOULDERACTOR_FIRST_PLACED + 5The round boulder in front of Geode's bush, which Lift raises.
ACTOR_GEODEGeode, the Venus Djinni Cyclone uncovers.

Definition at line 122 of file atteka_inlet.c.

Functions in detail

scAttekaInletHammetsMessengerArrives

void scAttekaInletHammetsMessengerArrives(void)

Master Hammet's messenger runs up the gangplank calling "Hey, wait!", sets down a chest with the gift he was to bring Isaac and runs off again; Hamma tells how Hammet, hurt that Isaac never came back to Kalay, sent it in thanks (FLAG_HAMMETS_GIFT_DELIVERED).

References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionById(), fdActorGetById(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetHorizontalPosAndAngleWithTerrain(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorWalkToAndWait(), fdCameraGetActor(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32, syGameFlagSet() and sySynch().

Referenced by scAttekaInletCheckForHammetsMessenger().

Definition at lines 72 and 595 of file atteka_inlet.c.

scAttekaInletSetUpTheHarbor

void scAttekaInletSetUpTheHarbor(void)

The harbor on entry: the ship is moored here, the waves along its hull and the surf on the beach move, Hammet's chest stays hidden until his messenger brings it, and once the ship has its wings the four robed men and Hamma stand watching the party until it has set out.

References fdActorGetById(), fdActorSetPosAndFacing(), fdActorSetSpriteFlags(), fdActorWatchAndSetScript(), MainRoutineStateWork, scAttekaInletRotateHullBandAndSurfColors(), scAttekaInletShareLeadersPriority(), scFieldSetTickEvent(), syGameFlagGet() and syGameFlagSet().

Referenced by scInit().

Definition at lines 73 and 775 of file atteka_inlet.c.

scAttekaInletSetUpTheHeights

void scAttekaInletSetUpTheHeights(void)

The heights on entry: the shipwrights and the robed man are gone once the ship has flown, and until then, once they have stopped the party, the shipwrights stand blocking the way west; Geode stands by the round boulder once uncovered, until he joins.

References fdActorSetPosAndFacing(), fdMapCopyMetatileAttributeRect(), MainRoutineStateWork, scAttekaInletShareLeadersPriorityWithBoulder(), syGameFlagClear(), syGameFlagGet(), sySetEvent() and sySynch().

Referenced by scInit().

Definition at lines 74 and 823 of file atteka_inlet.c.

scAttekaInletGeodeJoins

void scAttekaInletGeodeJoins(void)

Talking to Geode, facing east towards him where Cyclone uncovered him by the round boulder, makes him hop to the leader and join the party, the screen washing green as he does.

References fdDjinnJoinParty() and syGameFlagClear().

Referenced by AttekaInletHeightsCues.

Definition at line 156 of file atteka_inlet.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 164 of file atteka_inlet.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 169 of file atteka_inlet.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 174 of file atteka_inlet.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References AttekaInletActorPlacements, AttekaInletHarborActorPlacements, AttekaInletHarborActorPlacementsOnceSetOut, AttekaInletHarborActorPlacementsOnceWinged, AttekaInletHeightsActorPlacements, AttekaInletHeightsActorPlacementsOnceWinged, MainRoutineStateWork and syGameFlagGet().

Definition at line 179 of file atteka_inlet.c.

scGetCues

const CUE *scGetCues(void)

References AttekaInletCues, AttekaInletHarborCues, AttekaInletHeightsCues and MainRoutineStateWork.

Definition at line 202 of file atteka_inlet.c.

scAttekaInletAskKradenToSetSail

void scAttekaInletAskKradenToSetSail(void)

Talking to Kraden on the deck has him ask "Felix, are we setting off now?": yes sails the ship out of the inlet onto the world map, no has him say "Please don't rush on my account" and walk back into the leader. Once the parties have met again at Contigo, setting out takes the wings along (FLAG_SHIP_FLIES, FLAG_SET_OUT_WITH_WINGS).

References fdActorGetById(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorWaitForMoveById(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, MsgAreWeSetting, syGameFlagSet() and syImportScriptSetExitRequest().

Referenced by AttekaInletHarborCues.

Definition at line 218 of file atteka_inlet.c.

scAttekaInletShipwrightsStopTheParty

void scAttekaInletShipwrightsStopTheParty(void)

Walking west across the heights towards the way out to the world map (metatiles (5, 18) to (6, 20)), once Isaac's party has joined Felix and before the ship has flown, two shipwrights jump up from below: "Where do you think you're going?" They want to see their handiwork take flight, and stay standing in the way, so the party can only leave by the ship. Walls copied onto the metatiles beside them (fdMapCopyMetatileAttributeRect) close the path for good.

References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorMoveToAndWait(), fdActorSetAnimationById(), fdActorSetPosAndFacing(), fdActorShowEmoteById(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdMapCopyMetatileAttributeRect(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), Sint32, syGameFlagGet(), syGameFlagSet() and sySynch().

Referenced by AttekaInletHeightsCues.

Definition at line 272 of file atteka_inlet.c.

scAttekaInletHammaShowsTheWings

void scAttekaInletHammaShowsTheWings(void)

Stepping off the gangplank onto the grass below the ship (metatiles (31, 24) to (34, 24)), once Isaac's party has joined Felix, has Hamma greet them, "I've been waiting for you, Felix", while the camera looks over the ship and its new wings; she tells them to raise it with Hover and set sail.

References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorWalkToAndWaitById(), fdCameraGetActor(), fdCameraWaitForArrival(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32, syGameFlagGet() and syGameFlagSet().

Referenced by AttekaInletHarborCues.

Definition at line 338 of file atteka_inlet.c.

scAttekaInletKradenAsksToSetSail

void scAttekaInletKradenAsksToSetSail(void)

Walking east along the deck towards the ship's wheel (metatile (34, 16)) brings Kraden out from the party to ask "Felix, are we setting off now?": yes sails the ship out of the inlet onto the world map, no sends him back into the party and Felix a step south, off the spot, so that Kraden asks again each time he comes back to it.

References fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionById(), fdActorGetById(), fdActorPlaceOnActor(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorWaitForMoveById(), fdActorWalkToAndWaitById(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, MsgAreWeSetting, syGameFlagSet(), syImportScriptSetExitRequest() and sySynch().

Referenced by AttekaInletHarborCues.

Definition at line 428 of file atteka_inlet.c.

scAttekaInletCheckForHammetsMessenger

void scAttekaInletCheckForHammetsMessenger(void)

Stepping onto the deck at the head of the gangplank (metatile (32, 20)) after Hamma has shown the wings, in a game whose Broken Seal data has Dodonpa locked up, brings Master Hammet's messenger running after the party, once.

References scAttekaInletHammetsMessengerArrives() and syGameFlagGet().

Referenced by AttekaInletHarborCues.

Definition at line 483 of file atteka_inlet.c.

scAttekaInletCycloneUncoversGeode

void scAttekaInletCycloneUncoversGeode(void)

Cyclone on the bush beside the round boulder, below the cliff on the heights (metatile (7, 23)), blows its leaves away and, unless the party has him already, Geode hops out of it; a leader standing in the bush hops aside to the west first.

References fdActorFaceDirectionAndRefreshById(), fdActorGetById(), fdActorJump(), fdActorSetDestination(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), MainRoutineStateWork, scFieldTileCopiesCopyTouchedMetatiles(), Sint32, syGameFlagGet(), syGameFlagSet() and sySynch().

Referenced by AttekaInletHeightsCues.

Definition at line 495 of file atteka_inlet.c.

scAttekaInletCycloneFirstWeeds

void scAttekaInletCycloneFirstWeeds(void)

Cyclone on the westmost clump of weeds on the heights, south-west of the two pillars on the path north (metatile (4, 14)), scatters it. Each clump's script copies bare ground from a metatile nearby over the clump's metatiles that the whirl touched; on raised ground, as all nine are, a clump is drawn four rows north of the metatile it answers on.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 530 of file atteka_inlet.c.

scAttekaInletCycloneSecondWeeds

void scAttekaInletCycloneSecondWeeds(void)

Cyclone on the clump of weeds just north-east of the westmost one, west of the two pillars on the path north (metatile (6, 13)), scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 537 of file atteka_inlet.c.

scAttekaInletCycloneThirdWeeds

void scAttekaInletCycloneThirdWeeds(void)

Cyclone on the clump of weeds just north-west of the west pillar on the path north (metatile (6, 10)), scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 544 of file atteka_inlet.c.

scAttekaInletCycloneFourthWeeds

void scAttekaInletCycloneFourthWeeds(void)

Cyclone on the clump of weeds just north-east of the east pillar on the path north (metatile (12, 10)), scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 551 of file atteka_inlet.c.

scAttekaInletCycloneFifthWeeds

void scAttekaInletCycloneFifthWeeds(void)

Cyclone on the clump of weeds east of the east pillar on the path north (metatile (13, 11)), scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 558 of file atteka_inlet.c.

scAttekaInletCycloneSixthWeeds

void scAttekaInletCycloneSixthWeeds(void)

Cyclone on the clump of weeds north-east of the east pillar, by the cliff's edge (metatile (14, 10)), scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 565 of file atteka_inlet.c.

scAttekaInletCycloneSeventhWeeds

void scAttekaInletCycloneSeventhWeeds(void)

Cyclone on the west clump of the three on the clifftop above the house (metatile (21, 10)) scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 572 of file atteka_inlet.c.

scAttekaInletCycloneEighthWeeds

void scAttekaInletCycloneEighthWeeds(void)

Cyclone on the middle clump of the three on the clifftop above the house (metatile (22, 10)) scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 579 of file atteka_inlet.c.

scAttekaInletCycloneNinthWeeds

void scAttekaInletCycloneNinthWeeds(void)

Cyclone on the east clump of the three on the clifftop above the house (metatile (23, 11)) scatters it.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by AttekaInletHeightsCues.

Definition at line 586 of file atteka_inlet.c.

scAttekaInletShareLeadersPriority

void scAttekaInletShareLeadersPriority(void)

Nothing visible happens: each tick in the harbor, the boy by the wings and two of the glowing posts are layered with the leader, so that he passes in front of or behind them as he does the scenery around them. Each takes the leader's sprite priority.

References fdActorGetById(), fdActorSetSpritePriority(), MainRoutineStateWork and Sint32.

Referenced by scAttekaInletSetUpTheHarbor().

Definition at line 672 of file atteka_inlet.c.

scAttekaInletShareLeadersPriorityWithBoulder

void scAttekaInletShareLeadersPriorityWithBoulder(void)

Nothing visible happens: each tick on the heights, the round boulder is layered with the leader, as the harbor's posts are, by taking his sprite priority.

References fdActorGetById(), fdActorSetSpritePriority() and MainRoutineStateWork.

Referenced by scAttekaInletSetUpTheHeights().

Definition at line 687 of file atteka_inlet.c.

scAttekaInletRotateHullBandAndSurfColors

void scAttekaInletRotateHullBandAndSurfColors(void)

Turns the blues of the band along the ship's hull and the surf's colours on one step every eight ticks.

References Sint32.

Referenced by scAttekaInletSetUpTheHarbor().

Definition at line 698 of file atteka_inlet.c.

scAttekaInletOpenDoorAndEnter

void scAttekaInletOpenDoorAndEnter(void)

Walking north into the door of the cabin on the ship's main deck (metatile (27, 18)) opens it; Felix walks in and the screen fades out to the cabins below. The exit taken is the one the door's metatile names.

References fdActorCenterAndWalk(), fdActorSetAnimationById(), fdMapGridCopyMetatilesTo(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, syImportScriptSetExitRequest() and sySoundPlay().

Referenced by AttekaInletHarborCues.

Definition at line 728 of file atteka_inlet.c.

scInit

Sint32 scInit(void)

References MainRoutineStateWork, scAttekaInletSetUpTheHarbor(), scAttekaInletSetUpTheHeights() and Sint32.

Definition at line 745 of file atteka_inlet.c.

scPrepareMap

Sint32 scPrepareMap(void)

References fdMapGridCopyMetatileTilesIndicesRect(), MainRoutineStateWork, Sint32 and syGameFlagGet().

Definition at line 756 of file atteka_inlet.c.

Variables in detail

AttekaInletActorPlacements

extern ACTOR_PLACE AttekaInletActorPlacements[]

ACTOR_PLACE AttekaInletActorPlacements[]

The scene's other rooms' actors.

Referenced by scGetActorPlacements().

Definition at lines 64 and 889 of file atteka_inlet.c.

AttekaInletHarborActorPlacements

extern ACTOR_PLACE AttekaInletHarborActorPlacements[]

ACTOR_PLACE AttekaInletHarborActorPlacements[]

The harbor's actors, in ATTEKA_INLET_HARBOR_ACTOR_ID's order.

Referenced by scGetActorPlacements().

Definition at lines 65 and 894 of file atteka_inlet.c.

AttekaInletHarborActorPlacementsOnceWinged

extern ACTOR_PLACE AttekaInletHarborActorPlacementsOnceWinged[]

ACTOR_PLACE AttekaInletHarborActorPlacementsOnceWinged[]

The harbor's actors once the party has met again at Contigo and the ship has its wings.

Referenced by scGetActorPlacements().

Definition at lines 66 and 999 of file atteka_inlet.c.

AttekaInletHarborActorPlacementsOnceSetOut

extern ACTOR_PLACE AttekaInletHarborActorPlacementsOnceSetOut[]

ACTOR_PLACE AttekaInletHarborActorPlacementsOnceSetOut[]

The harbor's actors once the ship has set out with its wings.

Referenced by scGetActorPlacements().

Definition at lines 67 and 1157 of file atteka_inlet.c.

AttekaInletHeightsActorPlacementsOnceWinged

extern ACTOR_PLACE AttekaInletHeightsActorPlacementsOnceWinged[]

ACTOR_PLACE AttekaInletHeightsActorPlacementsOnceWinged[]

The heights' actors once the ship has its wings.

Referenced by scGetActorPlacements().

Definition at lines 68 and 1261 of file atteka_inlet.c.

AttekaInletHeightsActorPlacements

extern ACTOR_PLACE AttekaInletHeightsActorPlacements[]

ACTOR_PLACE AttekaInletHeightsActorPlacements[]

The heights' actors, in ATTEKA_INLET_HEIGHTS_ACTOR_ID's order.

Referenced by scGetActorPlacements().

Definition at lines 69 and 1329 of file atteka_inlet.c.

AttekaInletCues

extern CUE AttekaInletCues[]

CUE AttekaInletCues[]

The scene's other rooms' cues.

Referenced by scGetCues().

Definition at lines 70 and 1397 of file atteka_inlet.c.

AttekaInletHeightsCues

extern CUE AttekaInletHeightsCues[]

CUE AttekaInletHeightsCues[]

The heights' exits, the shipwrights' spot, talks, Geode and Cyclone on its weeds.

References scAttekaInletCycloneEighthWeeds(), scAttekaInletCycloneFifthWeeds(), scAttekaInletCycloneFirstWeeds(), scAttekaInletCycloneFourthWeeds(), scAttekaInletCycloneNinthWeeds(), scAttekaInletCycloneSecondWeeds(), scAttekaInletCycloneSeventhWeeds(), scAttekaInletCycloneSixthWeeds(), scAttekaInletCycloneThirdWeeds(), scAttekaInletCycloneUncoversGeode(), scAttekaInletGeodeJoins() and scAttekaInletShipwrightsStopTheParty().

Referenced by scGetCues().

Definition at lines 71 and 1518 of file atteka_inlet.c.

AttekaInletHarborCues

extern CUE AttekaInletHarborCues[]

CUE AttekaInletHarborCues[]

The harbor's exits, the cabin door, Hamma's and Kraden's spots, talks and the messenger's check.

References scAttekaInletAskKradenToSetSail(), scAttekaInletCheckForHammetsMessenger(), scAttekaInletHammaShowsTheWings(), scAttekaInletKradenAsksToSetSail() and scAttekaInletOpenDoorAndEnter().

Referenced by scGetCues().

Definition at lines 200 and 1403 of file atteka_inlet.c.

SceneEntrances

SCENE_ENTRANCE SceneEntrances[]

Referenced by scGetEntrances().

Definition at line 850 of file atteka_inlet.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 855 of file atteka_inlet.c.