Skip to Content
The Alchemy Project

src/scene/tolbi_ship_deck.c

Tolbi-bound Ship (SceneIdTolbiShipDeck), its deck: the ship that carries the party and a tour group bound for Colosso across the Karagol Sea from Kalay to Tolbi. More…

Macros

NameDescription
#defineFLAG_TOLBI_SHIP_DECK_PASSENGER_HOLD_DOOR_OPEN FLAG_SCENE_TEMP(0x71)The door to the passengers' hold has been drawn open this visit.
#defineFLAG_TOLBI_SHIP_DECK_CAPTAINS_QUARTERS_DOOR_OPEN FLAG_SCENE_TEMP(0x72)The door to the captain's quarters has been drawn open this visit.
#defineTOLBI_SHIP_DECK_HOVER_AND_DIVE (Defines name, the update of a sea monster hovering by one warrior's side of the deck while the monsters attack.
#defineTOLBI_SHIP_DECK_LEAP_AT (name,Defines name, the update of a monster on deck that, at random, leaps at a warrior.
#defineKALAY_TALK_FACING (actorId)The talk facing of a Kalay actor's row in TolbiShipDeckActorPlacementsWaiting.
#defineTOLBI_SHIP_DECK_TAKE_ROWER (passenger, reply)Takes passenger as the next to come up, with reply, when one of the four seats holds them.
#defineTOLBI_SHIP_DECK_SEA_WRAP toFIXED(32)The sea's pattern repeats every 32 pixels, where its scroll wraps.

Enumerations

NameDescription
enumanonymous enum { OAR_SWING_MIRRORED, OAR_SWING_AT_REST }How scTolbiShipDeckSwingOar swings an oar: on the starboard side, mirrored; and at rest, at the angle it has rather than its stroke's.
enumOAR_STROKE { OAR_STROKE_STILL, OAR_STROKE_SLOW, OAR_STROKE_STEADY, OAR_ST … }How hard a rower pulls, which sets how fast his oars go round: the oar left still, then ever faster.
enumanonymous enum { OAR_ANIMATION_IN_AIR, OAR_ANIMATION_IN_WATER, OAR_ANIMATION_ … }SPRITE_OAR's animations (oar.tsv): the dry blade in the air, the blade splashing in the water, and the blade dipping in with a splash.
enumTOLBI_SHIP_DECK_ACTOR_ID { ACTOR_FIRST_STROKE_OAR, ACTOR_FIRST_OAR, ACTOR_KALAY_CREWMAN … }Who is who on deck, numbering each actor placement table's rows from ACTOR_FIRST_PLACED.
enumanonymous enum { ANIM_LYING_FLAT }Sean or Ouranos lying on his back, arms flung out (young_man_with_blue_hair.png, young_man_with_red_hair.png), beyond enum ACTOR_ANIMATION.
enumTOLBI_SHIP_DECK_METATILE_BEHAVIOR { METATILE_BEHAVIOR_TOLBI_SHIP_DECK_BY_CREW, METATILE_BEHAVIOR … }The metatiles of the deck at Kalay that start the scenes with the crew.
enumTOLBI_SHIP_DECK_DIVE_STEP { DIVE_STEP_HOVERING, DIVE_STEP_DIVE, DIVE_STEP_DIVE_STARTED, … }The steps of a hovering monster's dive (TOLBI_SHIP_DECK_HOVER_AND_DIVE), in sceneCount.
enumTOLBI_SHIP_DECK_LEAP_STEP { LEAP_STEP_WAITING, LEAP_STEP_READY, LEAP_STEP_LEAP, LEAP_STE … }The steps of a monster's leap on deck (TOLBI_SHIP_DECK_LEAP_AT), in timer.
enumTOLBI_SHIP_DECK_ROWER_REPLY { ROWER_REPLY_FINALLY_LUCKY, ROWER_REPLY_OTHERS_ALREADY, ROWER … }What each rower says coming up at Tolbi, named by its message.

Functions

NameDescription
static voidscTolbiShipDeckConfrontCrewman (void)The camera moves down to the cabin door, which opens, and the crewman steps out, shakes his head and starts at the sight of Isaac.
static voidscTolbiShipDeckApplyEntryState (void)Redraws the deck for the voyage's stage, starts the oars, the rocking and the sea as the ship moves, plays the script the entrance names, and otherwise places the people on deck for the stage.
static voidscTolbiShipDeckPlaceCrewWhileWaiting (void)At Kalay while the ship waits, places the captain, Kaja, the crewman, the sailor and the tour guide by what has happened so far.
static voidscTolbiShipDeckPlacePassengersAgreedToRow (void)At Kalay once the anchor charm is back (FLAG_TOLBI_SHIP_ANCHOR_CHARM_RETURNED), moves the people on deck.
static voidscTolbiShipDeckSetUpUnderSail (void)Under sail, the crew take their places, the two lookouts start their rounds and, when the party keeps its position, the leader stands on deck.
static voidscTolbiShipDeckSetUpAfterKraken (void)After the Kraken, the deck is as under sail, with Sean at the helm.
static voidscTolbiShipDeckSetUpAtAnchor (void)At anchor off the island, the crew stand where they were left, by whether the party has agreed to scout the island.
static voidscTolbiShipDeckDepartFromKalay (void)Setting sail from Kalay before the party is on deck, Kaja comes up through the carved door at the north end and tells the sailor in a yellow bandana that all is ready.
static voidscTolbiShipDeckDepartWithParty (void)On later departures, with the party aboard, Kaja comes up through the carved door at the north end and tells the sailor in a yellow bandana that all is ready.
static voidscTolbiShipDeckAnnouncePreparationsReady (Sint32 messenger, Sint32 crewMember)The messenger comes up through the carved door at the north end and nods, and the sailor waiting beside it jumps and calls `Preparations...
static voidscTolbiShipDeckSightSeaMonsters (void)Kaja calls "Aye, Captain!
static voidscTolbiShipDeckMonstersBoard (void)Ouranos runs up the deck crying it is too late, three monsters leap over the rail and go below by the carved door, and Ouranos is heard to cry "Arrgh!" as the fight moves below.
static voidscTolbiShipDeckMonstersAttackCrew (void)The monsters harry the crew while more of them climb aboard.
static voidscTolbiShipDeckMonsterLandsOnDeck (void)A great shape rises from the sea and a monster drops onto the deck.
static voidscTolbiShipDeckJumpIntoKrakenBattle (void)Isaac comes up through the carved door at the north end to find Ouranos lying flat on the deck.
static voidscTolbiShipDeckThankForKraken (void)After the Kraken, Kaja thanks Isaac, says they lost another oarsman and asks him to find someone to row while he checks the hull, and goes below.
static voidscTolbiShipDeckSightLand (void)Sean sees land, Ouranos says they have made it, and the ship sails on to Tolbi on the World Map.
static voidscTolbiShipDeckRowersDisembark (void)At Tolbi, the four passengers who rowed come up from below in turn and each says something.
static Sint32scTolbiShipDeckGetRowerAtSeat (Uint32 seat)Returns the passenger (ACTOR_ARRIVED_FIRST_PASSENGER and the eight after) who promised to row at a seat (0 to 3), or 0 if the seat is empty.
static voidscTolbiShipDeckRockDeck (void)Each tick once the ship is under way, rocks the view and scrolls the sea past.
static voidscTolbiShipDeckSetUpOars (void)While the ship is rowed, shows the stroke oars (ACTOR_FIRST_STROKE_OAR) and the oars at the sides (ACTOR_FIRST_OAR, the right-hand ones mirrored).
static voidscTolbiShipDeckShowOar (Sint32 actorId)Shows an oar drawn under the deck, with no collision.
static voidscTolbiShipDeckChooseOarStrokes (void)Gives each oar the stroke of its seat's rower.
static Sint32scTolbiShipDeckGetSeatStroke (Uint32 seat)Returns the stroke (1 to 4) of the rower at a seat, or 0 if the seat is empty.
static voidscTolbiShipDeckRowOars (void)Each tick while the ship is rowed, advances the four strokes and swings the eight oars at the sides, each following its stroke's phase.
static voidscTolbiShipDeckAdvanceStroke (Sint32 actorId, Sint32 slot)Advances one stroke's phase, by its oar's angle in the turn: the blade is in the water from 7/16 to 15/16 of the turn and goes round slowly there, slowest as it dips in and comes out over the first and last 1/32, and swings back through the air fastest.
static voidscTolbiShipDeckSwingOar (Sint32 id, Sint32 slot, Sint32 flags)Swings one oar at the side to its angle, turning it and moving it fore and aft about its depth; a rowing oar first takes its stroke's angle and picture.
static voidscTolbiShipDeckRestOars (void)While nobody rows, the oars lie at rest, all copying the first stroke oar.
static voidscTolbiShipDeckCopyUnderwayMetatiles (void)Takes in the gangplank to the Kalay dock on the east side, once the ship has left it: its metatiles are drawn over with sea and its ground walled off.
static voidscTolbiShipDeckCopyAnchoredMetatiles (void)Lays the gangplank on the west side, at anchor off the island and at Tolbi, and opens its ground.
static voidscTolbiShipDeckSay (Sint32 speaker)Shows the current message from a speaker and waits 10 ticks.
static voidscTolbiShipDeckTurn (Sint32 actorId, Sint32 facing)Turns an actor to a facing over 10 ticks.
static voidscTolbiShipDeckSightIsland (void)After the lookout's call, Kaja sees the coast is not Tolbi's and the ship is off course.
static voidscTolbiShipDeckReturnFromIsland (void)Back on deck from the island, the party is asked whether it explored it.
static voidscTolbiShipDeckPlaceLeaderOnDeck (void)Places the leader on the deck facing south, with the camera on them.
static Sint32scTolbiShipDeckShowShadow (ACTOR *actor)An actor script call that gives a monster leaping aboard from the sea its shadow, once it is over the deck.
static Sint32scTolbiShipDeckBob (ACTOR *actor)Bobs the actor between 4 and 12 pixels high by a random amount each tick.
static Sint32scTolbiShipDeckLookAround (ACTOR *actor)Now and then (two chances in 32) turns the actor to look north-northeast or north-northwest.
static Sint32scTolbiShipDeckRandomlyStartActorHop (ACTOR *actor)Makes the actor hop at random, one tick in 40 on average.
static voidscTolbiShipDeckShrinkToNormalSize (ACTOR *actor)The update that shrinks an enlarged actor by 1/32 a tick until it is back to normal size.
static Sint32scTolbiShipDeckIdleTurn (ACTOR *actor)Turns the actor east, north-north-east or south-south-west, each as likely, every 80 to 159 ticks.
const SCENE_ENTRANCE *scGetEntrances (void)The six rooms share one entrance table.
const SCENE_EXIT_REGION *scGetExitRegions (void)The scene has no exit regions: its regions entry returns none.
const Uint32 *scGetExits (void)Both scenes share one exit table.
const ACTOR_PLACE *scGetActorPlacements (void)Some villagers only turn back after talking once the flood is over or their family has gone home.
const CUE *scGetCues (void)The first water beast's cave changes its cues once the first drain has lowered its water: the beast is gone and its two puddles can be frozen.
static voidscTolbiShipDeckTalkToCrewMember (void)At Kalay, the sailor in a yellow bandana beside the tour guide, south-east on deck, snaps that they will sail when the replacement ship arrives.
static voidscTolbiShipDeckTalkToTourGuide (void)At Kalay, the tour guide with a pack, south-east on deck, complains that Colosso will start without his group.
static voidscTolbiShipDeckAskHeadedForColosso (void)At Tolbi, the sailor in a blue bandana by the gangplank, on the west side of the deck, asks whether Isaac is headed for Colosso too.
static voidscTolbiShipDeckOpenPassengerHoldDoor (void)The carved door up the ladder at the north end of the deck swings open, once a visit.
static voidscTolbiShipDeckOpenCaptainsQuartersDoor (void)The door of the cabin at the south end of the deck swings open, once a visit.
static voidscTolbiShipDeckGoBelow (void)Isaac goes below: through the carved door up the ladder at the north end of the deck (metatile (13, 37)), down the small stairway in the middle of the deck, walking west (metatile (13, 41)), or through the door of the cabin at the south end (metatile (13, 50)), the captain's quarters.
static voidscTolbiShipDeckGoBelowWhileFacingWest (void)In the German, Spanish, French and Italian editions, Isaac goes down the small stairway in the middle of the deck (metatile (13, 41)) as soon as he steps onto it facing west, walked to its middle first; elsewhere he has to keep walking west on it.
static voidscTolbiShipDeckWatchCrewDecideToSail (void)At Kalay, once the tour group has gone, walking past the stairway in the middle of the deck brings the camera round to the captain, Kaja and the crewman in a blue bandana talking over the late replacement ship.
static voidscTolbiShipDeckCatchCrewmanFromWest (void)At Kalay, when Isaac comes up to the door of the cabin at the south end from the west (metatiles (12, 50) and (12, 51)), the crewman in a blue bandana bursts out, says I didn't do anything..., sidles away east and runs off up that side of the deck.
static voidscTolbiShipDeckCatchCrewmanFromEast (void)At Kalay, when Isaac comes up to the door of the cabin at the south end from the east (metatiles (14, 50) and (14, 51)), the crewman in a blue bandana bursts out, says I didn't do anything..., sidles away west and runs off up that side of the deck.
Sint32scInit (void)Boards the deck: the view centred, the sea still, the rocking's angles drawn at random, and then the voyage's stage and script set up (scTolbiShipDeckApplyEntryState).
static voidscTolbiShipDeckOfferToScoutIsland (void)At anchor off the island, talking to Sean or Ouranos, the party is asked to scout the island for the arguing tour group.

Variables

NameDescription
extern const Sint32TolbiShipDeckKajaLeavesActions []At Kalay, as the crew's talk of the delay ends, Kaja walks off and is hidden.
extern const Sint32TolbiShipDeckCaptainStepsAsideActions []At the same moment the captain steps aside and turns west.
extern const Sint32TolbiShipDeckSquashAndStretchActions []The crew member's and the tour guide's impatience at Kalay.
extern const Sint32TolbiShipDeckMonsterLeapsAboardActions []A first-attack monster runs in, leaps over the rail onto the deck and goes below by the carved door at the north end.
extern const Sint32TolbiShipDeckSeanPacesActions []Sean on guard at sea, pacing between two spots on the deck and looking out at each.
extern const Sint32TolbiShipDeckOuranosPatrolsActions []Ouranos on guard at sea, walking the four corners of a square on the deck and looking out at each.
extern const Sint32TolbiShipDeckHoverAndDiveAtOuranosActions []The second attack's hovering monsters (ACTOR_SEA_FIRST_HOVERING_MONSTER).
extern const Sint32TolbiShipDeckHoverAndDiveAtSeanActions []
extern const Sint32TolbiShipDeckBobActions []The second attack's boarding monsters, bobbing in the air (scTolbiShipDeckBob).
extern const Sint32TolbiShipDeckLookAroundActions []Sean through the second attack, glancing north-north-east or north-north-west now and then (scTolbiShipDeckLookAround).
extern const Sint32TolbiShipDeckSwellActions []ACTOR_SEA_SPLASH swells from 7/10 of its size for 24 ticks, then is hidden.
extern const Sint32TolbiShipDeckMonsterGoesBelowActions []A monster on deck goes below by the carved door at the north end and is hidden.
extern const Sint32TolbiShipDeckLeapAtOuranosActions []The third attack's leaping monsters (ACTOR_SEA_FIRST_LEAPING_MONSTER).
extern const Sint32TolbiShipDeckLeapAtSeanActions []
extern const Sint32TolbiShipDeckHopActions []The third attack's boarding monsters, hopping at random.
extern const Sint32TolbiShipDeckRowerLeavesActions []At Tolbi, a passenger who rowed walks away once they have spoken, and is hidden.
extern const Sint32TolbiShipDeckGoBelowActions []Back from the island, Sean, Ouranos and the tour guide go below by the carved door at the north end, one after another.
extern const Sint32TolbiShipDeckSeanLooksAboutActions []Sean standing by, turning now and then (scTolbiShipDeckIdleTurn).
extern const SCENE_ENTRANCETolbiShipDeckEntrances []
extern const SCENE_EXIT_REGIONTolbiShipDeckRegions []
extern const Uint32TolbiShipDeckExits []
extern const ACTOR_PLACETolbiShipDeckActorPlacements []
extern ACTOR_PLACETolbiShipDeckActorPlacementsWaiting []
extern const ACTOR_PLACETolbiShipDeckActorPlacementsRowing []
extern const ACTOR_PLACETolbiShipDeckActorPlacementsAtSea []
extern const ACTOR_PLACETolbiShipDeckCrewActorPlacements []
extern const ACTOR_PLACETolbiShipDeckTourGuideActorPlacements []
extern const ACTOR_PLACETolbiShipDeckMonstersBoardActorPlacements []
extern const ACTOR_PLACETolbiShipDeckSecondAttackActorPlacements []
extern const ACTOR_PLACETolbiShipDeckThirdAttackActorPlacements []
extern const ACTOR_PLACETolbiShipDeckKrakenActorPlacements []
extern const ACTOR_PLACETolbiShipDeckActorPlacementsArrived []
extern const CUETolbiShipDeckCues []
extern const CUETolbiShipDeckCuesAtSea []
extern const CUETolbiShipDeckCuesArrived []
extern const CUETolbiShipDeckCuesAtIsland []
extern const Sint32TolbiShipDeckRowerStrokes []How hard each passenger rows, from ACTOR_ARRIVED_FIRST_PASSENGER on.
static Uint16StrokePhase [4]The four strokes' phases, which the oars at the sides follow (65,536 to a turn).
static Sint32RockAngleYThe deck's rocking up and down (65,536 to a turn).
static Sint32UnusedAfterRockYUnused: nothing reads or writes it.
static Uint16OarAngle [8]Each oar's angle in its swing (65,536 to a turn).
static Sint32SeaScroll [2]The sea layer's scroll across and down, 16.16 pixels within TOLBI_SHIP_DECK_SEA_WRAP.
static Sint32RockAngleXThe deck's rocking from side to side (65,536 to a turn).
static Sint32UnusedAfterRockXUnused: nothing reads or writes it.
static Sint32SeaSpeed [2]How fast the sea scrolls across and down, 16.16 pixels a tick.
static Uint32OarStroke [8]The eight oars' strokes (scTolbiShipDeckChooseOarStrokes) and the z each swings about, in 16.16.
static Sint32OarDepth [8]

Description

Tolbi-bound Ship (SceneIdTolbiShipDeck), its deck: the ship that carries the party and a tour group bound for Colosso across the Karagol Sea from Kalay to Tolbi.

The ship's other scenes are its mast (tolbi_ship_mast.c) and below decks (ship_rooms.c).

The deck runs north and south. At its north end a ladder climbs to a carved door, the way to the passengers' hold; a small stairway in the middle of the deck leads down, walking west, to the hold of crates and barrels; and the door of the cabin at the south end is the captain's quarters. At Kalay a gangplank on the east side leads back to the dock, and at Tolbi one on the west side leads ashore.

The voyage's stage, read from its flags, chooses the deck's actor placements and scripts. The stages are:

The setup redraws the deck's metatiles for the stage. Once the ship is under way it rocks the view; while the oars move the sea scrolls past and the oars swing to the strokes of the passengers at the seats (TolbiShipDeckRowerStrokes). Then it plays the script its entrance names.

Each script leaves into the next, in another of the ship's scenes or on the World Map, whose entrances sail the ship on. In story order:

Macros in detail

FLAG_TOLBI_SHIP_DECK_PASSENGER_HOLD_DOOR_OPEN

#define FLAG_TOLBI_SHIP_DECK_PASSENGER_HOLD_DOOR_OPEN FLAG_SCENE_TEMP(0x71)

The door to the passengers' hold has been drawn open this visit.

Referenced by scTolbiShipDeckApplyEntryState() and scTolbiShipDeckOpenPassengerHoldDoor().

Definition at line 405 of file tolbi_ship_deck.c.

FLAG_TOLBI_SHIP_DECK_CAPTAINS_QUARTERS_DOOR_OPEN

#define FLAG_TOLBI_SHIP_DECK_CAPTAINS_QUARTERS_DOOR_OPEN FLAG_SCENE_TEMP(0x72)

The door to the captain's quarters has been drawn open this visit.

Referenced by scTolbiShipDeckApplyEntryState() and scTolbiShipDeckOpenCaptainsQuartersDoor().

Definition at line 407 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_HOVER_AND_DIVE

#define TOLBI_SHIP_DECK_HOVER_AND_DIVE(

Defines name, the update of a sea monster hovering by one warrior's side of the deck while the monsters attack.

It drifts between minX and maxX and bobs, at random. One tick in a hundred it dives at the warrior to (diveX, diveZ), 20 pixels up, and the warrior turns and jumps (sometimes with an emote). Then it returns to its side, (eastX, eastZ) or (westX, westZ) as sceneByte picks.

Returns 1 to keep running.

Definition at line 450 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_LEAP_AT

#define TOLBI_SHIP_DECK_LEAP_AT(name,

Defines name, the update of a monster on deck that, at random, leaps at a warrior.

It jumps to him at (atX, atZ), he turns and jumps back (sometimes with an emote), and it lands. While sceneByte is set he turns to setFacing and it lands on (setX, setZ), else clearFacing and (clearX, clearZ).

The actor's timer holds the step (TOLBI_SHIP_DECK_LEAP_STEP). Returns 1.

Definition at line 670 of file tolbi_ship_deck.c.

KALAY_TALK_FACING

#define KALAY_TALK_FACING(actorId)

The talk facing of a Kalay actor's row in TolbiShipDeckActorPlacementsWaiting.

Referenced by scGetActorPlacements().

Definition at line 845 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_TAKE_ROWER

#define TOLBI_SHIP_DECK_TAKE_ROWER(passenger, reply)

Takes passenger as the next to come up, with reply, when one of the four seats holds them.

Referenced by scTolbiShipDeckRowersDisembark().

Definition at line 2307 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_SEA_WRAP

#define TOLBI_SHIP_DECK_SEA_WRAP toFIXED(32)

The sea's pattern repeats every 32 pixels, where its scroll wraps.

Referenced by scTolbiShipDeckRockDeck().

Definition at line 2518 of file tolbi_ship_deck.c.

Enumerations in detail

anonymous enum

enum { OAR_SWING_MIRRORED, OAR_SWING_AT_REST }

How scTolbiShipDeckSwingOar swings an oar: on the starboard side, mirrored; and at rest, at the angle it has rather than its stroke's.

EnumeratorValueDescription
OAR_SWING_MIRRORED1
OAR_SWING_AT_REST2

Definition at line 157 of file tolbi_ship_deck.c.

OAR_STROKE

enum OAR_STROKE

How hard a rower pulls, which sets how fast his oars go round: the oar left still, then ever faster. A seat no one rows still has its oars swing steadily.

EnumeratorValueDescription
OAR_STROKE_STILL1
OAR_STROKE_SLOW
OAR_STROKE_STEADY
OAR_STROKE_FAST

Definition at line 166 of file tolbi_ship_deck.c.

anonymous enum

enum { OAR_ANIMATION_IN_AIR, OAR_ANIMATION_IN_WATER, OAR_ANIMATION_DIPPING }

SPRITE_OAR's animations (oar.tsv): the dry blade in the air, the blade splashing in the water, and the blade dipping in with a splash.

EnumeratorValueDescription
OAR_ANIMATION_IN_AIR1
OAR_ANIMATION_IN_WATER2
OAR_ANIMATION_DIPPING3

Definition at line 176 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_ACTOR_ID

enum TOLBI_SHIP_DECK_ACTOR_ID

Who is who on deck, numbering each actor placement table's rows from ACTOR_FIRST_PLACED.

Every table starts with the same twelve rows of oars, and the scripts add their actors after a table's last row (fdScriptAppendActorPlacements). So each stage of the voyage has its own names, which carry its prefix.

At Kalay (TolbiShipDeckActorPlacementsWaiting) the captain talks the delay over with Kaja, the deck's fighter, and a crewman, who asks Kaja how the oarsmen are ("Say, Kaja, how are the oarsmen doing?").

At sea TolbiShipDeckCrewActorPlacements places Kaja and the warriors Ouranos and Sean, who help him guard the deck ("That'll be me, Ouranos, and Sean on deck").

EnumeratorValueDescription
ACTOR_FIRST_STROKE_OARACTOR_FIRST_PLACEDFour oars, with the same sprite as the others, that keep the strokes of TolbiShipDeckRowerStrokes. There is one for each OAR_STROKE, from the still oar to the fastest, drawn under the deck. Each oar at the sides copies the pictures of its seat's stroke (scTolbiShipDeckSwingOar). At rest the first stands in for the first oar. The eight oars at the ship's sides (SPRITE_OAR).
ACTOR_FIRST_OARACTOR_FIRST_STROKE_OAR + 4There are four at x 132, then four at x 300, which are drawn mirrored. They stand out from the hull while the ship is rowed.
ACTOR_KALAY_CREWMANACTOR_FIRST_OAR + 8At Kalay:
ACTOR_KALAY_CREW_MEMBERTolbiShipDeckActorPlacements, then TolbiShipDeckActorPlacementsWaiting. The crewman, a man in a blue bandana (SPRITE_MAN_IN_BLUE_BANDANA), who hid the captain's anchor charm on the mast and denies everything. One of the crew, a man in a yellow bandana (SPRITE_MAN_IN_YELLOW_BANDANA), who answers the tour guide beside him. When the ship leaves he calls "Preparations... Ready!" (MsgTolbiShipPreparationsReady).
ACTOR_KALAY_CAPTAINThe captain, an old man with a white beard in green (SPRITE_MAN_WITH_WHITE_BEARD_IN_GREEN).
ACTOR_KALAY_KAJAKaja, a bald man with a beard (SPRITE_KAJA). The tour group's guide, a man carrying a pack
ACTOR_KALAY_TOUR_GUIDE(SPRITE_MAN_CARRYING_A_PACK) as on the Tolbi Docks. Mind Read hears "I just hope we don't have to refund their money at the end of the trip." Three of the tour group's passengers, named by what they say first.
ACTOR_KALAY_PASSENGER_WAITING_LONGThis one is a chef (SPRITE_CHEF).
ACTOR_KALAY_PASSENGER_SEEING_COLOSSOA young woman in green (SPRITE_YOUNG_WOMAN_IN_GREEN).
ACTOR_KALAY_PASSENGER_KARAGOLA bald, muscular man (SPRITE_BALD_MUSCULAR_MAN).
ACTOR_SEA_KAJAACTOR_FIRST_OAR + 8At sea: TolbiShipDeckCrewActorPlacements after the oars, then each script's own rows.
ACTOR_SEA_OURANOSOuranos, a young man with red hair (SPRITE_YOUNG_MAN_WITH_RED_HAIR).
ACTOR_SEA_SEANSean, a young man with blue hair (SPRITE_YOUNG_MAN_WITH_BLUE_HAIR).
ACTOR_SEA_CREW_MEMBERWith ACTOR_KALAY_CREW_MEMBER's sprite. At anchor, Mind Read hears "I want to be a sailor like Kaja". On later departures he calls "Preparations... Ready!" The first attack's three monsters, all of one sprite.
ACTOR_SEA_FIRST_ATTACK_MONSTERThey belong to
ACTOR_SEA_FIRST_HOVERING_MONSTERACTOR_SEA_CREW_MEMBER + 1TOLBI_SHIP_DECK_FROM_SHIP_ROOMS_MONSTERS_BOARD (TolbiShipDeckMonstersBoardActorPlacements). They leap aboard and go below by the carved door at the north end, where ShipRoomsFirstAttackMonsters places them. Four monsters of one sprite that hover by the deck. They belong to
ACTOR_SEA_SECOND_ATTACK_MONSTERACTOR_SEA_FIRST_HOVERING_MONSTER + 4TOLBI_SHIP_DECK_FROM_TOLBI_SHIP_MAST_SECOND_ATTACK (TolbiShipDeckSecondAttackActorPlacements). The first two dive at Sean and the others at Ouranos. Then the second attack's three come aboard and go below. Two are of the hovering monsters' sprite and one other, as
ACTOR_SEA_SPLASHACTOR_SEA_SECOND_ATTACK_MONSTER + 3ShipRoomsSecondAttackMonsters places them. The splash that
ACTOR_SEA_FIRST_LEAPING_MONSTERACTOR_SEA_CREW_MEMBER + 1swells for 24 ticks at the rail where the last of them leaps aboard out of the sea (SPRITE_SPLASH). Four monsters with the first attack's sprite, that leap at Sean, the first two, and at Ouranos. They belong to TOLBI_SHIP_DECK_FROM_TOLBI_SHIP_MAST_THIRD_ATTACK
ACTOR_SEA_THIRD_ATTACK_MONSTERACTOR_SEA_FIRST_LEAPING_MONSTER + 4(TolbiShipDeckThirdAttackActorPlacements). Then the third attack's three, which go below. Two have the first attack's sprite and one other, as
ACTOR_SEA_FALLING_MONSTER_SHADOWACTOR_SEA_THIRD_ATTACK_MONSTER + 3ShipRoomsThirdAttackMonsters places them. The last drops onto the deck. The falling monster's shadow, standing in for its own while it drops. A blank sprite (SPRITE_BLANK) draws only its shadow, which grows
ACTOR_SEA_KRAKENACTOR_SEA_CREW_MEMBER + 1from a tenth of its size where the monster will land. It goes the moment the monster lands and its own shadow is switched on. The Kraken, which the party charges. It belongs to TOLBI_SHIP_DECK_FROM_SHIP_ROOMS_KRAKEN and at anchor (TolbiShipDeckKrakenActorPlacements, after Garet, Ivan and Mia in their own slots). At anchor the same rows place it only for it to be released at once.
ACTOR_INVISIBLE_SEA_CAMERA_TARGETAn invisible actor (SPRITE_BLANK) the camera follows across the deck. The tour guide, who comes up from below at anchor, back from the island (TolbiShipDeckTourGuideActorPlacements).
ACTOR_TOUR_GUIDE_AT_ANCHORKaja says "Tell our tourists they can enjoy a nice, long break after we arrive."
ACTOR_ARRIVED_KAJAACTOR_FIRST_OAR + 8At Tolbi: TolbiShipDeckActorPlacementsArrived. A man in a blue bandana (SPRITE_MAN_IN_BLUE_BANDANA).
ACTOR_ARRIVED_ASKS_ABOUT_COLOSSOMind Read hears "I'm just going to hang out in Tolbi and enjoy myself for a while."
ACTOR_ARRIVED_CREW_MEMBERWith ACTOR_KALAY_CREW_MEMBER's sprite.
ACTOR_ARRIVED_FIRST_PASSENGERThe first of the nine passengers who could promise to row. They come in the order of each seat's
ACTOR_INVISIBLE_ARRIVED_CAMERA_TARGETACTOR_ARRIVED_FIRST_PASSENGER + 9group of flags (FLAG_TOLBI_SHIP_FIRST_SEAT_ROWERS and the others) and of TolbiShipDeckRowerStrokes. They are the tour group's two guides, the chef, the young woman in green, the bald, muscular man, the woman with a sword, the young man with brown hair, the woman with fair hair and an old man with a cane (SPRITE_OLD_MAN_WITH_CANE). An invisible actor (SPRITE_BLANK) the camera follows as the rowers come up.

Definition at line 206 of file tolbi_ship_deck.c.

anonymous enum

enum { ANIM_LYING_FLAT }

Sean or Ouranos lying on his back, arms flung out (young_man_with_blue_hair.png, young_man_with_red_hair.png), beyond enum ACTOR_ANIMATION.

EnumeratorValueDescription
ANIM_LYING_FLAT5

Definition at line 374 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_METATILE_BEHAVIOR

enum TOLBI_SHIP_DECK_METATILE_BEHAVIOR

The metatiles of the deck at Kalay that start the scenes with the crew. The ways below are metatiles numbered as their exits instead (scTolbiShipDeckGoBelow).

EnumeratorValueDescription
METATILE_BEHAVIOR_TOLBI_SHIP_DECK_BY_CREW10The deck beside the
METATILE_BEHAVIOR_TOLBI_SHIP_DECK_WEST_OF_CABIN_DOOR11stairway in the middle and south-east of it, metatiles (12, 39) to (15, 46), where Isaac comes upon the crew talking over the delay. Beside the door of the cabin at the south end, which the crewman slipped through: west of it, metatiles (12, 50) and (12, 51)...
METATILE_BEHAVIOR_TOLBI_SHIP_DECK_EAST_OF_CABIN_DOOR12...and east of it, metatiles (14, 50) and (14, 51).

Definition at line 382 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_DIVE_STEP

enum TOLBI_SHIP_DECK_DIVE_STEP

The steps of a hovering monster's dive (TOLBI_SHIP_DECK_HOVER_AND_DIVE), in sceneCount. After each move is started one tick passes before the arrival is tested.

EnumeratorValueDescription
DIVE_STEP_HOVERINGdrifting and bobbing on its side
DIVE_STEP_DIVEsets off at the warrior
DIVE_STEP_DIVE_STARTED
DIVE_STEP_DIVINGon arriving it cries, and the warrior turns and
DIVE_STEP_WARRIOR_JUMPEDjumps
DIVE_STEP_RETURNsets off back to its side
DIVE_STEP_RETURN_STARTED
DIVE_STEP_RETURNINGon arriving it slows and stops drifting
DIVE_STEP_BACK

Definition at line 427 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_LEAP_STEP

enum TOLBI_SHIP_DECK_LEAP_STEP

The steps of a monster's leap on deck (TOLBI_SHIP_DECK_LEAP_AT), in timer. After each jump is started one tick passes before the landing is tested.

EnumeratorValueDescription
LEAP_STEP_WAITINGone tick in 40 it gets ready
LEAP_STEP_READY
LEAP_STEP_LEAPjumps at the warrior
LEAP_STEP_LEAP_STARTED
LEAP_STEP_LEAPINGon landing the warrior turns and jumps
LEAP_STEP_WARRIOR_JUMPED
LEAP_STEP_HOP_AWAYjumps to where it lands
LEAP_STEP_HOP_STARTED
LEAP_STEP_HOPPING
LEAP_STEP_LANDED

Definition at line 648 of file tolbi_ship_deck.c.

TOLBI_SHIP_DECK_ROWER_REPLY

enum TOLBI_SHIP_DECK_ROWER_REPLY

What each rower says coming up at Tolbi, named by its message.

The first four found take the first four replies in the order found. Three passengers have their own.

EnumeratorValueDescription
ROWER_REPLY_FINALLY_LUCKY0MsgTolbiShipMadeFinallyLucky
ROWER_REPLY_OTHERS_ALREADY1MsgTolbiShipOtherPassengersAlready
ROWER_REPLY_DONE_ROWING2MsgTolbiShipDontRowAnymore
ROWER_REPLY_NO_WORKOUT3MsgTolbiShipOhhhHaventWorkout
ROWER_REPLY_ROWING_MORE10MsgTolbiShipRowingShipMore
ROWER_REPLY_LOST_AT_SEA11MsgTolbiShipTotallyLostOcean
ROWER_REPLY_OLD_MAN20MsgTolbiShipMakeOldMan

Definition at line 2294 of file tolbi_ship_deck.c.

Functions in detail

scTolbiShipDeckConfrontCrewman

static void scTolbiShipDeckConfrontCrewman(void)

The camera moves down to the cabin door, which opens, and the crewman steps out, shakes his head and starts at the sight of Isaac. Both ways of catching him start this way.

References fdActorFaceActor(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdCameraWaitForMove(), fdMapGridCopyMetatilesTo(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptWait(), gmFlagSet() and scTolbiShipDeckOpenCaptainsQuartersDoor().

Referenced by scTolbiShipDeckCatchCrewmanFromEast() and scTolbiShipDeckCatchCrewmanFromWest().

Definition at lines 126 and 1329 of file tolbi_ship_deck.c.

scTolbiShipDeckApplyEntryState

static void scTolbiShipDeckApplyEntryState(void)

Redraws the deck for the voyage's stage, starts the oars, the rocking and the sea as the ship moves, plays the script the entrance names, and otherwise places the people on deck for the stage.

References fdActorGet(), fdActorSetSpriteColorById(), gmFlagClear(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scTolbiShipDeckCopyAnchoredMetatiles(), scTolbiShipDeckCopyUnderwayMetatiles(), scTolbiShipDeckDepartFromKalay(), scTolbiShipDeckDepartWithParty(), scTolbiShipDeckJumpIntoKrakenBattle(), scTolbiShipDeckMonsterLandsOnDeck(), scTolbiShipDeckMonstersAttackCrew(), scTolbiShipDeckMonstersBoard(), scTolbiShipDeckPlaceCrewWhileWaiting(), scTolbiShipDeckPlacePassengersAgreedToRow(), scTolbiShipDeckRestOars(), scTolbiShipDeckRockDeck(), scTolbiShipDeckRowersDisembark(), scTolbiShipDeckRowOars(), scTolbiShipDeckSetUpAfterKraken(), scTolbiShipDeckSetUpAtAnchor(), scTolbiShipDeckSetUpOars(), scTolbiShipDeckSetUpUnderSail(), scTolbiShipDeckSightIsland(), scTolbiShipDeckSightLand(), scTolbiShipDeckSightSeaMonsters(), scTolbiShipDeckThankForKraken(), SeaScroll, SeaSpeed and sySetTickEvent().

Referenced by scInit().

Definition at lines 127 and 1383 of file tolbi_ship_deck.c.

scTolbiShipDeckPlaceCrewWhileWaiting

static void scTolbiShipDeckPlaceCrewWhileWaiting(void)

At Kalay while the ship waits, places the captain, Kaja, the crewman, the sailor and the tour guide by what has happened so far.

References fdActorGet(), fdActorSetScript(), fdActorSetSpritePriority(), gmFlagGet() and TolbiShipDeckSquashAndStretchActions.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 128 and 1504 of file tolbi_ship_deck.c.

scTolbiShipDeckPlacePassengersAgreedToRow

static void scTolbiShipDeckPlacePassengersAgreedToRow(void)

At Kalay once the anchor charm is back (FLAG_TOLBI_SHIP_ANCHOR_CHARM_RETURNED), moves the people on deck.

References fdActorGet() and fdActorSetSpritePriority().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 129 and 1543 of file tolbi_ship_deck.c.

scTolbiShipDeckSetUpUnderSail

static void scTolbiShipDeckSetUpUnderSail(void)

Under sail, the crew take their places, the two lookouts start their rounds and, when the party keeps its position, the leader stands on deck.

References fdActorGet(), fdActorSetScript(), fdScriptAppendActorPlacements(), fdScriptEnd(), fdScriptStart(), gmFlagGet(), scTolbiShipDeckPlaceLeaderOnDeck(), sySynch(), TolbiShipDeckCrewActorPlacements, TolbiShipDeckOuranosPatrolsActions and TolbiShipDeckSeanPacesActions.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 130 and 1565 of file tolbi_ship_deck.c.

scTolbiShipDeckSetUpAfterKraken

static void scTolbiShipDeckSetUpAfterKraken(void)

After the Kraken, the deck is as under sail, with Sean at the helm.

References fdActorGet(), fdActorSetScript(), fdScriptAppendActorPlacements(), fdScriptEnd(), fdScriptStart(), gmFlagGet(), scTolbiShipDeckPlaceLeaderOnDeck(), sySynch(), TolbiShipDeckCrewActorPlacements, TolbiShipDeckOuranosPatrolsActions and TolbiShipDeckSeanLooksAboutActions.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 131 and 1589 of file tolbi_ship_deck.c.

scTolbiShipDeckSetUpAtAnchor

static void scTolbiShipDeckSetUpAtAnchor(void)

At anchor off the island, the crew stand where they were left, by whether the party has agreed to scout the island.

References fdActorGet(), fdActorReleaseById(), fdScriptAppendActorPlacements(), fdScriptEnd(), fdScriptStart(), gmFlagGet(), MainRoutineStateWork, scTolbiShipDeckReturnFromIsland(), sySynch() and TolbiShipDeckKrakenActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 132 and 1612 of file tolbi_ship_deck.c.

scTolbiShipDeckDepartFromKalay

static void scTolbiShipDeckDepartFromKalay(void)

Setting sail from Kalay before the party is on deck, Kaja comes up through the carved door at the north end and tells the sailor in a yellow bandana that all is ready.

References fdActorGet(), fdMapGridCenterOnFollowedPoint(), fdScriptStart(), scTolbiShipDeckAnnouncePreparationsReady() and sySynch().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 133 and 1646 of file tolbi_ship_deck.c.

scTolbiShipDeckDepartWithParty

static void scTolbiShipDeckDepartWithParty(void)

On later departures, with the party aboard, Kaja comes up through the carved door at the north end and tells the sailor in a yellow bandana that all is ready.

References fdActorGet(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorStop(), fdCameraFollowActor(), fdMapGridCenterOnFollowedPoint(), fdScriptAppendActorPlacements(), fdScriptStart(), scTolbiShipDeckAnnouncePreparationsReady(), sySynch() and TolbiShipDeckCrewActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 134 and 1672 of file tolbi_ship_deck.c.

scTolbiShipDeckAnnouncePreparationsReady

static void scTolbiShipDeckAnnouncePreparationsReady(Sint32 messenger, Sint32 crewMember)

The messenger comes up through the carved door at the north end and nods, and the sailor waiting beside it jumps and calls Preparations... Ready!.

References fdActorFaceDirection(), fdActorJump(), fdActorSetAnimationAndWait(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckTurn(), Sint32 and syImportScriptSetExitRequest().

Referenced by scTolbiShipDeckDepartFromKalay() and scTolbiShipDeckDepartWithParty().

Definition at lines 135 and 1701 of file tolbi_ship_deck.c.

scTolbiShipDeckSightSeaMonsters

static void scTolbiShipDeckSightSeaMonsters(void)

Kaja calls "Aye, Captain! Sea monsters!" and Sean begs the captain to turn the rudder hard to starboard, which leads to the captain's quarters.

References fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorStartRepeatedMotion(), fdScriptAppendActorPlacements(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scTolbiShipDeckTurn(), syImportScriptSetExitRequest(), sySynch() and TolbiShipDeckCrewActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 137 and 1734 of file tolbi_ship_deck.c.

scTolbiShipDeckMonstersBoard

static void scTolbiShipDeckMonstersBoard(void)

Ouranos runs up the deck crying it is too late, three monsters leap over the rail and go below by the carved door, and Ouranos is heard to cry "Arrgh!" as the fight moves below.

References fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetDestination(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorSystemResumeProjectionAndHideLayers(), fdActorSystemSuspendProjectionAndShowSprites(), fdActorWaitForScriptEndById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdMessageSetVoiceFromActor(), fdScriptAppendActorPlacements(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), mnFieldMessageShowCentered(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckSay(), Sint32, syImportScriptSetExitRequest(), sySoundPlay(), sySynch(), TolbiShipDeckCrewActorPlacements, TolbiShipDeckMonsterLeapsAboardActions and TolbiShipDeckMonstersBoardActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 138 and 1767 of file tolbi_ship_deck.c.

scTolbiShipDeckMonstersAttackCrew

static void scTolbiShipDeckMonstersAttackCrew(void)

The monsters harry the crew while more of them climb aboard.

References fdActorGet(), fdActorMoveToAndWait(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetDestination(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorStop(), fdActorSystemResumeProjectionAndHideLayers(), fdActorSystemSuspendProjectionAndShowSprites(), fdMessageSetVoiceFromActor(), fdScriptAppendActorPlacements(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), mnFieldMessageShowCentered(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckTurn(), syImportScriptSetExitRequest(), sySoundPlay(), sySynch(), TolbiShipDeckBobActions, TolbiShipDeckCrewActorPlacements, TolbiShipDeckHoverAndDiveAtOuranosActions, TolbiShipDeckHoverAndDiveAtSeanActions, TolbiShipDeckLookAroundActions, TolbiShipDeckMonsterGoesBelowActions, TolbiShipDeckSecondAttackActorPlacements and TolbiShipDeckSwellActions.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 139 and 1839 of file tolbi_ship_deck.c.

scTolbiShipDeckMonsterLandsOnDeck

static void scTolbiShipDeckMonsterLandsOnDeck(void)

A great shape rises from the sea and a monster drops onto the deck.

References fdActorGet(), fdActorMoveToAndWait(), fdActorRunScriptAndWait(), fdActorSetDestination(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorStop(), fdActorSystemResumeProjectionAndHideLayers(), fdActorSystemSuspendProjectionAndShowSprites(), fdMessageSetVoiceFromActor(), fdScriptAppendActorPlacements(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), mnFieldMessageShowCentered(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckTurn(), Sint32, syImportScriptSetExitRequest(), sySoundPlay(), sySynch(), TolbiShipDeckCrewActorPlacements, TolbiShipDeckHopActions, TolbiShipDeckLeapAtOuranosActions, TolbiShipDeckLeapAtSeanActions, TolbiShipDeckMonsterGoesBelowActions and TolbiShipDeckThirdAttackActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 140 and 1947 of file tolbi_ship_deck.c.

scTolbiShipDeckJumpIntoKrakenBattle

static void scTolbiShipDeckJumpIntoKrakenBattle(void)

Isaac comes up through the carved door at the north end to find Ouranos lying flat on the deck. With a boom the deck shakes, the Kraken roars and Sean is hurled through the air to land flat beside him; then the party gathers and charges the Kraken.

References fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdActorSetDestination(), fdActorSetPosFX(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdRequestBattleFromEncounterTable(), fdScriptAppendActorPlacements(), fdScriptEnd(), fdScriptSetAfterBattleDestination(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckShrinkToNormalSize(), scTolbiShipDeckTurn(), sySoundPlay(), sySynch() and TolbiShipDeckKrakenActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 141 and 2075 of file tolbi_ship_deck.c.

scTolbiShipDeckThankForKraken

static void scTolbiShipDeckThankForKraken(void)

After the Kraken, Kaja thanks Isaac, says they lost another oarsman and asks him to find someone to row while he checks the hull, and goes below.

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorShowEmote(), fdActorWalkToAndWait(), fdScriptAppendActorPlacements(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagClear(), gmFlagSet(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckSay(), scTolbiShipDeckTurn(), sySynch(), TolbiShipDeckCrewActorPlacements, TolbiShipDeckOuranosPatrolsActions and TolbiShipDeckSeanLooksAboutActions.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 142 and 2195 of file tolbi_ship_deck.c.

scTolbiShipDeckSightLand

static void scTolbiShipDeckSightLand(void)

Sean sees land, Ouranos says they have made it, and the ship sails on to Tolbi on the World Map.

References fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorWalkToAndWait(), fdScriptAppendActorPlacements(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scTolbiShipDeckSay(), syImportScriptSetExitRequest(), sySynch() and TolbiShipDeckCrewActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 143 and 2248 of file tolbi_ship_deck.c.

scTolbiShipDeckRowersDisembark

static void scTolbiShipDeckRowersDisembark(void)

At Tolbi, the four passengers who rowed come up from below in turn and each says something.

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetDestination(), fdActorSetPosFX(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorWaitForScriptEndById(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagClear(), scTolbiShipDeckGetRowerAtSeat(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckSay(), scTolbiShipDeckTurn(), Sint32, sySynch() and TolbiShipDeckRowerLeavesActions.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 144 and 2325 of file tolbi_ship_deck.c.

scTolbiShipDeckGetRowerAtSeat

static Sint32 scTolbiShipDeckGetRowerAtSeat(Uint32 seat)

Returns the passenger (ACTOR_ARRIVED_FIRST_PASSENGER and the eight after) who promised to row at a seat (0 to 3), or 0 if the seat is empty.

References gmFlagGet() and Sint32.

Referenced by scTolbiShipDeckChooseOarStrokes() and scTolbiShipDeckRowersDisembark().

Definition at lines 145 and 2494 of file tolbi_ship_deck.c.

scTolbiShipDeckRockDeck

static void scTolbiShipDeckRockDeck(void)

Each tick once the ship is under way, rocks the view and scrolls the sea past.

References RockAngleX, RockAngleY, SeaScroll, SeaSpeed, Sint32, syCos() and sySin().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 146 and 2522 of file tolbi_ship_deck.c.

scTolbiShipDeckSetUpOars

static void scTolbiShipDeckSetUpOars(void)

While the ship is rowed, shows the stroke oars (ACTOR_FIRST_STROKE_OAR) and the oars at the sides (ACTOR_FIRST_OAR, the right-hand ones mirrored).

References fdActorGet(), OarDepth, scTolbiShipDeckChooseOarStrokes() and scTolbiShipDeckShowOar().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 147 and 2557 of file tolbi_ship_deck.c.

scTolbiShipDeckShowOar

static void scTolbiShipDeckShowOar(Sint32 actorId)

Shows an oar drawn under the deck, with no collision.

References fdActorGet(), fdActorSetSpriteFlags(), fdActorSetSpritePriority() and Sint32.

Referenced by scTolbiShipDeckRestOars() and scTolbiShipDeckSetUpOars().

Definition at lines 148 and 2591 of file tolbi_ship_deck.c.

scTolbiShipDeckChooseOarStrokes

static void scTolbiShipDeckChooseOarStrokes(void)

Gives each oar the stroke of its seat's rower.

References OarStroke, scTolbiShipDeckGetRowerAtSeat() and scTolbiShipDeckGetSeatStroke().

Referenced by scTolbiShipDeckSetUpOars().

Definition at lines 149 and 2609 of file tolbi_ship_deck.c.

scTolbiShipDeckGetSeatStroke

static Sint32 scTolbiShipDeckGetSeatStroke(Uint32 seat)

Returns the stroke (1 to 4) of the rower at a seat, or 0 if the seat is empty.

References gmFlagGet(), Sint32 and TolbiShipDeckRowerStrokes.

Referenced by scTolbiShipDeckChooseOarStrokes().

Definition at lines 150 and 2649 of file tolbi_ship_deck.c.

scTolbiShipDeckRowOars

static void scTolbiShipDeckRowOars(void)

Each tick while the ship is rowed, advances the four strokes and swings the eight oars at the sides, each following its stroke's phase.

References scTolbiShipDeckAdvanceStroke(), scTolbiShipDeckSwingOar() and StrokePhase.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 151 and 2671 of file tolbi_ship_deck.c.

scTolbiShipDeckAdvanceStroke

static void scTolbiShipDeckAdvanceStroke(Sint32 actorId, Sint32 slot)

Advances one stroke's phase, by its oar's angle in the turn: the blade is in the water from 7/16 to 15/16 of the turn and goes round slowly there, slowest as it dips in and comes out over the first and last 1/32, and swings back through the air fastest.

References fdActorSetAnimation(), OarAngle, Sint32 and StrokePhase.

Referenced by scTolbiShipDeckRowOars().

Definition at lines 152 and 2695 of file tolbi_ship_deck.c.

scTolbiShipDeckSwingOar

static void scTolbiShipDeckSwingOar(Sint32 id, Sint32 slot, Sint32 flags)

Swings one oar at the side to its angle, turning it and moving it fore and aft about its depth; a rowing oar first takes its stroke's angle and picture.

References fdActorCopyGraphics(), fdActorGet(), OarAngle, OarDepth, OarStroke, Sint32, StrokePhase and sySin().

Referenced by scTolbiShipDeckRestOars() and scTolbiShipDeckRowOars().

Definition at lines 153 and 2725 of file tolbi_ship_deck.c.

scTolbiShipDeckRestOars

static void scTolbiShipDeckRestOars(void)

While nobody rows, the oars lie at rest, all copying the first stroke oar.

References fdActorCopyGraphics(), fdActorGet(), fdActorSetPosFX(), OarAngle, OarDepth, OarStroke, scTolbiShipDeckShowOar(), scTolbiShipDeckSwingOar() and sySynch().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 183 and 2770 of file tolbi_ship_deck.c.

scTolbiShipDeckCopyUnderwayMetatiles

static void scTolbiShipDeckCopyUnderwayMetatiles(void)

Takes in the gangplank to the Kalay dock on the east side, once the ship has left it: its metatiles are drawn over with sea and its ground walled off.

References fdMapGridCopyMetatileAttributes() and fdMapGridCopyMetatilesTo().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 184 and 2847 of file tolbi_ship_deck.c.

scTolbiShipDeckCopyAnchoredMetatiles

static void scTolbiShipDeckCopyAnchoredMetatiles(void)

Lays the gangplank on the west side, at anchor off the island and at Tolbi, and opens its ground.

References fdMapGridCopyMetatileAttributes() and fdMapGridCopyMetatilesTo().

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 185 and 2858 of file tolbi_ship_deck.c.

scTolbiShipDeckSay

static void scTolbiShipDeckSay(Sint32 speaker)

Shows the current message from a speaker and waits 10 ticks.

References fdScriptShowMessage(), fdScriptWait() and Sint32.

Referenced by scTolbiShipDeckCatchCrewmanFromEast(), scTolbiShipDeckCatchCrewmanFromWest(), scTolbiShipDeckMonstersBoard(), scTolbiShipDeckOfferToScoutIsland(), scTolbiShipDeckReturnFromIsland(), scTolbiShipDeckRowersDisembark(), scTolbiShipDeckSightIsland(), scTolbiShipDeckSightLand(), scTolbiShipDeckThankForKraken() and scTolbiShipDeckWatchCrewDecideToSail().

Definition at lines 186 and 2865 of file tolbi_ship_deck.c.

scTolbiShipDeckTurn

static void scTolbiShipDeckTurn(Sint32 actorId, Sint32 facing)

Turns an actor to a facing over 10 ticks.

References fdActorFaceDirection() and Sint32.

Referenced by scTolbiShipDeckAnnouncePreparationsReady(), scTolbiShipDeckJumpIntoKrakenBattle(), scTolbiShipDeckMonsterLandsOnDeck(), scTolbiShipDeckMonstersAttackCrew(), scTolbiShipDeckOfferToScoutIsland(), scTolbiShipDeckReturnFromIsland(), scTolbiShipDeckRowersDisembark(), scTolbiShipDeckSightIsland(), scTolbiShipDeckSightSeaMonsters(), scTolbiShipDeckThankForKraken() and scTolbiShipDeckWatchCrewDecideToSail().

Definition at lines 187 and 2872 of file tolbi_ship_deck.c.

scTolbiShipDeckSightIsland

static void scTolbiShipDeckSightIsland(void)

After the lookout's call, Kaja sees the coast is not Tolbi's and the ship is off course.

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorWalkTo(), fdActorWalkToAndWait(), fdScriptAppendActorPlacements(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scTolbiShipDeckSay(), scTolbiShipDeckTurn(), SeaScroll, SeaSpeed, syImportScriptSetExitRequest(), sySynch() and TolbiShipDeckCrewActorPlacements.

Referenced by scTolbiShipDeckApplyEntryState().

Definition at lines 188 and 2879 of file tolbi_ship_deck.c.

scTolbiShipDeckReturnFromIsland

static void scTolbiShipDeckReturnFromIsland(void)

Back on deck from the island, the party is asked whether it explored it.

References fdActorFaceDirection(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdScriptAppendActorPlacements(), fdScriptAskYesNo(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scTolbiShipDeckOpenPassengerHoldDoor(), scTolbiShipDeckSay(), scTolbiShipDeckTurn(), syImportScriptSetExitRequest(), sySynch(), TolbiShipDeckGoBelowActions and TolbiShipDeckTourGuideActorPlacements.

Referenced by scTolbiShipDeckSetUpAtAnchor().

Definition at lines 189 and 3072 of file tolbi_ship_deck.c.

scTolbiShipDeckPlaceLeaderOnDeck

static void scTolbiShipDeckPlaceLeaderOnDeck(void)

Places the leader on the deck facing south, with the camera on them.

References fdActorGet(), fdMapGridCenterOnFollowedPoint() and sySynch().

Referenced by scTolbiShipDeckSetUpAfterKraken() and scTolbiShipDeckSetUpUnderSail().

Definition at lines 190 and 3177 of file tolbi_ship_deck.c.

scTolbiShipDeckShowShadow

static Sint32 scTolbiShipDeckShowShadow(ACTOR *actor)

An actor script call that gives a monster leaping aboard from the sea its shadow, once it is over the deck.

Returns 0 to end the call.

References fdActorSetSpriteFlags() and Sint32.

Referenced by TolbiShipDeckMonsterLeapsAboardActions.

Definition at line 413 of file tolbi_ship_deck.c.

scTolbiShipDeckBob

static Sint32 scTolbiShipDeckBob(ACTOR *actor)

Bobs the actor between 4 and 12 pixels high by a random amount each tick.

References Sint32.

Referenced by TolbiShipDeckBobActions.

Definition at line 610 of file tolbi_ship_deck.c.

scTolbiShipDeckLookAround

static Sint32 scTolbiShipDeckLookAround(ACTOR *actor)

Now and then (two chances in 32) turns the actor to look north-northeast or north-northwest.

Returns 1.

References Sint32.

Referenced by TolbiShipDeckLookAroundActions.

Definition at line 635 of file tolbi_ship_deck.c.

scTolbiShipDeckRandomlyStartActorHop

static Sint32 scTolbiShipDeckRandomlyStartActorHop(ACTOR *actor)

Makes the actor hop at random, one tick in 40 on average.

Returns 1.

References Sint32.

Referenced by TolbiShipDeckHopActions.

Definition at line 781 of file tolbi_ship_deck.c.

scTolbiShipDeckShrinkToNormalSize

static void scTolbiShipDeckShrinkToNormalSize(ACTOR *actor)

The update that shrinks an enlarged actor by 1/32 a tick until it is back to normal size.

Referenced by scTolbiShipDeckJumpIntoKrakenBattle().

Definition at line 790 of file tolbi_ship_deck.c.

scTolbiShipDeckIdleTurn

static Sint32 scTolbiShipDeckIdleTurn(ACTOR *actor)

Turns the actor east, north-north-east or south-south-west, each as likely, every 80 to 159 ticks.

References Sint32.

Referenced by TolbiShipDeckSeanLooksAboutActions.

Definition at line 801 of file tolbi_ship_deck.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References TolbiShipDeckEntrances.

Definition at line 828 of file tolbi_ship_deck.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

References TolbiShipDeckRegions.

Definition at line 833 of file tolbi_ship_deck.c.

scGetExits

const Uint32 *scGetExits(void)

References TolbiShipDeckExits.

Definition at line 838 of file tolbi_ship_deck.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References gmFlagGet(), TolbiShipDeckActorPlacements, TolbiShipDeckActorPlacementsArrived, TolbiShipDeckActorPlacementsAtSea, TolbiShipDeckActorPlacementsRowing and TolbiShipDeckActorPlacementsWaiting.

Definition at line 850 of file tolbi_ship_deck.c.

scGetCues

const CUE *scGetCues(void)

References gmFlagGet(), TolbiShipDeckCues, TolbiShipDeckCuesArrived, TolbiShipDeckCuesAtIsland and TolbiShipDeckCuesAtSea.

Definition at line 882 of file tolbi_ship_deck.c.

scTolbiShipDeckTalkToCrewMember

static void scTolbiShipDeckTalkToCrewMember(void)

At Kalay, the sailor in a yellow bandana beside the tour guide, south-east on deck, snaps that they will sail when the replacement ship arrives.

While the two warriors are off at the captain's quarters he frets Somebody stop them..., and once the anchor charm is back he says they ought to leave soon, though the passengers may not want to row.

References fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), gmFlagGet(), Sint32 and TolbiShipDeckSquashAndStretchActions.

Referenced by TolbiShipDeckCues.

Definition at line 899 of file tolbi_ship_deck.c.

scTolbiShipDeckTalkToTourGuide

static void scTolbiShipDeckTalkToTourGuide(void)

At Kalay, the tour guide with a pack, south-east on deck, complains that Colosso will start without his group.

While the two warriors are off at the captain's quarters he frets that they can't be planning a mutiny, and once the anchor charm is back he says the passengers will have to promise to row.

References fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), gmFlagGet(), Sint32 and TolbiShipDeckSquashAndStretchActions.

Referenced by TolbiShipDeckCues.

Definition at line 944 of file tolbi_ship_deck.c.

scTolbiShipDeckAskHeadedForColosso

static void scTolbiShipDeckAskHeadedForColosso(void)

At Tolbi, the sailor in a blue bandana by the gangplank, on the west side of the deck, asks whether Isaac is headed for Colosso too.

Yes, and he says most people are at this time of year; no, and he calls Isaac strange, like the group of six they ferried across a while back.

References fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId() and fdScriptStart().

Referenced by TolbiShipDeckCuesArrived.

Definition at line 988 of file tolbi_ship_deck.c.

scTolbiShipDeckOpenPassengerHoldDoor

static void scTolbiShipDeckOpenPassengerHoldDoor(void)

The carved door up the ladder at the north end of the deck swings open, once a visit.

References fdMapGridCopyMetatilesTo(), fdScriptGetFlag(), gmFlagSet() and sySoundPlay().

Referenced by scTolbiShipDeckAnnouncePreparationsReady(), scTolbiShipDeckGoBelow(), scTolbiShipDeckJumpIntoKrakenBattle(), scTolbiShipDeckMonsterLandsOnDeck(), scTolbiShipDeckMonstersAttackCrew(), scTolbiShipDeckMonstersBoard(), scTolbiShipDeckReturnFromIsland(), scTolbiShipDeckRowersDisembark() and scTolbiShipDeckThankForKraken().

Definition at line 1001 of file tolbi_ship_deck.c.

scTolbiShipDeckOpenCaptainsQuartersDoor

static void scTolbiShipDeckOpenCaptainsQuartersDoor(void)

The door of the cabin at the south end of the deck swings open, once a visit.

References fdMapGridCopyMetatilesTo(), fdScriptGetFlag(), gmFlagSet() and sySoundPlay().

Referenced by scTolbiShipDeckConfrontCrewman(), scTolbiShipDeckGoBelow() and scTolbiShipDeckWatchCrewDecideToSail().

Definition at line 1012 of file tolbi_ship_deck.c.

scTolbiShipDeckGoBelow

static void scTolbiShipDeckGoBelow(void)

Isaac goes below: through the carved door up the ladder at the north end of the deck (metatile (13, 37)), down the small stairway in the middle of the deck, walking west (metatile (13, 41)), or through the door of the cabin at the south end (metatile (13, 50)), the captain's quarters.

A door swings open and he walks into it; the stairway plays the exit sound. Each metatile's behaviour is its exit's number, which the cue rows name.

References fdActorCenterAndWalk(), fdScriptStart(), fdScriptWait(), scTolbiShipDeckOpenCaptainsQuartersDoor(), scTolbiShipDeckOpenPassengerHoldDoor(), Sint32, state, syImportScriptSetExitRequest() and sySoundPlay().

Referenced by scTolbiShipDeckGoBelowWhileFacingWest(), TolbiShipDeckCues, TolbiShipDeckCuesArrived, TolbiShipDeckCuesAtIsland and TolbiShipDeckCuesAtSea.

Definition at line 1029 of file tolbi_ship_deck.c.

scTolbiShipDeckGoBelowWhileFacingWest

static void scTolbiShipDeckGoBelowWhileFacingWest(void)

In the German, Spanish, French and Italian editions, Isaac goes down the small stairway in the middle of the deck (metatile (13, 41)) as soon as he steps onto it facing west, walked to its middle first; elsewhere he has to keep walking west on it.

There the stairway is a plain step cue, and this checks his facing.

References fdActorGet(), fdActorWaitForMoveById(), fdActorWalkTo(), fdScriptStart() and scTolbiShipDeckGoBelow().

Definition at line 1068 of file tolbi_ship_deck.c.

scTolbiShipDeckWatchCrewDecideToSail

static void scTolbiShipDeckWatchCrewDecideToSail(void)

At Kalay, once the tour group has gone, walking past the stairway in the middle of the deck brings the camera round to the captain, Kaja and the crewman in a blue bandana talking over the late replacement ship.

The captain will sail trusting his anchor charm. Kaja goes off, the captain steps aside, and the crewman slips through the door of the cabin at the south end.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdCameraWaitForMove(), fdEndBusyAndReveal(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scTolbiShipDeckOpenCaptainsQuartersDoor(), scTolbiShipDeckSay(), scTolbiShipDeckTurn(), TolbiShipDeckCaptainStepsAsideActions and TolbiShipDeckKajaLeavesActions.

Referenced by TolbiShipDeckCues.

Definition at line 1089 of file tolbi_ship_deck.c.

scTolbiShipDeckCatchCrewmanFromWest

static void scTolbiShipDeckCatchCrewmanFromWest(void)

At Kalay, when Isaac comes up to the door of the cabin at the south end from the west (metatiles (12, 50) and (12, 51)), the crewman in a blue bandana bursts out, says I didn't do anything..., sidles away east and runs off up that side of the deck.

He is next found at the far north end of the deck.

References fdActorFaceDirection(), fdActorGet(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdEndBusyAndReveal(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), scTolbiShipDeckConfrontCrewman() and scTolbiShipDeckSay().

Referenced by TolbiShipDeckCues.

Definition at line 1239 of file tolbi_ship_deck.c.

scTolbiShipDeckCatchCrewmanFromEast

static void scTolbiShipDeckCatchCrewmanFromEast(void)

At Kalay, when Isaac comes up to the door of the cabin at the south end from the east (metatiles (14, 50) and (14, 51)), the crewman in a blue bandana bursts out, says I didn't do anything..., sidles away west and runs off up that side of the deck.

He is next found at the far north end of the deck, as when caught from the west.

References fdActorFaceDirection(), fdActorGet(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdEndBusyAndReveal(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), scTolbiShipDeckConfrontCrewman() and scTolbiShipDeckSay().

Referenced by TolbiShipDeckCues.

Definition at line 1286 of file tolbi_ship_deck.c.

scInit

Sint32 scInit(void)

Boards the deck: the view centred, the sea still, the rocking's angles drawn at random, and then the voyage's stage and script set up (scTolbiShipDeckApplyEntryState).

References fdMapGridCenterOnFollowedPoint(), gmFlagClear(), RockAngleX, RockAngleY, scTolbiShipDeckApplyEntryState(), SeaScroll, SeaSpeed, Sint32, syRandomNext() and sySynch().

Definition at line 1360 of file tolbi_ship_deck.c.

scTolbiShipDeckOfferToScoutIsland

static void scTolbiShipDeckOfferToScoutIsland(void)

At anchor off the island, talking to Sean or Ouranos, the party is asked to scout the island for the arguing tour group.

References fdActorFaceDirection(), fdActorGet(), fdActorReleaseById(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorShowEmote(), fdActorWalkTo(), fdActorWalkToAndWait(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scTolbiShipDeckSay() and scTolbiShipDeckTurn().

Referenced by TolbiShipDeckCuesAtIsland.

Definition at line 2963 of file tolbi_ship_deck.c.

Variables in detail

TolbiShipDeckKajaLeavesActions

extern const Sint32 TolbiShipDeckKajaLeavesActions[]

const Sint32 TolbiShipDeckKajaLeavesActions[]

At Kalay, as the crew's talk of the delay ends, Kaja walks off and is hidden.

References Sint32.

Referenced by scTolbiShipDeckWatchCrewDecideToSail().

Definition at lines 84 and 3187 of file tolbi_ship_deck.c.

TolbiShipDeckCaptainStepsAsideActions

extern const Sint32 TolbiShipDeckCaptainStepsAsideActions[]

const Sint32 TolbiShipDeckCaptainStepsAsideActions[]

At the same moment the captain steps aside and turns west.

References Sint32.

Referenced by scTolbiShipDeckWatchCrewDecideToSail().

Definition at lines 85 and 3197 of file tolbi_ship_deck.c.

TolbiShipDeckSquashAndStretchActions

extern const Sint32 TolbiShipDeckSquashAndStretchActions[]

const Sint32 TolbiShipDeckSquashAndStretchActions[]

The crew member's and the tour guide's impatience at Kalay.

They squash and stretch on the spot, the wait between in their timer.

References scSquashAndStretch() and Sint32.

Referenced by scTolbiShipDeckPlaceCrewWhileWaiting(), scTolbiShipDeckTalkToCrewMember() and scTolbiShipDeckTalkToTourGuide().

Definition at lines 86 and 3210 of file tolbi_ship_deck.c.

TolbiShipDeckMonsterLeapsAboardActions

extern const Sint32 TolbiShipDeckMonsterLeapsAboardActions[]

const Sint32 TolbiShipDeckMonsterLeapsAboardActions[]

A first-attack monster runs in, leaps over the rail onto the deck and goes below by the carved door at the north end.

It is used at TOLBI_SHIP_DECK_FROM_SHIP_ROOMS_MONSTERS_BOARD.

References scTolbiShipDeckShowShadow() and Sint32.

Referenced by scTolbiShipDeckMonstersBoard().

Definition at lines 87 and 3219 of file tolbi_ship_deck.c.

TolbiShipDeckSeanPacesActions

extern const Sint32 TolbiShipDeckSeanPacesActions[]

const Sint32 TolbiShipDeckSeanPacesActions[]

Sean on guard at sea, pacing between two spots on the deck and looking out at each.

References Sint32.

Referenced by scTolbiShipDeckSetUpUnderSail().

Definition at lines 88 and 3240 of file tolbi_ship_deck.c.

TolbiShipDeckOuranosPatrolsActions

extern const Sint32 TolbiShipDeckOuranosPatrolsActions[]

const Sint32 TolbiShipDeckOuranosPatrolsActions[]

Ouranos on guard at sea, walking the four corners of a square on the deck and looking out at each.

References Sint32.

Referenced by scTolbiShipDeckSetUpAfterKraken(), scTolbiShipDeckSetUpUnderSail() and scTolbiShipDeckThankForKraken().

Definition at lines 89 and 3262 of file tolbi_ship_deck.c.

TolbiShipDeckHoverAndDiveAtOuranosActions

extern const Sint32 TolbiShipDeckHoverAndDiveAtOuranosActions[]

const Sint32 TolbiShipDeckHoverAndDiveAtOuranosActions[]

The second attack's hovering monsters (ACTOR_SEA_FIRST_HOVERING_MONSTER).

Their scratch fields are cleared, then TolbiShipDeckHoverAndDiveAtOuranos or TolbiShipDeckHoverAndDiveAtSean runs each tick.

References Sint32.

Referenced by scTolbiShipDeckMonstersAttackCrew().

Definition at lines 90 and 3302 of file tolbi_ship_deck.c.

TolbiShipDeckHoverAndDiveAtSeanActions

extern const Sint32 TolbiShipDeckHoverAndDiveAtSeanActions[]

const Sint32 TolbiShipDeckHoverAndDiveAtSeanActions[]

References Sint32.

Referenced by scTolbiShipDeckMonstersAttackCrew().

Definition at lines 91 and 3311 of file tolbi_ship_deck.c.

TolbiShipDeckBobActions

extern const Sint32 TolbiShipDeckBobActions[]

const Sint32 TolbiShipDeckBobActions[]

The second attack's boarding monsters, bobbing in the air (scTolbiShipDeckBob).

References scTolbiShipDeckBob() and Sint32.

Referenced by scTolbiShipDeckMonstersAttackCrew().

Definition at lines 92 and 3322 of file tolbi_ship_deck.c.

TolbiShipDeckLookAroundActions

extern const Sint32 TolbiShipDeckLookAroundActions[]

const Sint32 TolbiShipDeckLookAroundActions[]

Sean through the second attack, glancing north-north-east or north-north-west now and then (scTolbiShipDeckLookAround).

References scTolbiShipDeckLookAround() and Sint32.

Referenced by scTolbiShipDeckMonstersAttackCrew().

Definition at lines 93 and 3330 of file tolbi_ship_deck.c.

TolbiShipDeckSwellActions

extern const Sint32 TolbiShipDeckSwellActions[]

const Sint32 TolbiShipDeckSwellActions[]

ACTOR_SEA_SPLASH swells from 7/10 of its size for 24 ticks, then is hidden.

References Sint32.

Referenced by scTolbiShipDeckMonstersAttackCrew().

Definition at lines 94 and 3335 of file tolbi_ship_deck.c.

TolbiShipDeckMonsterGoesBelowActions

extern const Sint32 TolbiShipDeckMonsterGoesBelowActions[]

const Sint32 TolbiShipDeckMonsterGoesBelowActions[]

A monster on deck goes below by the carved door at the north end and is hidden.

References Sint32.

Referenced by scTolbiShipDeckMonsterLandsOnDeck() and scTolbiShipDeckMonstersAttackCrew().

Definition at lines 95 and 3352 of file tolbi_ship_deck.c.

TolbiShipDeckLeapAtOuranosActions

extern const Sint32 TolbiShipDeckLeapAtOuranosActions[]

const Sint32 TolbiShipDeckLeapAtOuranosActions[]

The third attack's leaping monsters (ACTOR_SEA_FIRST_LEAPING_MONSTER).

Their timer is cleared, then TolbiShipDeckLeapAtOuranos or TolbiShipDeckLeapAtSean runs each tick.

References Sint32.

Referenced by scTolbiShipDeckMonsterLandsOnDeck().

Definition at lines 96 and 3363 of file tolbi_ship_deck.c.

TolbiShipDeckLeapAtSeanActions

extern const Sint32 TolbiShipDeckLeapAtSeanActions[]

const Sint32 TolbiShipDeckLeapAtSeanActions[]

References Sint32.

Referenced by scTolbiShipDeckMonsterLandsOnDeck().

Definition at lines 97 and 3368 of file tolbi_ship_deck.c.

TolbiShipDeckHopActions

extern const Sint32 TolbiShipDeckHopActions[]

const Sint32 TolbiShipDeckHopActions[]

The third attack's boarding monsters, hopping at random.

References scTolbiShipDeckRandomlyStartActorHop() and Sint32.

Referenced by scTolbiShipDeckMonsterLandsOnDeck().

Definition at lines 98 and 3374 of file tolbi_ship_deck.c.

TolbiShipDeckRowerLeavesActions

extern const Sint32 TolbiShipDeckRowerLeavesActions[]

const Sint32 TolbiShipDeckRowerLeavesActions[]

At Tolbi, a passenger who rowed walks away once they have spoken, and is hidden.

References Sint32.

Referenced by scTolbiShipDeckRowersDisembark().

Definition at lines 99 and 3380 of file tolbi_ship_deck.c.

TolbiShipDeckGoBelowActions

extern const Sint32 TolbiShipDeckGoBelowActions[]

const Sint32 TolbiShipDeckGoBelowActions[]

Back from the island, Sean, Ouranos and the tour guide go below by the carved door at the north end, one after another.

References Sint32.

Referenced by scTolbiShipDeckReturnFromIsland().

Definition at lines 100 and 3391 of file tolbi_ship_deck.c.

TolbiShipDeckSeanLooksAboutActions

extern const Sint32 TolbiShipDeckSeanLooksAboutActions[]

const Sint32 TolbiShipDeckSeanLooksAboutActions[]

Sean standing by, turning now and then (scTolbiShipDeckIdleTurn).

References scTolbiShipDeckIdleTurn() and Sint32.

Referenced by scTolbiShipDeckSetUpAfterKraken() and scTolbiShipDeckThankForKraken().

Definition at lines 101 and 3406 of file tolbi_ship_deck.c.

TolbiShipDeckEntrances

extern const SCENE_ENTRANCE TolbiShipDeckEntrances[]

const SCENE_ENTRANCE TolbiShipDeckEntrances[]

Referenced by scGetEntrances().

Definition at lines 102 and 3412 of file tolbi_ship_deck.c.

TolbiShipDeckRegions

extern const SCENE_EXIT_REGION TolbiShipDeckRegions[]

const SCENE_EXIT_REGION TolbiShipDeckRegions[]

Referenced by scGetExitRegions().

Definition at lines 103 and 3449 of file tolbi_ship_deck.c.

TolbiShipDeckExits

extern const Uint32 TolbiShipDeckExits[]

const Uint32 TolbiShipDeckExits[]

Referenced by scGetExits().

Definition at lines 104 and 3454 of file tolbi_ship_deck.c.

TolbiShipDeckActorPlacements

extern const ACTOR_PLACE TolbiShipDeckActorPlacements[]

const ACTOR_PLACE TolbiShipDeckActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 105 and 3500 of file tolbi_ship_deck.c.

TolbiShipDeckActorPlacementsWaiting

extern ACTOR_PLACE TolbiShipDeckActorPlacementsWaiting[]

extern const ACTOR_PLACE TolbiShipDeckActorPlacementsWaiting[]

const ACTOR_PLACE TolbiShipDeckActorPlacementsWaiting[]

Referenced by scGetActorPlacements().

Definition at lines 107, 109 and 3542 of file tolbi_ship_deck.c.

TolbiShipDeckActorPlacementsRowing

extern const ACTOR_PLACE TolbiShipDeckActorPlacementsRowing[]

const ACTOR_PLACE TolbiShipDeckActorPlacementsRowing[]

Referenced by scGetActorPlacements().

Definition at lines 111 and 3594 of file tolbi_ship_deck.c.

TolbiShipDeckActorPlacementsAtSea

extern const ACTOR_PLACE TolbiShipDeckActorPlacementsAtSea[]

const ACTOR_PLACE TolbiShipDeckActorPlacementsAtSea[]

Referenced by scGetActorPlacements().

Definition at lines 112 and 3630 of file tolbi_ship_deck.c.

TolbiShipDeckCrewActorPlacements

extern const ACTOR_PLACE TolbiShipDeckCrewActorPlacements[]

const ACTOR_PLACE TolbiShipDeckCrewActorPlacements[]

Referenced by scTolbiShipDeckDepartWithParty(), scTolbiShipDeckMonsterLandsOnDeck(), scTolbiShipDeckMonstersAttackCrew(), scTolbiShipDeckMonstersBoard(), scTolbiShipDeckSetUpAfterKraken(), scTolbiShipDeckSetUpUnderSail(), scTolbiShipDeckSightIsland(), scTolbiShipDeckSightLand(), scTolbiShipDeckSightSeaMonsters() and scTolbiShipDeckThankForKraken().

Definition at lines 113 and 3665 of file tolbi_ship_deck.c.

TolbiShipDeckTourGuideActorPlacements

extern const ACTOR_PLACE TolbiShipDeckTourGuideActorPlacements[]

const ACTOR_PLACE TolbiShipDeckTourGuideActorPlacements[]

Referenced by scTolbiShipDeckReturnFromIsland().

Definition at lines 114 and 3677 of file tolbi_ship_deck.c.

TolbiShipDeckMonstersBoardActorPlacements

extern const ACTOR_PLACE TolbiShipDeckMonstersBoardActorPlacements[]

const ACTOR_PLACE TolbiShipDeckMonstersBoardActorPlacements[]

Referenced by scTolbiShipDeckMonstersBoard().

Definition at lines 115 and 3683 of file tolbi_ship_deck.c.

TolbiShipDeckSecondAttackActorPlacements

extern const ACTOR_PLACE TolbiShipDeckSecondAttackActorPlacements[]

const ACTOR_PLACE TolbiShipDeckSecondAttackActorPlacements[]

Referenced by scTolbiShipDeckMonstersAttackCrew().

Definition at lines 116 and 3693 of file tolbi_ship_deck.c.

TolbiShipDeckThirdAttackActorPlacements

extern const ACTOR_PLACE TolbiShipDeckThirdAttackActorPlacements[]

const ACTOR_PLACE TolbiShipDeckThirdAttackActorPlacements[]

Referenced by scTolbiShipDeckMonsterLandsOnDeck().

Definition at lines 117 and 3713 of file tolbi_ship_deck.c.

TolbiShipDeckKrakenActorPlacements

extern const ACTOR_PLACE TolbiShipDeckKrakenActorPlacements[]

const ACTOR_PLACE TolbiShipDeckKrakenActorPlacements[]

Referenced by scTolbiShipDeckJumpIntoKrakenBattle() and scTolbiShipDeckSetUpAtAnchor().

Definition at lines 118 and 3733 of file tolbi_ship_deck.c.

TolbiShipDeckActorPlacementsArrived

extern const ACTOR_PLACE TolbiShipDeckActorPlacementsArrived[]

const ACTOR_PLACE TolbiShipDeckActorPlacementsArrived[]

Referenced by scGetActorPlacements().

Definition at lines 119 and 3755 of file tolbi_ship_deck.c.

TolbiShipDeckCues

extern const CUE TolbiShipDeckCues[]

const CUE TolbiShipDeckCues[]

References scTolbiShipDeckCatchCrewmanFromEast(), scTolbiShipDeckCatchCrewmanFromWest(), scTolbiShipDeckGoBelow(), scTolbiShipDeckTalkToCrewMember(), scTolbiShipDeckTalkToTourGuide() and scTolbiShipDeckWatchCrewDecideToSail().

Referenced by scGetCues().

Definition at lines 120 and 3816 of file tolbi_ship_deck.c.

TolbiShipDeckCuesAtSea

extern const CUE TolbiShipDeckCuesAtSea[]

const CUE TolbiShipDeckCuesAtSea[]

References scTolbiShipDeckGoBelow().

Referenced by scGetCues().

Definition at lines 121 and 3903 of file tolbi_ship_deck.c.

TolbiShipDeckCuesArrived

extern const CUE TolbiShipDeckCuesArrived[]

const CUE TolbiShipDeckCuesArrived[]

References scTolbiShipDeckAskHeadedForColosso() and scTolbiShipDeckGoBelow().

Referenced by scGetCues().

Definition at lines 122 and 3930 of file tolbi_ship_deck.c.

TolbiShipDeckCuesAtIsland

extern const CUE TolbiShipDeckCuesAtIsland[]

const CUE TolbiShipDeckCuesAtIsland[]

References scTolbiShipDeckGoBelow() and scTolbiShipDeckOfferToScoutIsland().

Referenced by scGetCues().

Definition at lines 123 and 3958 of file tolbi_ship_deck.c.

TolbiShipDeckRowerStrokes

extern const Sint32 TolbiShipDeckRowerStrokes[]

const Sint32 TolbiShipDeckRowerStrokes[]

How hard each passenger rows, from ACTOR_ARRIVED_FIRST_PASSENGER on.

An empty seat's oars take OAR_STROKE_STEADY (scTolbiShipDeckChooseOarStrokes).

References Sint32.

Referenced by scTolbiShipDeckGetSeatStroke().

Definition at lines 124 and 4000 of file tolbi_ship_deck.c.

StrokePhase

static Uint16 StrokePhase[4]

The four strokes' phases, which the oars at the sides follow (65,536 to a turn).

Referenced by scTolbiShipDeckAdvanceStroke(), scTolbiShipDeckRowOars() and scTolbiShipDeckSwingOar().

Definition at line 582 of file tolbi_ship_deck.c.

RockAngleY

static Sint32 RockAngleY

The deck's rocking up and down (65,536 to a turn).

References Sint32.

Referenced by scInit() and scTolbiShipDeckRockDeck().

Definition at line 585 of file tolbi_ship_deck.c.

UnusedAfterRockY

static Sint32 UnusedAfterRockY

Unused: nothing reads or writes it.

References Sint32.

Definition at line 587 of file tolbi_ship_deck.c.

OarAngle

static Uint16 OarAngle[8]

Each oar's angle in its swing (65,536 to a turn).

Referenced by scTolbiShipDeckAdvanceStroke(), scTolbiShipDeckRestOars() and scTolbiShipDeckSwingOar().

Definition at line 590 of file tolbi_ship_deck.c.

SeaScroll

static Sint32 SeaScroll[2]

The sea layer's scroll across and down, 16.16 pixels within TOLBI_SHIP_DECK_SEA_WRAP.

References Sint32.

Referenced by scInit(), scTolbiShipDeckApplyEntryState(), scTolbiShipDeckRockDeck() and scTolbiShipDeckSightIsland().

Definition at line 594 of file tolbi_ship_deck.c.

RockAngleX

static Sint32 RockAngleX

The deck's rocking from side to side (65,536 to a turn).

References Sint32.

Referenced by scInit() and scTolbiShipDeckRockDeck().

Definition at line 597 of file tolbi_ship_deck.c.

UnusedAfterRockX

static Sint32 UnusedAfterRockX

Unused: nothing reads or writes it.

References Sint32.

Definition at line 599 of file tolbi_ship_deck.c.

SeaSpeed

static Sint32 SeaSpeed[2]

How fast the sea scrolls across and down, 16.16 pixels a tick.

References Sint32.

Referenced by scInit(), scTolbiShipDeckApplyEntryState(), scTolbiShipDeckRockDeck() and scTolbiShipDeckSightIsland().

Definition at line 602 of file tolbi_ship_deck.c.

OarStroke

static Uint32 OarStroke[8]

The eight oars' strokes (scTolbiShipDeckChooseOarStrokes) and the z each swings about, in 16.16.

Referenced by scTolbiShipDeckChooseOarStrokes(), scTolbiShipDeckRestOars() and scTolbiShipDeckSwingOar().

Definition at line 606 of file tolbi_ship_deck.c.

OarDepth

static Sint32 OarDepth[8]

References Sint32.

Referenced by scTolbiShipDeckRestOars(), scTolbiShipDeckSetUpOars() and scTolbiShipDeckSwingOar().

Definition at line 607 of file tolbi_ship_deck.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_TOLBI_SHIP_DECK_PASSENGER_HOLD_DOOR_OPENFLAG_TOLBI_SHIP_DECK_CAPTAINS_QUARTERS_DOOR_OPENTOLBI_SHIP_DECK_HOVER_AND_DIVETOLBI_SHIP_DECK_LEAP_ATKALAY_TALK_FACINGTOLBI_SHIP_DECK_TAKE_ROWERTOLBI_SHIP_DECK_SEA_WRAPEnumerations in detailanonymous enumOAR_STROKEanonymous enumTOLBI_SHIP_DECK_ACTOR_IDanonymous enumTOLBI_SHIP_DECK_METATILE_BEHAVIORTOLBI_SHIP_DECK_DIVE_STEPTOLBI_SHIP_DECK_LEAP_STEPTOLBI_SHIP_DECK_ROWER_REPLYFunctions in detailscTolbiShipDeckConfrontCrewmanscTolbiShipDeckApplyEntryStatescTolbiShipDeckPlaceCrewWhileWaitingscTolbiShipDeckPlacePassengersAgreedToRowscTolbiShipDeckSetUpUnderSailscTolbiShipDeckSetUpAfterKrakenscTolbiShipDeckSetUpAtAnchorscTolbiShipDeckDepartFromKalayscTolbiShipDeckDepartWithPartyscTolbiShipDeckAnnouncePreparationsReadyscTolbiShipDeckSightSeaMonstersscTolbiShipDeckMonstersBoardscTolbiShipDeckMonstersAttackCrewscTolbiShipDeckMonsterLandsOnDeckscTolbiShipDeckJumpIntoKrakenBattlescTolbiShipDeckThankForKrakenscTolbiShipDeckSightLandscTolbiShipDeckRowersDisembarkscTolbiShipDeckGetRowerAtSeatscTolbiShipDeckRockDeckscTolbiShipDeckSetUpOarsscTolbiShipDeckShowOarscTolbiShipDeckChooseOarStrokesscTolbiShipDeckGetSeatStrokescTolbiShipDeckRowOarsscTolbiShipDeckAdvanceStrokescTolbiShipDeckSwingOarscTolbiShipDeckRestOarsscTolbiShipDeckCopyUnderwayMetatilesscTolbiShipDeckCopyAnchoredMetatilesscTolbiShipDeckSayscTolbiShipDeckTurnscTolbiShipDeckSightIslandscTolbiShipDeckReturnFromIslandscTolbiShipDeckPlaceLeaderOnDeckscTolbiShipDeckShowShadowscTolbiShipDeckBobscTolbiShipDeckLookAroundscTolbiShipDeckRandomlyStartActorHopscTolbiShipDeckShrinkToNormalSizescTolbiShipDeckIdleTurnscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscGetCuesscTolbiShipDeckTalkToCrewMemberscTolbiShipDeckTalkToTourGuidescTolbiShipDeckAskHeadedForColossoscTolbiShipDeckOpenPassengerHoldDoorscTolbiShipDeckOpenCaptainsQuartersDoorscTolbiShipDeckGoBelowscTolbiShipDeckGoBelowWhileFacingWestscTolbiShipDeckWatchCrewDecideToSailscTolbiShipDeckCatchCrewmanFromWestscTolbiShipDeckCatchCrewmanFromEastscInitscTolbiShipDeckOfferToScoutIslandVariables in detailTolbiShipDeckKajaLeavesActionsTolbiShipDeckCaptainStepsAsideActionsTolbiShipDeckSquashAndStretchActionsTolbiShipDeckMonsterLeapsAboardActionsTolbiShipDeckSeanPacesActionsTolbiShipDeckOuranosPatrolsActionsTolbiShipDeckHoverAndDiveAtOuranosActionsTolbiShipDeckHoverAndDiveAtSeanActionsTolbiShipDeckBobActionsTolbiShipDeckLookAroundActionsTolbiShipDeckSwellActionsTolbiShipDeckMonsterGoesBelowActionsTolbiShipDeckLeapAtOuranosActionsTolbiShipDeckLeapAtSeanActionsTolbiShipDeckHopActionsTolbiShipDeckRowerLeavesActionsTolbiShipDeckGoBelowActionsTolbiShipDeckSeanLooksAboutActionsTolbiShipDeckEntrancesTolbiShipDeckRegionsTolbiShipDeckExitsTolbiShipDeckActorPlacementsTolbiShipDeckActorPlacementsWaitingTolbiShipDeckActorPlacementsRowingTolbiShipDeckActorPlacementsAtSeaTolbiShipDeckCrewActorPlacementsTolbiShipDeckTourGuideActorPlacementsTolbiShipDeckMonstersBoardActorPlacementsTolbiShipDeckSecondAttackActorPlacementsTolbiShipDeckThirdAttackActorPlacementsTolbiShipDeckKrakenActorPlacementsTolbiShipDeckActorPlacementsArrivedTolbiShipDeckCuesTolbiShipDeckCuesAtSeaTolbiShipDeckCuesArrivedTolbiShipDeckCuesAtIslandTolbiShipDeckRowerStrokesStrokePhaseRockAngleYUnusedAfterRockYOarAngleSeaScrollRockAngleXUnusedAfterRockXSeaSpeedOarStrokeOarDepth