Skip to Content
The Alchemy Project

src/scene/islets.c

The five small islets of the Eastern Sea, each a scene of its own in this one overlay, and the animal trade that leads from one to the next, every trade made by Mind Reading the animal. More…

Structures

NameDescription
structACTION_SCRIPTAn actor script copied whole into the script that runs it (IsletsSpinScript).

Macros

NameDescription
#defineFLAG_LOG_PUSHED_INTO_WATER 0xa2cThe trades along the islets, each set once done: the log pushed into the water, the dog's, Pengus's Pretty Stone, the cow's, the bird's, and the Li'l Turtle given to Lonesome George.
#defineFLAG_DOG_TRADED 0xaa1
#defineFLAG_PENGUS_GAVE_PRETTY_STONE 0xaa2
#defineFLAG_COW_TRADED 0xaa3
#defineFLAG_BIRD_TRADED 0xaa4
#defineFLAG_GEORGE_HAS_THE_TURTLE 0xaa5
#defineFLAG_PENGUS_CHASING_PENGULINA FLAG_SCENE_TEMP(0x00)For this visit, each islet's own: Pengus chasing Pengulina round the snow since the Pretty Stone; the cow's trade or Lonesome George's turtle turned down, so each asks again at once; each crate dropped from its ledge, and the two stacked in one metatile; the puddle frozen; the treasure hunters' slip; the bird back on its nest; the dog's trade just made; the party at Lonesome George's secret spot; and Reveal shown, holding the icebergs still.
#defineFLAG_RED_CLOTH_REFUSED FLAG_SCENE_TEMP(0x01)
#defineFLAG_TURTLE_REFUSED FLAG_SCENE_TEMP(0x01)
#defineFLAG_CRATE_A_DROPPED FLAG_SCENE_TEMP(0x10)
#defineFLAG_CRATE_B_DROPPED FLAG_SCENE_TEMP(0x11)
#defineFLAG_CRATES_IN_ONE_METATILE FLAG_SCENE_TEMP(0x12)
#defineFLAG_SOUTHEAST_ANGARA_ISLET_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x13)
#defineFLAG_TREASURE_HUNTERS_LET_SLIP FLAG_SCENE_TEMP(0x14)
#defineFLAG_BIRD_ON_NEST FLAG_SCENE_TEMP(0x15)
#defineFLAG_DOG_JUST_TRADED FLAG_SCENE_TEMP(0x16)
#defineFLAG_AT_SECRET_SPOT FLAG_SCENE_TEMP(0x17)
#defineFLAG_REVEAL_SHOWN FLAG_SCENE_TEMP(0x18)
#defineSceneStateWork ((Uint16 *)SceneStateWork)The scene's view of SceneStateWork (system/globals.h): its halfwords.
#defineSTEP (actor, x, z)An actor walks to (x, z) without turning to its way, and stops facing as it was.
#defineHAND_BACK (leader, given, motion)The cow walks round to Felix, he holds the Milk it gives him over his head, and the neckerchief is traded for it.
#defineISLETS_RIDE_TRANSITION
#defineSPAWN (turtle, splash, motion)Felix lets the Li'l Turtle into the water at (296, 424): a small turtle with motion flags motion, and its wading splash.
#defineWAVE_LINES_PADDING JAPANESE_OR(15, 11)Unused: the bytes between IsletsWaveTableIndex and the wave lines, which nothing reads.

Enumerations

NameDescription
enumanonymous enum { STEP_CUE_JUMP_TO_PIER }The metatiles Felix steps on or walks into that start this file's scripts, by islet.
enumanonymous enum { STEP_CUE_ICEBERG_BY_LADDER, STEP_CUE_SHORE_BY_LADDER, STEP_C … }On E Tundaria Islet: the shore below the west ladder and the iceberg moored beside it, the icy ledge's east end, the shore above the iceberg west of the healer, the log on the ledge, and the spot behind Pengulina once she is home with Pengus.
enumanonymous enum { STEP_CUE_NEAR_NEST, STEP_CUE_PUSH_CRATE_ON }On SE Angara Islet: the cliff top just south of the bird's nest, and the metatile behind each ledge's edge, (12, 24) and (7, 27), from which walking south pushes the crate standing at the edge off the ledge (scIsletsPushCrateOffLedge); a crate moved away from one of them leaves the cue there again.
enumanonymous enum { WEEDS_IN_COW_YARD, WEEDS_BY_HOUSE, WEEDS_SOUTH_OF_YARD, WEED … }On N Osenia Islet, in every edition but the Japanese, the six clumps of weeds Cyclone blows away for good (scIsletsClearFirstPatch to scIsletsClearSixthPatch).
enumanonymous enum { CUE_SINK_IN_SEA, EXIT_AFTER_SINKING }E Tundaria Islet's raised cue: Felix has fallen into the sea among the icebergs (scIsletsSinkInSea), and the exit that starts the islet again where the party lands from the World Map.
enumanonymous enum { EXIT_TO_SECRET_SPOT, EXIT_BACK_FROM_SECRET_SPOT, ENTRANCE_BA … }The Sea of Time Islet's ride on Lonesome George: the exits to and from his secret spot, and the entrances they arrive by.
enumanonymous enum { ACTOR_SAILOR, ACTOR_SAILORS_SON, ACTOR_SAILORS_OTHER_SON, AC … }The islets' people and animals, islet by islet, numbered by the rows of each islet's placements.
enumanonymous enum { ACTOR_MAN_IN_GREEN_VEST, ACTOR_PENGUS, ACTOR_LOG, ACTOR_FIRS … }E Tundaria Islet: the man in the green vest who walks by the hut, Pengus and Pengulina, the log pushed into the channel, the drifting icebergs and the healer.
enumanonymous enum { LOG_ANIM_ROLL, LOG_ANIM_FLOAT, LOG_ANIM_SPLASH_DOWN, BIRD_AN … }The islets' own animals' and objects' animations, by their sheets: the log rolls off the ledge, splashes down and floats; the orange bird flies, wings beating, and perches; the cow grazes now and then; the dog hops, and sits looking about and up; the icebergs glint now and then at rest and shimmer as they drift.
enumanonymous enum { ACTOR_SEA_OF_FOG_SON, ACTOR_SEA_OF_FOG_FATHER, ACTOR_COW, AC … }N Osenia Islet: the son and the father of the family sworn to cross the sea of fog, the Sea of Time, the cow, and a blue orb drawn hidden.
enumanonymous enum { ACTOR_TREASURE_HUNTER, ACTOR_TREASURE_HUNTERS_PARTNER, ACTOR … }SE Angara Islet: the two treasure hunters, the bird that trades, the two crates pushed off their ledges, and the puddle.
enumanonymous enum { ACTOR_OLD_MAN, ACTOR_LONESOME_GEORGE, ACTOR_LIL_TURTLE, ACTO … }The Sea of Time Islet: the old man in the palm forest, Lonesome George, who carries the party to his secret spot, the Li'l Turtle the party gives him, and two unseen blocks on the hut's deck.
enumanonymous enum { ISLETS_GROUND_LAYER, ISLETS_UPPER_LAYER, ISLETS_BOTH_LAYERS }The map layers scIsletsSetMetatileCollision writes: the ground the party walks on, and the upper one a crate stands on when it comes down onto another.
enumanonymous enum { SHALLOWS_SURF_PALETTE, SEA_SURF_PALETTE, SURF_COLORS, SURF_C … }The Sea of Time Islet's surf, two palette cycles of the same four colours from SURF_FIRST_COLOR: the foam along the shore in the shallows, and the surf round the islets and their rocks out at sea, each turned one place every sixth tick.

Functions

NameDescription
voidscIsletsPushLogIntoWater (void)Walking south against the log on E Tundaria Islet's icy ledge, from metatile (11, 7) or (12, 7), Felix pushes it over the edge, and it falls with a thud into the channel between Pengulina's shore and Pengus's, where it floats as a bridge across.
voidscIsletsTalkToPengus (void)Talking to Pengus, the penguin on E Tundaria Islet's east shore: until Pengulina is home he stops, cries "Pen pen!" and goes back to gazing across the water at her; after, he answers "Pen pen.", or "Pen pen pen..." while he chases her round the snow.
voidscIsletsMindReadPengus (void)Mind Read on Pengus: "My darling Pengulina hurt her leg on the far shore and can't swim back." Once she is home he is happy she is all right, or, while he chases her round the snow, says nothing beats playing there with her.
voidscIsletsMindReadPengulina (void)Mind Read on Pengulina: "Ohh...
voidscIsletsTalkToTreasureHunters (void)The treasure hunter by the tent on SE Angara Islet blurts out that they are not looking for Treasure Isle.
voidscIsletsTradeWithBird (void)Mind Read on the bird on SE Angara Islet with the Pretty Stone in the party: it hops, cries that it must have the stone, flutters down to Felix and back, and trades its very fancy neckerchief, the Red Cloth, for it.
voidscIsletsGiveTurtle (void)Mind Read on Lonesome George, the big turtle in the shallows below the Sea of Time Islet's cliffs, with the Li'l Turtle in the party: he is sad and lonely, Felix wades over and lets the little turtle into the water, and when George asks him to set it free with him, a yes makes them friends (scIsletsLonesomeGeorgeThanks); a no takes it back, and the next Mind Read asks at once.
voidscIsletsRideBackToIsland (void)Mind Read on Lonesome George at his secret spot: "You all set to go back to the island?" With a yes Felix hops on and George swims north with the Li'l Turtle, back to the Sea of Time Islet; with a no he says to take your time.
voidscIsletsTalkToSailorsSon (void)The sailor's son on West Indra Islet's pier boasts that his pop is the best sailor in all the Eastern Sea.
voidscIsletsOpenFieldMenu (void)Nothing visible happens when Felix talks to one of the two unseen blocks on the edge of the hut's deck on the Sea of Time Islet: the menu opens, just as when he talks to nothing.
voidscIsletsJumpDownLedge (void)Walking south off the east end of E Tundaria Islet's icy ledge (metatile (15, 8)), Felix jumps down to the snow below.
voidscIsletsSinkIntoSand (void)Sand on N Osenia Islet or the Sea of Time Islet: Felix sinks into the ground and moves through it as a mound of sand.
voidscIsletsRiseFromSand (void)When Sand ends on N Osenia Islet or the Sea of Time Islet, Felix rises out of the ground where he is and walks on the ground layer again.
voidscIsletsStartPushingCrate (void)Nothing visible happens as Felix starts to push or Move one of SE Angara Islet's two crates: the game notes where both stand.
voidscIsletsFreezePuddle (void)Frost on the puddle at the foot of SE Angara Islet's west cliff (metatile (5, 29)) freezes it into an ice pillar under the vine, a step Felix can hop onto from the stacked crates and climb on from.
voidscIsletsStepUpOntoShore (void)Holding Up on the iceberg moored at the foot of E Tundaria Islet's west shore, below the ladder (metatile (4, 18)), Felix steps up off it onto the snow.
voidscIsletsStepDownOntoIceberg (void)Holding Down at the south edge of E Tundaria Islet's west shore, below the ladder (metatile (4, 17)), Felix steps down onto the iceberg there, but only while it lies moored between its drifts (before tick 10 or after tick 210 of the icebergs' round).
voidscIsletsStartReveal (void)Nothing visible happens as Reveal takes effect on E Tundaria Islet, but the icebergs hold still until it fades (scIsletsEndReveal).
voidscIsletsEndReveal (void)Nothing visible happens as Reveal fades on E Tundaria Islet, but the icebergs drift again.
voidscIsletsClearFirstPatch (void)Cyclone on the weeds round the cow in its yard on N Osenia Islet (metatiles (5, 10) to (8, 13)) blows them away, and they stay gone while the party is on the islet.
voidscIsletsClearSecondPatch (void)Cyclone on the two weeds just east of the cow's fence, in front of N Osenia Islet's house (metatiles (12, 10) and (11, 11)), blows them away for good, as scIsletsClearFirstPatch does.
voidscIsletsClearFourthPatch (void)Cyclone on the weeds on N Osenia Islet's tilled field, south of the house (metatiles (15, 20) to (16, 22)), blows them away for good, as scIsletsClearFirstPatch does.
voidscIsletsClearSixthPatch (void)Cyclone on the weed by the fence south-east of N Osenia Islet's tilled field (metatile (19, 23)) blows it away for good, as scIsletsClearFirstPatch does.
voidscIsletsOpenDoorAndEnter (void)Walking north into the wooden door of the round snow hut on E Tundaria Islet (metatile (18, 12)), Felix lines up with it, it swings open and he walks inside.
voidscIsletsLeaveByStep (void)On the Sea of Time Islet, stepping onto the path out through the palms at the islet's north-west (metatiles (5, 5) and (6, 5)) takes the party out to the World Map, and onto the door of the hut on stilts (metatile (13, 10)) takes them inside.
voidscIsletsSinkInSea (void)When Felix falls into the sea among E Tundaria Islet's drifting icebergs, he sinks out of sight, and the islet starts again on its south shore, where the party lands from the World Map.
voidscIsletsJumpForward (void)Walking east off the sailor's boat at West Indra Islet's piers (metatile (5, 45)), Felix jumps the gap onto the pier.
voidscMapGridFillCollisionRectangle (Sint32 layer, Sint32 x, Sint32 z, Uint32 width, Uint32 height, Sint32 value)Sets the collision code of a rectangle of one layer's map metatiles.
ACTOR *scPushTargetFindAhead (Sint32 *direction, Sint32 *number, Sint32 *kind)Finds the pushable thing in front of the leader among the placed actors: returns it, with its slot, its kind (its row of PushKinds) and the leader's facing in sixteenths of a turn.
voidscIsletsSetDeckBlocksByHeight (void)An event: while Felix is below the hut's deck (less than 40 pixels up), its two unseen blocks are passed over by talk and Psynergy.
BoolscPushTargetFillRectangle (Sint32 id)Makes the metatiles under a pushable actor solid, by its rectangle: its sprite picks one of the rectangles in PushRectangles, and the metatiles' own behaviors are kept in the map's spare area for when it moves.
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.
voidscPaletteCycleStop (void)Stops the palette cycles' event; their queue stays for the next start.
voidscIsletsStartWaveDMA (void)Unused with scIsletsStartWave: points the HBlank DMA at the wave table filled last tick, so that each line of the water's background sways.
voidscIsletsFillWaveLines (void)Unused with scIsletsStartWave: fills the next wave table with a sine wave that moves each tick, swaying each line of the water up to 2 pixels either way.
voidscIsletsInitWestIndra (void)Sets up West Indra Islet: wading in its shallows, the dog, the sailor's other son pacing the pier, and, once the dog has traded, the Milk left in front of it.
voidscIsletsInitEastTundaria (void)Sets up E Tundaria Islet: the icebergs' drift, the log floating in the channel once it is pushed, and Pengus chasing Pengulina round the snow once the Pretty Stone is given.
voidscIsletsInitNorthOsenia (void)Sets up N Osenia Islet: the cow, and once it has traded, the neckerchief tied in the yard's tree and the cow standing below it; and the hidden blue orb.
voidscIsletsInitSoutheastAngara (void)Sets up SE Angara Islet: the bird, the crates (stacked in one metatile once both have been brought down there) and the puddle (an ice pillar once frozen).
voidscIsletsInitSeaOfTime (void)Sets up the Sea of Time Islet: the surf's palette cycles, Lonesome George and the Li'l Turtle once given, and the ride's arrival or return by entrance.
voidscIsletsSetMetatileCollision (Sint32 x, Sint32 z, Sint32 layers, Sint32 value)Sets the behaviour of the map metatile under a 16.16 position, on the layers given (ISLETS_GROUND_LAYER, ISLETS_UPPER_LAYER or both).
voidscIsletsFinishPushingCrate (void)A crate Felix has pushed or Moved on SE Angara Islet settles, and one pushed off its ledge drops to the ground below with a rattle, the upper ledge's to metatile (12, 26) and the middle ledge's to (7, 29).
voidscIsletsSetSonsTargetedByHeight (void)An event: while Felix is down in the water among West Indra Islet's piers, the sailor's two sons up on the pier are passed over by talk and Psynergy.
BoolscPushTargetFindStop (PUSH_TARGET *target)Finds where the actor ahead stops when pushed: a metatile at a time, the whole of its rectangle (PushRectangles) until a wall blocks it; 1 when it moves at all.
voidscPushTargetPush (PUSH_TARGET target)The leader pushes the object to its resting place: the metatiles it leaves are floor again and the metatiles it comes to are walls.
voidscIsletsPlayFootsteps (void)An event: the footstep sound every 16 ticks, while the bird flies back to its nest.
voidscIsletsRideOnLonesomeGeorge (ACTOR *actor)Felix's update while he rides Lonesome George: kept 16 pixels above him, facing his way.
voidscActorEmitWadingSplashes (ACTOR *actor)An actor's update: every fourth tick a splash where it is (IsletsWadingSplashScript), as it wades or swims through the shallows.
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.
voidscIsletsTalkToPengulina (void)Talking to Pengulina, the penguin with the bow: on the far shore she cries "Pen pen pehnnn!"; once home, "Pen pen.", or "Pen pen pehnnnn." while Pengus chases her.
voidscIsletsTalkToHealer (void)The healer on E Tundaria Islet: spoken to from in front, with Felix facing north, she offers a sanctum's healing; from any other side she says she is there to tend to travelers.
voidscIsletsTalkToTreasureHuntersPartner (void)The treasure hunter's partner by the tent says how huge the Eastern Sea is, and warns Felix there is no treasure in these waters.
voidscIsletsTalkToBird (void)Talking to the orange bird on SE Angara Islet: "Chirp chirp!" Once it has traded, it turns to watch Felix.
voidscIsletsTradeWithCow (void)Mind Read on the cow in the yard beside N Osenia Islet's house, with the Red Cloth in the party: "Oh!
ACTOR *scIsletsShowItemAbove (ACTOR *actor, Sint32 itemId)Felix holds up his arms with an item over his head.
voidscIsletsTradeWithDog (void)Mind Read on the dog paddling among West Indra Islet's piers, with Milk in the party: "Sniff!
voidscIsletsLonesomeGeorgeThanks (ACTOR *gift)Lonesome George takes the Li'l Turtle: he smiles, spins round for joy and cries "At long last, I have a friend!", offers to show the party his secret spot, and swims off south with Felix on his back and the little turtle behind, to the secret spot.
voidscIsletsStartWave (void)Unused: starts the water's ripple, each line of its background swaying as Lemuria's water does.
voidscIsletsPengusGivesPrettyStone (void)Once Felix has pushed Pengulina over the log to Pengus's shore and steps up behind her (metatile (13, 10)), Pengus hops for joy, thanks him for saving his sweet Pengulina and waddles over, and Felix holds up the Pretty Stone he is given.
voidscIsletsBirdReturnsToNest (void)When Felix climbs up near the bird's nest on SE Angara Islet's cliff top (metatile (7, 21)), the bird stops circling over the east of the islet, flies across, hops onto the nest and turns to watch him.
voidscIsletsPushCrateOffLedge (void)Walking south from metatile (12, 24) on SE Angara Islet's upper ledge, or (7, 27) on its middle one, Felix pushes the crate standing at the ledge's edge over it, and it drops below (scIsletsFinishPushingCrate).
voidscIsletsClearThirdPatch (void)Cyclone on the weed south of the cow's yard, by its fence (metatile (8, 15)), blows it away for good, as scIsletsClearFirstPatch does.
voidscIsletsClearFifthPatch (void)Cyclone on the weeds just east of N Osenia Islet's tilled field (metatiles (18, 22) to (21, 22)) blows them away for good, as scIsletsClearFirstPatch does.
voidscIsletsEnterDoor (void)Walking north into the door of the thatched hut on stilts by West Indra Islet's piers (metatile (13, 48)), Felix lines up with it and walks inside.
voidscIsletsArriveBackAtIsland (void)Lonesome George swims the party back from his secret spot into the shallows below the Sea of Time Islet's cliffs, the Li'l Turtle following: "Here we are!" Felix hops off, and George says to let him know whenever they want to go again.
voidscIsletsArriveAtSecretSpot (void)Lonesome George swims the party round to his secret spot, the little islet with the cave mouth, the Li'l Turtle following: "Well, here we are." Felix hops ashore below the cave, and George says to let him know when they want to go back.
Sint32scInit (void)Sets up the islet being entered: the fade in, and the islet's own setup.
voidscIsletsStartIceberg (Sint32 id)Readies an iceberg to drift: a platform that moves at 0.3 pixels a tick.
voidscIsletsMoveIceberg (Sint32 id, Sint32 column, Sint32 row)Sends an iceberg drifting to the spot column and row steps of two metatiles (32 pixels) from where it was placed, each -1, 0 or 1; 0 and 0 send it home.
voidscIsletsDriftIcebergs (void)An event: E Tundaria Islet's eight icebergs drift out and back.
Sint32scPrepareMap (void)Nothing to prepare before the map is built.
voidfdPaletteCycleStart (void)Starts the palette cycles' event, as the surf moves while the party is on the Sea of Time Islet.
voidfdPaletteCycleStep (void)The palette cycles' event: each queued cycle whose timer has run out rotates its run of colours one place further, unless Psynergy or a menu is open.
static __inline__ Sint32scPushTargetCheckCollision (ACTOR *actor, VECTOR3 *metatile)Whether an actor at a position would collide with the map (fdMapGridCheckCollision).
voidscActorStopAtPushTarget (ACTOR *actor)Stops a pushed thing where it is when an actor stands in the metatile ahead of it, unless that is another pushable thing, or when the map blocks it.

Variables

NameDescription
extern Uint32IsletsEastTundariaWalkScript []The man in the green vest on E Tundaria Islet paces to the south-east and back; only the Japanese edition lets the party push him.
extern Uint32IsletsBirdCirclesScript []
extern Uint32IsletsPacingSonScript []The sailor's other son pacing West Indra Islet's pier, east and back.
extern Uint16IsletsSnowHutDoorOpening []The snow hut's door swinging open, two steps of six ticks each, and no opening at all.
extern Uint16IsletsNoOpening []
extern Uint32IsletsWadingSplashScript []
extern CUEIsletsCues []
extern CUEIsletsWestIndraCues []
extern CUEIsletsEastTundariaCues []
extern CUEIsletsNorthOseniaCues []
extern CUEIsletsSoutheastAngaraCues []
extern CUEIsletsSeaOfTimeCues []
extern ACTOR_PLACEIsletsPlacements []
extern ACTOR_PLACEIsletsWestIndraActorPlacements []
extern ACTOR_PLACEIsletsEastTundariaActorPlacements []
extern ACTOR_PLACEIsletsNorthOseniaActorPlacements []
extern ACTOR_PLACEIsletsSoutheastAngaraActorPlacements []
extern ACTOR_PLACEIsletsSeaOfTimeActorPlacements []
extern Sint32LeaderWalkThroughDoorScript []The leader's actor script as he walks north through a doorway, growing smaller as he goes: in Madra's catacombs, the Lemurian ship's passage, and the doors of the Islets, Kibombo, Prox and the Shaman Village.
extern MAP_EDITIsletsDoors []The doors Felix opens by walking into them (scIsletsOpenDoorAndEnter), a row for each exit from the first: the opening and the metatile it plays at; only the snow hut's opens.
extern Uint16PushKinds []The sprites of the things pushed: a log, a pipe and a fallen column, each lying west to east and north to south.
extern Sint32IsletsDogHopsFacingEastScript []
extern Sint32IsletsDogHopsFacingWestScript []
extern ACTION_SCRIPTIsletsSpinScript
extern Uint32IsletsGeorgeSwimsBackScript []
extern Uint32IsletsLilTurtleSwimsBackScript []
Uint8IsletsWaveTableIndex
Uint8IsletsUnusedAfterWaveTableIndex [WAVE_LINES_PADDING]Unused: nothing reads these bytes (WAVE_LINES_PADDING).
Sint16IsletsWaveLines [2][DISPLAY_HEIGHT]The water's two tables of line offsets, a halfword a screen line: one an HBlank DMA reads while the other is filled for the next tick.
Sint32IsletsSecondCrateZ
Sint32IsletsFirstCrateZ
Sint32IsletsSecondCrateX
Sint32IsletsFirstCrateX
extern Uint32IsletsGeorgeSwimsToSecretSpotScript []
extern Uint32IsletsLilTurtleSwimsToSecretSpotScript []
extern Uint32IsletsPengusChasesPengulinaScript []A loop round the snow that Pengus and Pengulina both waddle, Pengus the faster, so that he chases her.
extern Sint8PushRectangles [][4]Each kind's rectangle: its corners from the actor, x and z in pixels (scPushTargetFillRectangle).
extern Sint32PushLeaderSteps []One metatile along each facing's nearest direction (PUSH_STEP).
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

The five small islets of the Eastern Sea, each a scene of its own in this one overlay, and the animal trade that leads from one to the next, every trade made by Mind Reading the animal.

It starts on E Tundaria Islet, in the snow south of Tundaria. Felix hops across the drifting icebergs to an icy ledge, pushes the log there down into the channel and pushes Pengulina, who hurt her leg on the far shore, back over it to Pengus, who gives him a Pretty Stone (scIsletsPengusGivesPrettyStone). On SE Angara Islet he brings two crates down off their ledges, freezes the puddle under the vine with Frost and climbs to the bird's nest, and the bird trades its very fancy neckerchief, the Red Cloth, for the stone (scIsletsTradeWithBird). On N Osenia Islet he uses Sand to reach the cow in the yard beside the house, ties the neckerchief in the yard's tree and is given Milk (scIsletsTradeWithCow). On West Indra Islet the dog paddling among the piers trades the Li'l Turtle it caught for the Milk (scIsletsTradeWithDog). Last, on the Sea of Time Islet, Lonesome George, the lonely turtle in the shallows below the cliffs, takes the Li'l Turtle as a friend and swims the party to his secret spot, the little islet that holds Islet Cave, and back whenever they ask (scIsletsGiveTurtle).

Macros in detail

FLAG_LOG_PUSHED_INTO_WATER

#define FLAG_LOG_PUSHED_INTO_WATER 0xa2c

The trades along the islets, each set once done: the log pushed into the water, the dog's, Pengus's Pretty Stone, the cow's, the bird's, and the Li'l Turtle given to Lonesome George.

Referenced by IsletsEastTundariaCues, scIsletsInitEastTundaria() and scIsletsPushLogIntoWater().

Definition at line 40 of file islets.c.

FLAG_DOG_TRADED

#define FLAG_DOG_TRADED 0xaa1

Referenced by scIsletsInitWestIndra() and scIsletsTradeWithDog().

Definition at line 41 of file islets.c.

FLAG_PENGUS_GAVE_PRETTY_STONE

#define FLAG_PENGUS_GAVE_PRETTY_STONE 0xaa2

Referenced by IsletsEastTundariaCues, scIsletsInitEastTundaria(), scIsletsMindReadPengulina(), scIsletsMindReadPengus(), scIsletsPengusGivesPrettyStone(), scIsletsTalkToPengulina() and scIsletsTalkToPengus().

Definition at line 42 of file islets.c.

FLAG_COW_TRADED

#define FLAG_COW_TRADED 0xaa3

Referenced by scIsletsInitNorthOsenia() and scIsletsTradeWithCow().

Definition at line 43 of file islets.c.

FLAG_BIRD_TRADED

#define FLAG_BIRD_TRADED 0xaa4

Referenced by scIsletsTalkToBird() and scIsletsTradeWithBird().

Definition at line 44 of file islets.c.

FLAG_GEORGE_HAS_THE_TURTLE

#define FLAG_GEORGE_HAS_THE_TURTLE 0xaa5

Referenced by IsletsSeaOfTimeCues, scGetActorPlacements(), scIsletsGiveTurtle(), scIsletsInitSeaOfTime() and scIsletsLonesomeGeorgeThanks().

Definition at line 45 of file islets.c.

FLAG_PENGUS_CHASING_PENGULINA

#define FLAG_PENGUS_CHASING_PENGULINA FLAG_SCENE_TEMP(0x00)

For this visit, each islet's own: Pengus chasing Pengulina round the snow since the Pretty Stone; the cow's trade or Lonesome George's turtle turned down, so each asks again at once; each crate dropped from its ledge, and the two stacked in one metatile; the puddle frozen; the treasure hunters' slip; the bird back on its nest; the dog's trade just made; the party at Lonesome George's secret spot; and Reveal shown, holding the icebergs still.

Referenced by scIsletsInitEastTundaria(), scIsletsMindReadPengulina(), scIsletsMindReadPengus(), scIsletsTalkToPengulina() and scIsletsTalkToPengus().

Definition at line 52 of file islets.c.

FLAG_RED_CLOTH_REFUSED

#define FLAG_RED_CLOTH_REFUSED FLAG_SCENE_TEMP(0x01)

Referenced by scIsletsTradeWithCow().

Definition at line 53 of file islets.c.

FLAG_TURTLE_REFUSED

#define FLAG_TURTLE_REFUSED FLAG_SCENE_TEMP(0x01)

Referenced by scIsletsGiveTurtle().

Definition at line 54 of file islets.c.

FLAG_CRATE_A_DROPPED

#define FLAG_CRATE_A_DROPPED FLAG_SCENE_TEMP(0x10)

Referenced by scIsletsFinishPushingCrate().

Definition at line 55 of file islets.c.

FLAG_CRATE_B_DROPPED

#define FLAG_CRATE_B_DROPPED FLAG_SCENE_TEMP(0x11)

Referenced by scIsletsFinishPushingCrate().

Definition at line 56 of file islets.c.

FLAG_CRATES_IN_ONE_METATILE

#define FLAG_CRATES_IN_ONE_METATILE FLAG_SCENE_TEMP(0x12)

Referenced by IsletsSoutheastAngaraCues, scIsletsFinishPushingCrate() and scIsletsInitSoutheastAngara().

Definition at line 57 of file islets.c.

FLAG_SOUTHEAST_ANGARA_ISLET_PUDDLE_FROZEN

#define FLAG_SOUTHEAST_ANGARA_ISLET_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x13)

Referenced by IsletsSoutheastAngaraCues, scIsletsFreezePuddle() and scIsletsInitSoutheastAngara().

Definition at line 58 of file islets.c.

FLAG_TREASURE_HUNTERS_LET_SLIP

#define FLAG_TREASURE_HUNTERS_LET_SLIP FLAG_SCENE_TEMP(0x14)

Referenced by scIsletsTalkToTreasureHunters().

Definition at line 59 of file islets.c.

FLAG_BIRD_ON_NEST

#define FLAG_BIRD_ON_NEST FLAG_SCENE_TEMP(0x15)

Referenced by IsletsSoutheastAngaraCues and scIsletsBirdReturnsToNest().

Definition at line 60 of file islets.c.

FLAG_DOG_JUST_TRADED

#define FLAG_DOG_JUST_TRADED FLAG_SCENE_TEMP(0x16)

Referenced by scIsletsTradeWithDog().

Definition at line 61 of file islets.c.

FLAG_AT_SECRET_SPOT

#define FLAG_AT_SECRET_SPOT FLAG_SCENE_TEMP(0x17)

Referenced by IsletsSeaOfTimeCues and scIsletsInitSeaOfTime().

Definition at line 62 of file islets.c.

FLAG_REVEAL_SHOWN

#define FLAG_REVEAL_SHOWN FLAG_SCENE_TEMP(0x18)

Referenced by scIsletsDriftIcebergs(), scIsletsEndReveal() and scIsletsStartReveal().

Definition at line 63 of file islets.c.

SceneStateWork

#define SceneStateWork ((Uint16 *)SceneStateWork)

The scene's view of SceneStateWork (system/globals.h): its halfwords.

Referenced by scContigoOfferLuckyDice(), scContigoOfferSuperLuckyDice(), scContigoReportCoinChange(), scGabombaStatueDrawRaisedBlocks(), scGabombaStatueFindBrokenMetatile(), scGabombaStatueIsMetatileTaken(), scGabombaStatueLayChannel(), scGabombaStatueLayPath(), scGabombaStatueLoadBlockPictures(), scGabombaStatueMoveCharge(), scGabombaStatuePoundBlock(), scGabombaStatuePressLeftArrowPanel(), scGabombaStatuePressRightArrowPanel(), scGabombaStatueRaiseBlocks(), scGabombaStatueRedrawChannel(), scGabombaStatueReleaseLeftArrowPanel(), scGabombaStatueReleaseRightArrowPanel(), scGabombaStatueSetBlockAnimation(), scGabombaStatueSetBlocksRaised(), scGabombaStatueSetUpChannelPuzzle(), scGabombaStatueTurnBlockPiece(), scGabombaStatueTurnBlocks(), scGabombaStatueWritePiece(), scGaiaRockInsideStartPlatforms(), scGaiaRockInsideSwayPlatforms(), scInit(), scIsletsDriftIcebergs(), scIsletsInitEastTundaria(), scIsletsStepDownOntoIceberg(), scSeaOfTimeTimeWaves(), scTaopoSwampResetMud(), scTaopoSwampRiseOnBubble(), scTaopoSwampSaveFirmGround(), scTaopoSwampSinkInMud(), scTaopoSwampStepOnFirmGround(), scTrialRoadMoveRival(), scTrialRoadPlayRivalRecording(), scTrialRoadRivalIsWaiting(), scTrialRoadStartRival(), scTrialRoadStopRival() and scTrialRoadWaitForRival().

Definition at line 306 of file islets.c.

STEP

#define STEP(actor, x, z)

An actor walks to (x, z) without turning to its way, and stops facing as it was.

Referenced by scIsletsGiveTurtle(), scIsletsTradeWithCow() and scIsletsTradeWithDog().

Definition at lines 731 and 1006 of file islets.c.

HAND_BACK

#define HAND_BACK(leader, given, motion)

The cow walks round to Felix, he holds the Milk it gives him over his head, and the neckerchief is traded for it.

Referenced by scIsletsTradeWithCow().

Definition at line 739 of file islets.c.

ISLETS_RIDE_TRANSITION

#define ISLETS_RIDE_TRANSITION

Referenced by scIsletsGiveTurtle() and scIsletsLonesomeGeorgeThanks().

Definition at lines 1177 and 1180 of file islets.c.

SPAWN

#define SPAWN(turtle, splash, motion)

Felix lets the Li'l Turtle into the water at (296, 424): a small turtle with motion flags motion, and its wading splash.

Referenced by scIsletsGiveTurtle().

Definition at line 1262 of file islets.c.

WAVE_LINES_PADDING

#define WAVE_LINES_PADDING JAPANESE_OR(15, 11)

Unused: the bytes between IsletsWaveTableIndex and the wave lines, which nothing reads. They put the wave lines on a 16-byte boundary after the overlay's code, which is longer outside the Japanese edition, so they follow its length rather than any feature.

Referenced by IsletsUnusedAfterWaveTableIndex.

Definition at line 1612 of file islets.c.

Enumerations in detail

anonymous enum

enum { STEP_CUE_JUMP_TO_PIER }

The metatiles Felix steps on or walks into that start this file's scripts, by islet. On West Indra Islet, the east side of the sailor's boat, where he jumps across to the pier.

EnumeratorValueDescription
STEP_CUE_JUMP_TO_PIER16

Definition at line 68 of file islets.c.

anonymous enum

enum { STEP_CUE_ICEBERG_BY_LADDER, STEP_CUE_SHORE_BY_LADDER, STEP_CUE_JUMP_OFF_LEDGE, STEP_CUE_JUMP_TO_ICEBERG, … }

On E Tundaria Islet: the shore below the west ladder and the iceberg moored beside it, the icy ledge's east end, the shore above the iceberg west of the healer, the log on the ledge, and the spot behind Pengulina once she is home with Pengus.

EnumeratorValueDescription
STEP_CUE_ICEBERG_BY_LADDER7
STEP_CUE_SHORE_BY_LADDER8
STEP_CUE_JUMP_OFF_LEDGE10
STEP_CUE_JUMP_TO_ICEBERG11
STEP_CUE_BY_PENGULINA20
STEP_CUE_PUSH_LOG30

Definition at line 77 of file islets.c.

anonymous enum

enum { STEP_CUE_NEAR_NEST, STEP_CUE_PUSH_CRATE_ON }

On SE Angara Islet: the cliff top just south of the bird's nest, and the metatile behind each ledge's edge, (12, 24) and (7, 27), from which walking south pushes the crate standing at the edge off the ledge (scIsletsPushCrateOffLedge); a crate moved away from one of them leaves the cue there again.

EnumeratorValueDescription
STEP_CUE_NEAR_NEST20
STEP_CUE_PUSH_CRATE_ON21

Definition at line 92 of file islets.c.

anonymous enum

enum { WEEDS_IN_COW_YARD, WEEDS_BY_HOUSE, WEEDS_SOUTH_OF_YARD, WEEDS_ON_TILLED_FIELD, … }

On N Osenia Islet, in every edition but the Japanese, the six clumps of weeds Cyclone blows away for good (scIsletsClearFirstPatch to scIsletsClearSixthPatch).

EnumeratorValueDescription
WEEDS_IN_COW_YARD10
WEEDS_BY_HOUSE11
WEEDS_SOUTH_OF_YARD12
WEEDS_ON_TILLED_FIELD13
WEEDS_EAST_OF_FIELD14
WEEDS_BY_FIELD_FENCE15

Definition at line 101 of file islets.c.

anonymous enum

enum { CUE_SINK_IN_SEA, EXIT_AFTER_SINKING }

E Tundaria Islet's raised cue: Felix has fallen into the sea among the icebergs (scIsletsSinkInSea), and the exit that starts the islet again where the party lands from the World Map.

EnumeratorValueDescription
CUE_SINK_IN_SEA200
EXIT_AFTER_SINKING3

Definition at line 114 of file islets.c.

anonymous enum

enum { EXIT_TO_SECRET_SPOT, EXIT_BACK_FROM_SECRET_SPOT, ENTRANCE_BACK_FROM_SECRET_SPOT, ENTRANCE_AT_SECRET_SPOT }

The Sea of Time Islet's ride on Lonesome George: the exits to and from his secret spot, and the entrances they arrive by.

EnumeratorValueDescription
EXIT_TO_SECRET_SPOT3
EXIT_BACK_FROM_SECRET_SPOT4
ENTRANCE_BACK_FROM_SECRET_SPOT3
ENTRANCE_AT_SECRET_SPOT4

Definition at line 122 of file islets.c.

anonymous enum

enum { ACTOR_SAILOR, ACTOR_SAILORS_SON, ACTOR_SAILORS_OTHER_SON, ACTOR_DOG }

The islets' people and animals, islet by islet, numbered by the rows of each islet's placements. West Indra Islet: the sailor on his boat, his two sons, one pacing the pier, and the dog that trades.

EnumeratorValueDescription
ACTOR_SAILORACTOR_FIRST_PLACED
ACTOR_SAILORS_SON
ACTOR_SAILORS_OTHER_SON
ACTOR_DOG

Definition at line 197 of file islets.c.

anonymous enum

enum { ACTOR_MAN_IN_GREEN_VEST, ACTOR_PENGUS, ACTOR_LOG, ACTOR_FIRST_ICEBERG, … }

E Tundaria Islet: the man in the green vest who walks by the hut, Pengus and Pengulina, the log pushed into the channel, the drifting icebergs and the healer.

EnumeratorValueDescription
ACTOR_MAN_IN_GREEN_VESTACTOR_FIRST_PLACED
ACTOR_PENGUS
ACTOR_LOG
ACTOR_FIRST_ICEBERGThe eight icebergs that drift across the water (scIsletsDriftIcebergs).
ACTOR_LAST_ICEBERGACTOR_FIRST_ICEBERG + 7
ACTOR_PENGULINA
ACTOR_PRETTY_STONE_ICONshows the Pretty Stone over the leader
ACTOR_HEALER

Definition at line 208 of file islets.c.

anonymous enum

enum { LOG_ANIM_ROLL, LOG_ANIM_FLOAT, LOG_ANIM_SPLASH_DOWN, BIRD_ANIM_FLY, … }

The islets' own animals' and objects' animations, by their sheets: the log rolls off the ledge, splashes down and floats; the orange bird flies, wings beating, and perches; the cow grazes now and then; the dog hops, and sits looking about and up; the icebergs glint now and then at rest and shimmer as they drift.

EnumeratorValueDescription
LOG_ANIM_ROLL3
LOG_ANIM_FLOAT4
LOG_ANIM_SPLASH_DOWN8
BIRD_ANIM_FLY4
BIRD_ANIM_PERCH5
COW_ANIM_GRAZE4
DOG_ANIM_HOP3
DOG_ANIM_SIT_AND_LOOK_UP5
ICEBERG_ANIM_REST1
ICEBERG_ANIM_DRIFT2

Definition at line 226 of file islets.c.

anonymous enum

enum { ACTOR_SEA_OF_FOG_SON, ACTOR_SEA_OF_FOG_FATHER, ACTOR_COW, ACTOR_BLUE_ORB }

N Osenia Islet: the son and the father of the family sworn to cross the sea of fog, the Sea of Time, the cow, and a blue orb drawn hidden.

EnumeratorValueDescription
ACTOR_SEA_OF_FOG_SONACTOR_FIRST_PLACED
ACTOR_SEA_OF_FOG_FATHER
ACTOR_COW
ACTOR_BLUE_ORB

Definition at line 242 of file islets.c.

anonymous enum

enum { ACTOR_TREASURE_HUNTER, ACTOR_TREASURE_HUNTERS_PARTNER, ACTOR_BIRD, ACTOR_UNSEEN_MARKER, … }

SE Angara Islet: the two treasure hunters, the bird that trades, the two crates pushed off their ledges, and the puddle.

EnumeratorValueDescription
ACTOR_TREASURE_HUNTERACTOR_FIRST_PLACED
ACTOR_TREASURE_HUNTERS_PARTNER
ACTOR_BIRD
ACTOR_UNSEEN_MARKERAn unseen marker the setup parks at the map's corner (0, 0).
ACTOR_CRATE_A
ACTOR_CRATE_B
ACTOR_PUDDLEfrozen into an ice pillar by Frost (scIsletsFreezePuddle)

Definition at line 252 of file islets.c.

anonymous enum

enum { ACTOR_OLD_MAN, ACTOR_LONESOME_GEORGE, ACTOR_LIL_TURTLE, ACTOR_DECK_BLOCK_A, … }

The Sea of Time Islet: the old man in the palm forest, Lonesome George, who carries the party to his secret spot, the Li'l Turtle the party gives him, and two unseen blocks on the hut's deck.

EnumeratorValueDescription
ACTOR_OLD_MANACTOR_FIRST_PLACED
ACTOR_LONESOME_GEORGE
ACTOR_LIL_TURTLE
ACTOR_DECK_BLOCK_A
ACTOR_DECK_BLOCK_B

Definition at line 267 of file islets.c.

anonymous enum

enum { ISLETS_GROUND_LAYER, ISLETS_UPPER_LAYER, ISLETS_BOTH_LAYERS }

The map layers scIsletsSetMetatileCollision writes: the ground the party walks on, and the upper one a crate stands on when it comes down onto another.

EnumeratorValueDescription
ISLETS_GROUND_LAYER1
ISLETS_UPPER_LAYER2
ISLETS_BOTH_LAYERSISLETS_GROUND_LAYER | ISLETS_UPPER_LAYER

Definition at line 332 of file islets.c.

anonymous enum

enum { SHALLOWS_SURF_PALETTE, SEA_SURF_PALETTE, SURF_COLORS, SURF_CYCLE_DELAY }

The Sea of Time Islet's surf, two palette cycles of the same four colours from SURF_FIRST_COLOR: the foam along the shore in the shallows, and the surf round the islets and their rocks out at sea, each turned one place every sixth tick.

EnumeratorValueDescription
SHALLOWS_SURF_PALETTE3
SEA_SURF_PALETTE4
SURF_COLORS4
SURF_CYCLE_DELAY5

Definition at line 2699 of file islets.c.

Functions in detail

scIsletsPushLogIntoWater

void scIsletsPushLogIntoWater(void)

Walking south against the log on E Tundaria Islet's icy ledge, from metatile (11, 7) or (12, 7), Felix pushes it over the edge, and it falls with a thud into the channel between Pengulina's shore and Pengus's, where it floats as a bridge across. The metatiles along it are made walkable, copied from a row the map keeps for the purpose, and FLAG_LOG_PUSHED_INTO_WATER keeps it there.

References fdActorGet(), fdActorSetAnimation(), fdActorSetDestinationOffset(), fdMapGridCopyMetatileAttributes(), fdScriptPlaySound(), fdScriptSetFlag(), scFieldScriptWait(), scPushTargetFindStop(), scPushTargetPush() and sySynch().

Referenced by IsletsEastTundariaCues.

Definition at lines 132 and 375 of file islets.c.

scIsletsTalkToPengus

void scIsletsTalkToPengus(void)

Talking to Pengus, the penguin on E Tundaria Islet's east shore: until Pengulina is home he stops, cries "Pen pen!" and goes back to gazing across the water at her; after, he answers "Pen pen.", or "Pen pen pen..." while he chases her round the snow.

References fdActorFaceActor(), fdScriptEnd(), fdScriptGetFlag(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, scFieldActorStop(), scFieldActorWatchAndSetScript(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), Sint32 and sySynch().

Referenced by IsletsEastTundariaCues.

Definition at lines 134 and 423 of file islets.c.

scIsletsMindReadPengus

void scIsletsMindReadPengus(void)

Mind Read on Pengus: "My darling Pengulina hurt her leg on the far shore and can't swim back." Once she is home he is happy she is all right, or, while he chases her round the snow, says nothing beats playing there with her.

References fdScriptEnd(), fdScriptGetFlag(), fdScriptShowMessage(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by IsletsEastTundariaCues.

Definition at lines 135 and 459 of file islets.c.

scIsletsMindReadPengulina

void scIsletsMindReadPengulina(void)

Mind Read on Pengulina: "Ohh... My leg... I can't get back to my dearest Pengus..." Once home she is glad to be back with him, or, while he chases her, grumbles that he smothers her.

References fdScriptGetFlag(), fdScriptShowMessage(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by IsletsEastTundariaCues.

Definition at lines 136 and 523 of file islets.c.

scIsletsTalkToTreasureHunters

void scIsletsTalkToTreasureHunters(void)

The treasure hunter by the tent on SE Angara Islet blurts out that they are not looking for Treasure Isle. The first time, his partner turns on him, "What are you saying!? Idiot!", then hops and swears he said nothing about it; after that he is too busy to talk.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorSetAttachedEffect(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, scFieldActorJump(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.

Referenced by IsletsSoutheastAngaraCues.

Definition at lines 137 and 577 of file islets.c.

scIsletsTradeWithBird

void scIsletsTradeWithBird(void)

Mind Read on the bird on SE Angara Islet with the Pretty Stone in the party: it hops, cries that it must have the stone, flutters down to Felix and back, and trades its very fancy neckerchief, the Red Cloth, for it. Without the stone it longs for something fancy; after the trade it asks whether it does not look fancy.

References fdActorFaceActor(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorRelease(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), gmPartyGiveItem(), gmPartyInventoryRemove(), MainRoutineStateWork, mnMessageShowCentered(), scFieldActorCreate(), scFieldActorJump(), scFieldActorSetItemIcon(), scFieldActorSetPosAndResetMotion(), scFieldActorWatchAndSetScript(), scFieldPartyInventoryFindMember(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait(), Sint32 and sySynch().

Referenced by IsletsSoutheastAngaraCues.

Definition at lines 139 and 650 of file islets.c.

scIsletsGiveTurtle

void scIsletsGiveTurtle(void)

Mind Read on Lonesome George, the big turtle in the shallows below the Sea of Time Islet's cliffs, with the Li'l Turtle in the party: he is sad and lonely, Felix wades over and lets the little turtle into the water, and when George asks him to set it free with him, a yes makes them friends (scIsletsLonesomeGeorgeThanks); a no takes it back, and the next Mind Read asks at once. Once he has the turtle he offers to swim the party to his secret spot again; before, without it, he is just very lonely.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorMoveToAndWait(), fdActorRelease(), fdActorSetAnimation(), fdActorSetDestination(), fdActorShowEmoteById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWaitTransitionTicks(), gmPartyInventoryFindMember(), MainRoutineStateWork, scActorEmitWadingSplashes(), scFieldActorJump(), scFieldActorSetAnimationAndWait(), scFieldActorSetSpriteColor(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait(), scIsletsLonesomeGeorgeThanks(), scIsletsRideOnLonesomeGeorge(), scPaletteCycleStop(), Sint32, syGameFlagGet() and syHeapSlotAllocateEWRAM().

Referenced by IsletsSeaOfTimeCues.

Definition at lines 141 and 1289 of file islets.c.

scIsletsRideBackToIsland

void scIsletsRideBackToIsland(void)

Mind Read on Lonesome George at his secret spot: "You all set to go back to the island?" With a yes Felix hops on and George swims north with the Li'l Turtle, back to the Sea of Time Islet; with a no he says to take your time.

References fdActorFaceActor(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetScript(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptShowMessage(), fdScriptStart(), fdScriptWaitTransitionTicks(), IsletsGeorgeSwimsBackScript, IsletsLilTurtleSwimsBackScript, MainRoutineStateWork, result, scActorEmitWadingSplashes(), scFieldActorJump(), scFieldActorSetSpriteColor(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait(), scIsletsRideOnLonesomeGeorge(), scPaletteCycleStop(), Sint32, syHeapSlotAllocateEWRAM() and sySynch().

Referenced by IsletsSeaOfTimeCues.

Definition at lines 142 and 1497 of file islets.c.

scIsletsTalkToSailorsSon

void scIsletsTalkToSailorsSon(void)

The sailor's son on West Indra Islet's pier boasts that his pop is the best sailor in all the Eastern Sea.

References fdActorFaceActor(), fdActorFaceDirectionAndWait(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by IsletsWestIndraCues.

Definition at lines 144 and 1570 of file islets.c.

scIsletsOpenFieldMenu

void scIsletsOpenFieldMenu(void)

Nothing visible happens when Felix talks to one of the two unseen blocks on the edge of the hut's deck on the Sea of Time Islet: the menu opens, just as when he talks to nothing.

Referenced by IsletsSeaOfTimeCues.

Definition at lines 146 and 1585 of file islets.c.

scIsletsJumpDownLedge

void scIsletsJumpDownLedge(void)

Walking south off the east end of E Tundaria Islet's icy ledge (metatile (15, 8)), Felix jumps down to the snow below.

References fdActorJumpDownLedge(), fdScriptEnd(), fdScriptStart(), MainRoutineStateWork and scFieldScriptEndLastingPsynergy().

Referenced by IsletsEastTundariaCues.

Definition at lines 147 and 1781 of file islets.c.

scIsletsSinkIntoSand

void scIsletsSinkIntoSand(void)

Sand on N Osenia Islet or the Sea of Time Islet: Felix sinks into the ground and moves through it as a mound of sand. On N Osenia Islet, cast on the strip of sand west of the cow's fence, the mound slides north along the strip past the barrels and he rises out of the sand at its north end, onto the grass. On the Sea of Time Islet, cast at the foot of the cliff by the palms, it travels east along the cliff's foot and down the beach to the water's edge, where he rises. The script only puts him on the map's upper layer, which holds the ways open to Sand.

References fdActorGet() and MainRoutineStateWork.

Referenced by IsletsNorthOseniaCues and IsletsSeaOfTimeCues.

Definition at lines 148 and 1797 of file islets.c.

scIsletsRiseFromSand

void scIsletsRiseFromSand(void)

When Sand ends on N Osenia Islet or the Sea of Time Islet, Felix rises out of the ground where he is and walks on the ground layer again.

References fdActorGet() and MainRoutineStateWork.

Referenced by IsletsNorthOseniaCues and IsletsSeaOfTimeCues.

Definition at lines 149 and 1806 of file islets.c.

scIsletsStartPushingCrate

void scIsletsStartPushingCrate(void)

Nothing visible happens as Felix starts to push or Move one of SE Angara Islet's two crates: the game notes where both stand. When one stands at a ledge's edge right above the other below, (7, 28) over (7, 29) or (12, 25) over (12, 26), the lower one's metatile is opened on the upper layer, so that the upper crate can come down on top of it.

References fdActorGet(), IsletsFirstCrateX, IsletsFirstCrateZ, IsletsSecondCrateX, IsletsSecondCrateZ, scIsletsSetMetatileCollision() and Sint32.

Referenced by IsletsSoutheastAngaraCues.

Definition at lines 150 and 1842 of file islets.c.

scIsletsFreezePuddle

void scIsletsFreezePuddle(void)

Frost on the puddle at the foot of SE Angara Islet's west cliff (metatile (5, 29)) freezes it into an ice pillar under the vine, a step Felix can hop onto from the stacked crates and climb on from.

References fdMapGridCopyMetatileAttributes() and fdScriptSetFlag().

Referenced by IsletsSoutheastAngaraCues.

Definition at lines 151 and 2025 of file islets.c.

scIsletsStepUpOntoShore

void scIsletsStepUpOntoShore(void)

Holding Up on the iceberg moored at the foot of E Tundaria Islet's west shore, below the ladder (metatile (4, 18)), Felix steps up off it onto the snow.

References fdActorGet(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptStart(), MainRoutineStateWork, PerWork and scFieldScriptEndLastingPsynergy().

Referenced by IsletsEastTundariaCues.

Definition at lines 152 and 2034 of file islets.c.

scIsletsStepDownOntoIceberg

void scIsletsStepDownOntoIceberg(void)

Holding Down at the south edge of E Tundaria Islet's west shore, below the ladder (metatile (4, 17)), Felix steps down onto the iceberg there, but only while it lies moored between its drifts (before tick 10 or after tick 210 of the icebergs' round).

References fdActorGet(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptStart(), MainRoutineStateWork, PerWork and scFieldScriptEndLastingPsynergy().

Referenced by IsletsEastTundariaCues.

Definition at lines 154 and 2054 of file islets.c.

scIsletsStartReveal

void scIsletsStartReveal(void)

Nothing visible happens as Reveal takes effect on E Tundaria Islet, but the icebergs hold still until it fades (scIsletsEndReveal).

References fdScriptSetFlag().

Referenced by IsletsEastTundariaCues.

Definition at lines 156 and 2077 of file islets.c.

scIsletsEndReveal

void scIsletsEndReveal(void)

Nothing visible happens as Reveal fades on E Tundaria Islet, but the icebergs drift again.

References fdScriptClearFlag().

Referenced by IsletsEastTundariaCues.

Definition at lines 157 and 2084 of file islets.c.

scIsletsClearFirstPatch

void scIsletsClearFirstPatch(void)

Cyclone on the weeds round the cow in its yard on N Osenia Islet (metatiles (5, 10) to (8, 13)) blows them away, and they stay gone while the party is on the islet. Added after the Japanese release: each clump of weeds is one of six scripts, which draws the cleared grass from the map's spare columns over the metatiles Cyclone touched and records them (scFieldTileCopiesCopyTouchedMetatiles) so that they stay cleared after a battle or the menu.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by IsletsNorthOseniaCues.

Definition at lines 159 and 2098 of file islets.c.

scIsletsClearSecondPatch

void scIsletsClearSecondPatch(void)

Cyclone on the two weeds just east of the cow's fence, in front of N Osenia Islet's house (metatiles (12, 10) and (11, 11)), blows them away for good, as scIsletsClearFirstPatch does.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by IsletsNorthOseniaCues.

Definition at lines 160 and 2106 of file islets.c.

scIsletsClearFourthPatch

void scIsletsClearFourthPatch(void)

Cyclone on the weeds on N Osenia Islet's tilled field, south of the house (metatiles (15, 20) to (16, 22)), blows them away for good, as scIsletsClearFirstPatch does.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by IsletsNorthOseniaCues.

Definition at lines 161 and 2121 of file islets.c.

scIsletsClearSixthPatch

void scIsletsClearSixthPatch(void)

Cyclone on the weed by the fence south-east of N Osenia Islet's tilled field (metatile (19, 23)) blows it away for good, as scIsletsClearFirstPatch does.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by IsletsNorthOseniaCues.

Definition at lines 162 and 2136 of file islets.c.

scIsletsOpenDoorAndEnter

void scIsletsOpenDoorAndEnter(void)

Walking north into the wooden door of the round snow hut on E Tundaria Islet (metatile (18, 12)), Felix lines up with it, it swings open and he walks inside. The door's metatile behaviour is the exit he leaves by, and picks its opening from IsletsDoors.

References fdActorGet(), fdActorSetAnimation(), fdActorSetScript(), fdMapGridAnimateMetatiles(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), IsletsDoors, LeaderWalkThroughDoorScript, MainRoutineStateWork, scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), Sint32 and sySynch().

Referenced by IsletsEastTundariaCues.

Definition at lines 164 and 2146 of file islets.c.

scIsletsLeaveByStep

void scIsletsLeaveByStep(void)

On the Sea of Time Islet, stepping onto the path out through the palms at the islet's north-west (metatiles (5, 5) and (6, 5)) takes the party out to the World Map, and onto the door of the hut on stilts (metatile (13, 10)) takes them inside. The metatile's behaviour is the exit, and the surf stops moving as the screen goes.

References fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest() and scPaletteCycleStop().

Referenced by IsletsSeaOfTimeCues.

Definition at lines 165 and 2188 of file islets.c.

scIsletsSinkInSea

void scIsletsSinkInSea(void)

When Felix falls into the sea among E Tundaria Islet's drifting icebergs, he sinks out of sight, and the islet starts again on its south shore, where the party lands from the World Map. The icebergs' drift (scIsletsDriftIcebergs) raises this the moment his height falls below -12 pixels, that is, once he is down at the sea, whose metatiles lie at -16, off the icebergs and the shore; the icebergs then hold still.

References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest() and scFieldScriptWait().

Referenced by IsletsEastTundariaCues.

Definition at lines 167 and 2860 of file islets.c.

scIsletsJumpForward

void scIsletsJumpForward(void)

Walking east off the sailor's boat at West Indra Islet's piers (metatile (5, 45)), Felix jumps the gap onto the pier. On E Tundaria Islet, walking south off the shore west of the healer (metatile (16, 16)), he jumps down onto the iceberg below once it has drifted under the shore, and rides it as it drifts out and back; while it is away, pushing south there does nothing.

References fdTryJumpForward().

Referenced by IsletsEastTundariaCues and IsletsWestIndraCues.

Definition at lines 168 and 2884 of file islets.c.

scIsletsSetDeckBlocksByHeight

void scIsletsSetDeckBlocksByHeight(void)

An event: while Felix is below the hut's deck (less than 40 pixels up), its two unseen blocks are passed over by talk and Psynergy.

References fdActorGet() and MainRoutineStateWork.

Referenced by scIsletsInitSeaOfTime().

Definition at lines 184 and 1594 of file islets.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 276 of file islets.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 281 of file islets.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 286 of file islets.c.

scPaletteCycleStop

void scPaletteCycleStop(void)

Stops the palette cycles' event; their queue stays for the next start.

References fdPaletteCycleStep() and scFieldCloseEvent().

Referenced by scIsletsGiveTurtle(), scIsletsLeaveByStep(), scIsletsLonesomeGeorgeThanks() and scIsletsRideBackToIsland().

Definition at lines 293 and 2808 of file islets.c.

scIsletsStartWaveDMA

void scIsletsStartWaveDMA(void)

Unused with scIsletsStartWave: points the HBlank DMA at the wave table filled last tick, so that each line of the water's background sways.

References IsletsWaveLines, IsletsWaveTableIndex and syDMAXCopy().

Referenced by scIsletsStartWave().

Definition at lines 295 and 1627 of file islets.c.

scIsletsFillWaveLines

void scIsletsFillWaveLines(void)

Unused with scIsletsStartWave: fills the next wave table with a sine wave that moves each tick, swaying each line of the water up to 2 pixels either way.

References fdMapGridGetLayer(), IsletsWaveLines, IsletsWaveTableIndex, Sint32, sySin() and TickCount.

Referenced by scIsletsStartWave().

Definition at lines 296 and 1646 of file islets.c.

scIsletsInitWestIndra

void scIsletsInitWestIndra(void)

Sets up West Indra Islet: wading in its shallows, the dog, the sailor's other son pacing the pier, and, once the dog has traded, the Milk left in front of it.

References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdScriptClearFlag(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorCreate(), scFieldActorSetItemIcon(), scIsletsSetSonsTargetedByHeight() and sySetTickEvent().

Referenced by scInit().

Definition at lines 308 and 2399 of file islets.c.

scIsletsInitEastTundaria

void scIsletsInitEastTundaria(void)

Sets up E Tundaria Islet: the icebergs' drift, the log floating in the channel once it is pushed, and Pengus chasing Pengulina round the snow once the Pretty Stone is given.

References fdActorGet(), fdActorSetAnimation(), fdActorSetPosAndFacing(), fdActorSetScript(), fdMapGridCopyMetatileAttributes(), fdScriptClearFlag(), fdScriptGetFlag(), fdScriptSetFlag(), IsletsPengusChasesPengulinaScript, MainRoutineStateWork, scFieldActorWatchAndSetScript(), scFieldSetTickEvent(), scIsletsDriftIcebergs(), scIsletsStartIceberg(), scPushTargetFillRectangle() and Sint32.

Referenced by scInit().

Definition at lines 309 and 2537 of file islets.c.

scIsletsInitNorthOsenia

void scIsletsInitNorthOsenia(void)

Sets up N Osenia Islet: the cow, and once it has traded, the neckerchief tied in the yard's tree and the cow standing below it; and the hidden blue orb.

References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdScriptClearFlag(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorCreate(), scFieldActorSetItemIcon(), scFieldActorSetSpriteColor() and scFieldActorSetSpritePriority().

Referenced by scInit().

Definition at lines 310 and 2605 of file islets.c.

scIsletsInitSoutheastAngara

void scIsletsInitSoutheastAngara(void)

Sets up SE Angara Islet: the bird, the crates (stacked in one metatile once both have been brought down there) and the puddle (an ice pillar once frozen).

References fdActorDisableById(), fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptClearFlag(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorSetSpritePriority(), scIsletsSetMetatileCollision() and Sint32.

Referenced by scInit().

Definition at lines 311 and 2634 of file islets.c.

scIsletsInitSeaOfTime

void scIsletsInitSeaOfTime(void)

Sets up the Sea of Time Islet: the surf's palette cycles, Lonesome George and the Li'l Turtle once given, and the ride's arrival or return by entrance.

References fdActorGet(), fdActorSetPosAndFacing(), fdActorSetPosFX(), fdActorSetSpriteFlags(), fdPaletteCycleAdd(), fdPaletteCycleInit(), fdPaletteCycleStart(), fdScriptClearFlag(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldSetTickEvent(), scIsletsArriveAtSecretSpot(), scIsletsArriveBackAtIsland(), scIsletsSetDeckBlocksByHeight(), Sint32 and sySynch().

Referenced by scInit().

Definition at lines 312 and 2709 of file islets.c.

scIsletsSetMetatileCollision

void scIsletsSetMetatileCollision(Sint32 x, Sint32 z, Sint32 layers, Sint32 value)

Sets the behaviour of the map metatile under a 16.16 position, on the layers given (ISLETS_GROUND_LAYER, ISLETS_UPPER_LAYER or both).

References Sint32.

Referenced by scIsletsFinishPushingCrate(), scIsletsInitSoutheastAngara(), scIsletsPushCrateOffLedge() and scIsletsStartPushingCrate().

Definition at lines 324 and 1815 of file islets.c.

scIsletsFinishPushingCrate

void scIsletsFinishPushingCrate(void)

A crate Felix has pushed or Moved on SE Angara Islet settles, and one pushed off its ledge drops to the ground below with a rattle, the upper ledge's to metatile (12, 26) and the middle ledge's to (7, 29). If the other crate already stands there, the two end up stacked in that metatile for good, a step Felix can hop onto. The metatiles each crate leaves are opened and those it rests on walled.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), IsletsFirstCrateX, IsletsFirstCrateZ, IsletsSecondCrateX, IsletsSecondCrateZ, scFieldScriptEndLastingPsynergy(), scIsletsSetMetatileCollision(), Sint32 and sySynch().

Referenced by IsletsSoutheastAngaraCues and scIsletsPushCrateOffLedge().

Definition at lines 339 and 1875 of file islets.c.

scIsletsSetSonsTargetedByHeight

void scIsletsSetSonsTargetedByHeight(void)

An event: while Felix is down in the water among West Indra Islet's piers, the sailor's two sons up on the pier are passed over by talk and Psynergy.

References fdActorGet() and MainRoutineStateWork.

Referenced by scIsletsInitWestIndra().

Definition at lines 340 and 2380 of file islets.c.

scIsletsPlayFootsteps

void scIsletsPlayFootsteps(void)

An event: the footstep sound every 16 ticks, while the bird flies back to its nest.

References fdScriptPlaySound() and TickCount.

Referenced by scIsletsBirdReturnsToNest().

Definition at lines 344 and 1734 of file islets.c.

scIsletsRideOnLonesomeGeorge

void scIsletsRideOnLonesomeGeorge(ACTOR *actor)

Felix's update while he rides Lonesome George: kept 16 pixels above him, facing his way.

References fdActorGet() and scFieldActorSetPosAndResetMotion().

Referenced by scIsletsArriveAtSecretSpot(), scIsletsArriveBackAtIsland(), scIsletsGiveTurtle(), scIsletsLonesomeGeorgeThanks() and scIsletsRideBackToIsland().

Definition at lines 345 and 1165 of file islets.c.

scActorEmitWadingSplashes

void scActorEmitWadingSplashes(ACTOR *actor)

An actor's update: every fourth tick a splash where it is (IsletsWadingSplashScript), as it wades or swims through the shallows.

References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), IsletsWadingSplashScript, scFieldActorCreate() and TickCount.

Referenced by scIsletsArriveAtSecretSpot(), scIsletsArriveBackAtIsland(), scIsletsGiveTurtle(), scIsletsLonesomeGeorgeThanks(), scIsletsRideBackToIsland() and scIsletsTradeWithDog().

Definition at lines 346 and 984 of file islets.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References fdScriptGetFlag(), IsletsEastTundariaActorPlacements, IsletsNorthOseniaActorPlacements, IsletsPlacements, IsletsSeaOfTimeActorPlacements, IsletsSoutheastAngaraActorPlacements, IsletsWestIndraActorPlacements and MainRoutineStateWork.

Definition at line 348 of file islets.c.

scGetCues

const CUE *scGetCues(void)

References IsletsCues, IsletsEastTundariaCues, IsletsNorthOseniaCues, IsletsSeaOfTimeCues, IsletsSoutheastAngaraCues, IsletsWestIndraCues and MainRoutineStateWork.

Definition at line 402 of file islets.c.

scIsletsTalkToPengulina

void scIsletsTalkToPengulina(void)

Talking to Pengulina, the penguin with the bow: on the far shore she cries "Pen pen pehnnn!"; once home, "Pen pen.", or "Pen pen pehnnnn." while Pengus chases her.

References fdActorFaceActor(), fdScriptEnd(), fdScriptGetFlag(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by IsletsEastTundariaCues.

Definition at line 491 of file islets.c.

scIsletsTalkToHealer

void scIsletsTalkToHealer(void)

The healer on E Tundaria Islet: spoken to from in front, with Felix facing north, she offers a sanctum's healing; from any other side she says she is there to tend to travelers.

References fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), mnSanctumRun(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scLeaderIsFacingNorth() and Sint32.

Referenced by IsletsEastTundariaCues.

Definition at line 556 of file islets.c.

scIsletsTalkToTreasureHuntersPartner

void scIsletsTalkToTreasureHuntersPartner(void)

The treasure hunter's partner by the tent says how huge the Eastern Sea is, and warns Felix there is no treasure in these waters.

References fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by IsletsSoutheastAngaraCues.

Definition at line 616 of file islets.c.

scIsletsTalkToBird

void scIsletsTalkToBird(void)

Talking to the orange bird on SE Angara Islet: "Chirp chirp!" Once it has traded, it turns to watch Felix.

References fdScriptEnd(), fdScriptGetFlag(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, scFieldActorWatchAndSetScript(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by IsletsSoutheastAngaraCues.

Definition at line 630 of file islets.c.

scIsletsTradeWithCow

void scIsletsTradeWithCow(void)

Mind Read on the cow in the yard beside N Osenia Islet's house, with the Red Cloth in the party: "Oh! That red neckerchief is quite nice indeed." Felix ties it in the yard's tree, and when the cow asks "Are you giving that lovely thing to moooooi?", a yes trades it for Milk; a no takes it down again, and the next Mind Read asks at once. Without the cloth the cow feels low and does not know why, and after the trade it praises its neckerchief.

References fdActorFaceActorById(), fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorRelease(), fdActorSetAnimationById(), fdActorSetItemIcon(), fdActorSetPosAndResetMotion(), fdActorSetSpriteFlags(), fdActorShowEmoteById(), fdActorStop(), fdActorWalkToAndWait(), fdActorWatchAndSetScript(), fdCameraWaitForArrival(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, mnFieldMessageShow(), scFieldActorCreate(), scFieldActorSetPosAndResetMotion(), scFieldPartyInventoryFindMember() and scFieldScriptAskYesNoWithActorAnimation().

Referenced by IsletsNorthOseniaCues.

Definition at line 779 of file islets.c.

scIsletsShowItemAbove

ACTOR *scIsletsShowItemAbove(ACTOR *actor, Sint32 itemId)

Felix holds up his arms with an item over his head. Returns the item's actor, or null.

References fdActorSetAnimation(), fdActorSetSpriteFlags(), MainRoutineStateWork, scFieldActorCreate(), scFieldActorSetItemIcon() and Sint32.

Referenced by scIsletsTradeWithDog().

Definition at line 962 of file islets.c.

scIsletsTradeWithDog

void scIsletsTradeWithDog(void)

Mind Read on the dog paddling among West Indra Islet's piers, with Milk in the party: "Sniff! Sniff! I smell fresh milk!" It splashes round Felix, he sets the Milk down in front of it, and it trades him the Li'l Turtle it caught. Without Milk it complains the water is so salty; after the trade it says it is taking little laps so as not to waste it.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorRelease(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorWalkToAndWait(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), gmPartyGiveItem(), gmPartyInventoryRemove(), IsletsDogHopsFacingEastScript, IsletsDogHopsFacingWestScript, MainRoutineStateWork, mnMessageShowCentered(), scActorEmitWadingSplashes(), scFieldActorJump(), scFieldActorSetPosAndResetMotion(), scFieldActorStop(), scFieldActorWatchAndSetScript(), scFieldPartyInventoryFindMember(), scFieldScriptEndLastingPsynergy(), scIsletsShowItemAbove(), Sint32 and sySynch().

Referenced by IsletsWestIndraCues.

Definition at line 1017 of file islets.c.

scIsletsLonesomeGeorgeThanks

void scIsletsLonesomeGeorgeThanks(ACTOR *gift)

Lonesome George takes the Li'l Turtle: he smiles, spins round for joy and cries "At long last, I have a friend!", offers to show the party his secret spot, and swims off south with Felix on his back and the little turtle behind, to the secret spot.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorRunScriptAndWait(), fdActorSelectAnimation(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetDestination(), fdActorShowEmote(), fdActorWalkToAndWait(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdScriptFinishScreenTransition(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptWaitTransitionTicks(), gmPartyInventoryRemove(), IsletsSpinScript, MainRoutineStateWork, scActorEmitWadingSplashes(), scFieldActorJump(), scFieldActorSetSpriteColor(), scFieldActorWaitForMove(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait(), scIsletsRideOnLonesomeGeorge(), scPaletteCycleStop() and syHeapSlotAllocateEWRAM().

Referenced by scIsletsGiveTurtle().

Definition at line 1190 of file islets.c.

scIsletsStartWave

void scIsletsStartWave(void)

Unused: starts the water's ripple, each line of its background swaying as Lemuria's water does.

References scIsletsFillWaveLines(), scIsletsStartWaveDMA() and sySetTickEvent().

Definition at line 1666 of file islets.c.

scIsletsPengusGivesPrettyStone

void scIsletsPengusGivesPrettyStone(void)

Once Felix has pushed Pengulina over the log to Pengus's shore and steps up behind her (metatile (13, 10)), Pengus hops for joy, thanks him for saving his sweet Pengulina and waddles over, and Felix holds up the Pretty Stone he is given.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorSetAnimation(), fdActorWalkToAndWait(), fdPsynergyGreyMindReadPalette(), fdPsynergyRestoreMindReadPalette(), fdPsynergyStartMindReadWave(), fdPsynergyStopMindReadWave(), fdScriptEnd(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), gmPartyGiveItem(), MainRoutineStateWork, scFieldActorJump(), scFieldActorSetItemIcon(), scFieldActorSetPosAndResetMotion(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.

Referenced by IsletsEastTundariaCues.

Definition at line 1676 of file islets.c.

scIsletsBirdReturnsToNest

void scIsletsBirdReturnsToNest(void)

When Felix climbs up near the bird's nest on SE Angara Islet's cliff top (metatile (7, 21)), the bird stops circling over the east of the islet, flies across, hops onto the nest and turns to watch him.

References fdActorFaceActor(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdScriptEnd(), fdScriptSetFlag(), fdScriptStart(), MainRoutineStateWork, scFieldActorJump(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpritePriority(), scFieldActorStop(), scFieldActorWaitForMove(), scFieldCloseEvent(), scFieldScriptEndLastingPsynergy(), scFieldScriptWait(), scFieldSetTickEvent(), scIsletsPlayFootsteps() and sySynch().

Referenced by IsletsSoutheastAngaraCues.

Definition at line 1743 of file islets.c.

scIsletsPushCrateOffLedge

void scIsletsPushCrateOffLedge(void)

Walking south from metatile (12, 24) on SE Angara Islet's upper ledge, or (7, 27) on its middle one, Felix pushes the crate standing at the ledge's edge over it, and it drops below (scIsletsFinishPushingCrate). When the other crate already stands below, at (7, 29), this one lands on top of it.

References fdActorGet(), fdLeaderPushObjectAhead(), fdScriptEnd(), fdScriptStart(), IsletsFirstCrateX, IsletsFirstCrateZ, IsletsSecondCrateX, IsletsSecondCrateZ, scFieldScriptEndLastingPsynergy(), scIsletsFinishPushingCrate() and scIsletsSetMetatileCollision().

Referenced by IsletsSoutheastAngaraCues.

Definition at line 1993 of file islets.c.

scIsletsClearThirdPatch

void scIsletsClearThirdPatch(void)

Cyclone on the weed south of the cow's yard, by its fence (metatile (8, 15)), blows it away for good, as scIsletsClearFirstPatch does.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by IsletsNorthOseniaCues.

Definition at line 2113 of file islets.c.

scIsletsClearFifthPatch

void scIsletsClearFifthPatch(void)

Cyclone on the weeds just east of N Osenia Islet's tilled field (metatiles (18, 22) to (21, 22)) blows them away for good, as scIsletsClearFirstPatch does.

References scFieldTileCopiesCopyTouchedMetatiles().

Referenced by IsletsNorthOseniaCues.

Definition at line 2129 of file islets.c.

scIsletsEnterDoor

void scIsletsEnterDoor(void)

Walking north into the door of the thatched hut on stilts by West Indra Islet's piers (metatile (13, 48)), Felix lines up with it and walks inside.

References fdActorGet(), fdActorSetAnimation(), fdActorSetScript(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), LeaderWalkThroughDoorScript, MainRoutineStateWork, scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest() and sySynch().

Referenced by IsletsWestIndraCues.

Definition at line 2203 of file islets.c.

scIsletsArriveBackAtIsland

void scIsletsArriveBackAtIsland(void)

Lonesome George swims the party back from his secret spot into the shallows below the Sea of Time Islet's cliffs, the Li'l Turtle following: "Here we are!" Felix hops off, and George says to let him know whenever they want to go again.

References fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorPlaceOnActor(), fdActorSetAnimation(), fdActorWalkTo(), fdPaletteCycleStart(), fdPsynergyStartMindReadWave(), fdPsynergyStopMindReadWave(), fdScriptShowMessage(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scActorEmitWadingSplashes(), scFieldActorJump(), scFieldActorSetSpriteColor(), scFieldScriptSetMessageId(), scIsletsRideOnLonesomeGeorge(), Sint32 and sySynch().

Referenced by scIsletsInitSeaOfTime().

Definition at line 2236 of file islets.c.

scIsletsArriveAtSecretSpot

void scIsletsArriveAtSecretSpot(void)

Lonesome George swims the party round to his secret spot, the little islet with the cave mouth, the Li'l Turtle following: "Well, here we are." Felix hops ashore below the cave, and George says to let him know when they want to go back. The screen opens in the shape the ride closed in, but in the Japanese edition with the fade every islet opens with (scInit).

References fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorPlaceOnActor(), fdActorSetAnimation(), fdActorSetScript(), fdActorStartScript(), fdPaletteCycleStart(), fdPsynergyStartMindReadWave(), fdPsynergyStopMindReadWave(), fdScriptShowMessage(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), IsletsGeorgeSwimsToSecretSpotScript, IsletsLilTurtleSwimsToSecretSpotScript, MainRoutineStateWork, scActorEmitWadingSplashes(), scFieldActorJump(), scFieldActorSetSpriteColor(), scFieldScriptSetMessageId(), scIsletsRideOnLonesomeGeorge() and sySynch().

Referenced by scIsletsInitSeaOfTime().

Definition at line 2297 of file islets.c.

scInit

Sint32 scInit(void)

Sets up the islet being entered: the fade in, and the islet's own setup. Returns 0.

References MainRoutineStateWork, scIsletsInitEastTundaria(), scIsletsInitNorthOsenia(), scIsletsInitSeaOfTime(), scIsletsInitSoutheastAngara(), scIsletsInitWestIndra() and Sint32.

Definition at line 2358 of file islets.c.

scIsletsStartIceberg

void scIsletsStartIceberg(Sint32 id)

Readies an iceberg to drift: a platform that moves at 0.3 pixels a tick.

References fdActorGet(), fdActorSetSpriteFlags() and Sint32.

Referenced by scIsletsInitEastTundaria().

Definition at line 2434 of file islets.c.

scIsletsMoveIceberg

void scIsletsMoveIceberg(Sint32 id, Sint32 column, Sint32 row)

Sends an iceberg drifting to the spot column and row steps of two metatiles (32 pixels) from where it was placed, each -1, 0 or 1; 0 and 0 send it home.

References fdActorGet(), scFieldActorSetMoveTargetFX() and Sint32.

Referenced by scIsletsDriftIcebergs().

Definition at line 2450 of file islets.c.

scIsletsDriftIcebergs

void scIsletsDriftIcebergs(void)

An event: E Tundaria Islet's eight icebergs drift out and back. In each 260-tick round they set off at tick 0, each two metatiles one way (scIsletsMoveIceberg), stop at 100, head home at 130 and stop at 220. They hold still while Psynergy is cast or Reveal shows (FLAG_REVEAL_SHOWN), and once Felix has fallen into the sea they hold still and raise CUE_SINK_IN_SEA.

References fdActorGetById(), fdActorSetAnimation(), MainRoutineStateWork, scIsletsMoveIceberg(), Sint32 and syGameFlagGet().

Referenced by scIsletsInitEastTundaria().

Definition at line 2464 of file islets.c.

scPrepareMap

Sint32 scPrepareMap(void)

Nothing to prepare before the map is built. Returns 0.

References Sint32.

Definition at line 2791 of file islets.c.

fdPaletteCycleStart

void fdPaletteCycleStart(void)

Starts the palette cycles' event, as the surf moves while the party is on the Sea of Time Islet.

References fdPaletteCycleStep() and sySetTickEvent().

Referenced by scIsletsArriveAtSecretSpot(), scIsletsArriveBackAtIsland() and scIsletsInitSeaOfTime().

Definition at line 2802 of file islets.c.

fdPaletteCycleStep

void fdPaletteCycleStep(void)

The palette cycles' event: each queued cycle whose timer has run out rotates its run of colours one place further, unless Psynergy or a menu is open.

References syDMAXCopy().

Referenced by fdPaletteCycleStart(), fdPaletteQueueStop(), scJupiterLighthouseLoadPalettes() and scPaletteCycleStop().

Definition at line 2815 of file islets.c.

scPushTargetCheckCollision

static __inline__ Sint32 scPushTargetCheckCollision(ACTOR *actor, VECTOR3 *metatile)

Whether an actor at a position would collide with the map (fdMapGridCheckCollision).

References fdMapGridCheckCollision() and Sint32.

Definition at line 2898 of file islets.c.

Variables in detail

IsletsEastTundariaWalkScript

extern Uint32 IsletsEastTundariaWalkScript[]

Uint32 IsletsEastTundariaWalkScript[]

The man in the green vest on E Tundaria Islet paces to the south-east and back; only the Japanese edition lets the party push him.

Referenced by IsletsEastTundariaActorPlacements.

Definition at lines 170 and 2933 of file islets.c.

IsletsBirdCirclesScript

extern Uint32 IsletsBirdCirclesScript[]

Uint32 IsletsBirdCirclesScript[]

Referenced by IsletsSoutheastAngaraActorPlacements.

Definition at lines 171 and 2961 of file islets.c.

IsletsPacingSonScript

extern Uint32 IsletsPacingSonScript[]

Uint32 IsletsPacingSonScript[]

The sailor's other son pacing West Indra Islet's pier, east and back.

Referenced by IsletsWestIndraActorPlacements.

Definition at lines 172 and 3117 of file islets.c.

IsletsSnowHutDoorOpening

extern Uint16 IsletsSnowHutDoorOpening[]

Uint16 IsletsSnowHutDoorOpening[]

The snow hut's door swinging open, two steps of six ticks each, and no opening at all.

Referenced by IsletsDoors.

Definition at lines 173 and 3141 of file islets.c.

IsletsNoOpening

extern Uint16 IsletsNoOpening[]

Uint16 IsletsNoOpening[]

Referenced by IsletsDoors.

Definition at lines 174 and 3146 of file islets.c.

IsletsWadingSplashScript

extern Uint32 IsletsWadingSplashScript[]

Uint32 IsletsWadingSplashScript[]

Referenced by scActorEmitWadingSplashes().

Definition at lines 298 and 3063 of file islets.c.

IsletsCues

extern CUE IsletsCues[]

CUE IsletsCues[]

Referenced by scGetCues().

Definition at lines 299 and 3296 of file islets.c.

IsletsWestIndraCues

extern CUE IsletsWestIndraCues[]

CUE IsletsWestIndraCues[]

References scIsletsEnterDoor(), scIsletsJumpForward(), scIsletsTalkToSailorsSon() and scIsletsTradeWithDog().

Referenced by scGetCues().

Definition at lines 300 and 3300 of file islets.c.

IsletsEastTundariaCues

extern CUE IsletsEastTundariaCues[]

CUE IsletsEastTundariaCues[]

References scIsletsEndReveal(), scIsletsJumpDownLedge(), scIsletsJumpForward(), scIsletsMindReadPengulina(), scIsletsMindReadPengus(), scIsletsOpenDoorAndEnter(), scIsletsPengusGivesPrettyStone(), scIsletsPushLogIntoWater(), scIsletsSinkInSea(), scIsletsStartReveal(), scIsletsStepDownOntoIceberg(), scIsletsStepUpOntoShore(), scIsletsTalkToHealer(), scIsletsTalkToPengulina() and scIsletsTalkToPengus().

Referenced by scGetCues().

Definition at lines 301 and 3331 of file islets.c.

IsletsNorthOseniaCues

extern CUE IsletsNorthOseniaCues[]

CUE IsletsNorthOseniaCues[]

References scIsletsClearFifthPatch(), scIsletsClearFirstPatch(), scIsletsClearFourthPatch(), scIsletsClearSecondPatch(), scIsletsClearSixthPatch(), scIsletsClearThirdPatch(), scIsletsRiseFromSand(), scIsletsSinkIntoSand() and scIsletsTradeWithCow().

Referenced by scGetCues().

Definition at lines 302 and 3390 of file islets.c.

IsletsSoutheastAngaraCues

extern CUE IsletsSoutheastAngaraCues[]

CUE IsletsSoutheastAngaraCues[]

References scIsletsBirdReturnsToNest(), scIsletsFinishPushingCrate(), scIsletsFreezePuddle(), scIsletsPushCrateOffLedge(), scIsletsStartPushingCrate(), scIsletsTalkToBird(), scIsletsTalkToTreasureHunters(), scIsletsTalkToTreasureHuntersPartner() and scIsletsTradeWithBird().

Referenced by scGetCues().

Definition at lines 303 and 3444 of file islets.c.

IsletsSeaOfTimeCues

extern CUE IsletsSeaOfTimeCues[]

CUE IsletsSeaOfTimeCues[]

References scIsletsGiveTurtle(), scIsletsLeaveByStep(), scIsletsOpenFieldMenu(), scIsletsRideBackToIsland(), scIsletsRiseFromSand() and scIsletsSinkIntoSand().

Referenced by scGetCues().

Definition at lines 304 and 3498 of file islets.c.

IsletsPlacements

extern ACTOR_PLACE IsletsPlacements[]

ACTOR_PLACE IsletsPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 314 and 3195 of file islets.c.

IsletsWestIndraActorPlacements

extern ACTOR_PLACE IsletsWestIndraActorPlacements[]

ACTOR_PLACE IsletsWestIndraActorPlacements[]

References IsletsPacingSonScript and Sint32.

Referenced by scGetActorPlacements().

Definition at lines 315 and 3199 of file islets.c.

IsletsEastTundariaActorPlacements

extern ACTOR_PLACE IsletsEastTundariaActorPlacements[]

ACTOR_PLACE IsletsEastTundariaActorPlacements[]

References IsletsEastTundariaWalkScript and Sint32.

Referenced by scGetActorPlacements().

Definition at lines 316 and 3211 of file islets.c.

IsletsNorthOseniaActorPlacements

extern ACTOR_PLACE IsletsNorthOseniaActorPlacements[]

ACTOR_PLACE IsletsNorthOseniaActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 317 and 3251 of file islets.c.

IsletsSoutheastAngaraActorPlacements

extern ACTOR_PLACE IsletsSoutheastAngaraActorPlacements[]

ACTOR_PLACE IsletsSoutheastAngaraActorPlacements[]

References IsletsBirdCirclesScript and Sint32.

Referenced by scGetActorPlacements().

Definition at lines 318 and 3263 of file islets.c.

IsletsSeaOfTimeActorPlacements

extern ACTOR_PLACE IsletsSeaOfTimeActorPlacements[]

ACTOR_PLACE IsletsSeaOfTimeActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 319 and 3281 of file islets.c.

IsletsDoors

extern MAP_EDIT IsletsDoors[]

MAP_EDIT IsletsDoors[]

The doors Felix opens by walking into them (scIsletsOpenDoorAndEnter), a row for each exit from the first: the opening and the metatile it plays at; only the snow hut's opens.

References IsletsNoOpening and IsletsSnowHutDoorOpening.

Referenced by scIsletsOpenDoorAndEnter().

Definition at lines 321 and 3153 of file islets.c.

IsletsDogHopsFacingEastScript

extern Sint32 IsletsDogHopsFacingEastScript[]

Sint32 IsletsDogHopsFacingEastScript[]

References Sint32.

Referenced by scIsletsTradeWithDog().

Definition at lines 1003 and 3034 of file islets.c.

IsletsDogHopsFacingWestScript

extern Sint32 IsletsDogHopsFacingWestScript[]

Sint32 IsletsDogHopsFacingWestScript[]

References Sint32.

Referenced by scIsletsTradeWithDog().

Definition at lines 1004 and 3005 of file islets.c.

IsletsSpinScript

extern ACTION_SCRIPT IsletsSpinScript

ACTION_SCRIPT IsletsSpinScript

Referenced by scIsletsLonesomeGeorgeThanks().

Definition at lines 1184 and 2917 of file islets.c.

IsletsGeorgeSwimsBackScript

extern Uint32 IsletsGeorgeSwimsBackScript[]

Uint32 IsletsGeorgeSwimsBackScript[]

Referenced by scIsletsRideBackToIsland().

Definition at lines 1491 and 3093 of file islets.c.

IsletsLilTurtleSwimsBackScript

extern Uint32 IsletsLilTurtleSwimsBackScript[]

Uint32 IsletsLilTurtleSwimsBackScript[]

Referenced by scIsletsRideBackToIsland().

Definition at lines 1492 and 3104 of file islets.c.

IsletsWaveTableIndex

Uint8 IsletsWaveTableIndex

Referenced by scIsletsFillWaveLines() and scIsletsStartWaveDMA().

Definition at line 1614 of file islets.c.

IsletsUnusedAfterWaveTableIndex

Uint8 IsletsUnusedAfterWaveTableIndex[WAVE_LINES_PADDING]

Unused: nothing reads these bytes (WAVE_LINES_PADDING).

Definition at line 1616 of file islets.c.

IsletsWaveLines

Sint16 IsletsWaveLines[2][DISPLAY_HEIGHT]

The water's two tables of line offsets, a halfword a screen line: one an HBlank DMA reads while the other is filled for the next tick.

Referenced by scIsletsFillWaveLines() and scIsletsStartWaveDMA().

Definition at line 1619 of file islets.c.

IsletsSecondCrateZ

Sint32 IsletsSecondCrateZ

References Sint32.

Referenced by scIsletsFinishPushingCrate(), scIsletsPushCrateOffLedge() and scIsletsStartPushingCrate().

Definition at line 1620 of file islets.c.

IsletsFirstCrateZ

Sint32 IsletsFirstCrateZ

References Sint32.

Referenced by scIsletsFinishPushingCrate(), scIsletsPushCrateOffLedge() and scIsletsStartPushingCrate().

Definition at line 1621 of file islets.c.

IsletsSecondCrateX

Sint32 IsletsSecondCrateX

References Sint32.

Referenced by scIsletsFinishPushingCrate(), scIsletsPushCrateOffLedge() and scIsletsStartPushingCrate().

Definition at line 1622 of file islets.c.

IsletsFirstCrateX

Sint32 IsletsFirstCrateX

References Sint32.

Referenced by scIsletsFinishPushingCrate(), scIsletsPushCrateOffLedge() and scIsletsStartPushingCrate().

Definition at line 1623 of file islets.c.

IsletsGeorgeSwimsToSecretSpotScript

extern Uint32 IsletsGeorgeSwimsToSecretSpotScript[]

Uint32 IsletsGeorgeSwimsToSecretSpotScript[]

Referenced by scIsletsArriveAtSecretSpot().

Definition at lines 2289 and 3070 of file islets.c.

IsletsLilTurtleSwimsToSecretSpotScript

extern Uint32 IsletsLilTurtleSwimsToSecretSpotScript[]

Uint32 IsletsLilTurtleSwimsToSecretSpotScript[]

Referenced by scIsletsArriveAtSecretSpot().

Definition at lines 2290 and 3081 of file islets.c.

IsletsPengusChasesPengulinaScript

extern Uint32 IsletsPengusChasesPengulinaScript[]

Uint32 IsletsPengusChasesPengulinaScript[]

A loop round the snow that Pengus and Pengulina both waddle, Pengus the faster, so that he chases her.

Referenced by scIsletsInitEastTundaria().

Definition at lines 2532 and 2988 of file islets.c.

SceneEntrances

SCENE_ENTRANCE SceneEntrances[]

Referenced by scGetEntrances().

Definition at line 3158 of file islets.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 3164 of file islets.c.

On this page

StructuresMacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_LOG_PUSHED_INTO_WATERFLAG_DOG_TRADEDFLAG_PENGUS_GAVE_PRETTY_STONEFLAG_COW_TRADEDFLAG_BIRD_TRADEDFLAG_GEORGE_HAS_THE_TURTLEFLAG_PENGUS_CHASING_PENGULINAFLAG_RED_CLOTH_REFUSEDFLAG_TURTLE_REFUSEDFLAG_CRATE_A_DROPPEDFLAG_CRATE_B_DROPPEDFLAG_CRATES_IN_ONE_METATILEFLAG_SOUTHEAST_ANGARA_ISLET_PUDDLE_FROZENFLAG_TREASURE_HUNTERS_LET_SLIPFLAG_BIRD_ON_NESTFLAG_DOG_JUST_TRADEDFLAG_AT_SECRET_SPOTFLAG_REVEAL_SHOWNSceneStateWorkSTEPHAND_BACKISLETS_RIDE_TRANSITIONSPAWNWAVE_LINES_PADDINGEnumerations in detailanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumFunctions in detailscIsletsPushLogIntoWaterscIsletsTalkToPengusscIsletsMindReadPengusscIsletsMindReadPengulinascIsletsTalkToTreasureHuntersscIsletsTradeWithBirdscIsletsGiveTurtlescIsletsRideBackToIslandscIsletsTalkToSailorsSonscIsletsOpenFieldMenuscIsletsJumpDownLedgescIsletsSinkIntoSandscIsletsRiseFromSandscIsletsStartPushingCratescIsletsFreezePuddlescIsletsStepUpOntoShorescIsletsStepDownOntoIcebergscIsletsStartRevealscIsletsEndRevealscIsletsClearFirstPatchscIsletsClearSecondPatchscIsletsClearFourthPatchscIsletsClearSixthPatchscIsletsOpenDoorAndEnterscIsletsLeaveByStepscIsletsSinkInSeascIsletsJumpForwardscIsletsSetDeckBlocksByHeightscGetEntrancesscGetExitRegionsscGetExitsscPaletteCycleStopscIsletsStartWaveDMAscIsletsFillWaveLinesscIsletsInitWestIndrascIsletsInitEastTundariascIsletsInitNorthOseniascIsletsInitSoutheastAngarascIsletsInitSeaOfTimescIsletsSetMetatileCollisionscIsletsFinishPushingCratescIsletsSetSonsTargetedByHeightscIsletsPlayFootstepsscIsletsRideOnLonesomeGeorgescActorEmitWadingSplashesscGetActorPlacementsscGetCuesscIsletsTalkToPengulinascIsletsTalkToHealerscIsletsTalkToTreasureHuntersPartnerscIsletsTalkToBirdscIsletsTradeWithCowscIsletsShowItemAbovescIsletsTradeWithDogscIsletsLonesomeGeorgeThanksscIsletsStartWavescIsletsPengusGivesPrettyStonescIsletsBirdReturnsToNestscIsletsPushCrateOffLedgescIsletsClearThirdPatchscIsletsClearFifthPatchscIsletsEnterDoorscIsletsArriveBackAtIslandscIsletsArriveAtSecretSpotscInitscIsletsStartIcebergscIsletsMoveIcebergscIsletsDriftIcebergsscPrepareMapfdPaletteCycleStartfdPaletteCycleStepscPushTargetCheckCollisionVariables in detailIsletsEastTundariaWalkScriptIsletsBirdCirclesScriptIsletsPacingSonScriptIsletsSnowHutDoorOpeningIsletsNoOpeningIsletsWadingSplashScriptIsletsCuesIsletsWestIndraCuesIsletsEastTundariaCuesIsletsNorthOseniaCuesIsletsSoutheastAngaraCuesIsletsSeaOfTimeCuesIsletsPlacementsIsletsWestIndraActorPlacementsIsletsEastTundariaActorPlacementsIsletsNorthOseniaActorPlacementsIsletsSoutheastAngaraActorPlacementsIsletsSeaOfTimeActorPlacementsIsletsDoorsIsletsDogHopsFacingEastScriptIsletsDogHopsFacingWestScriptIsletsSpinScriptIsletsGeorgeSwimsBackScriptIsletsLilTurtleSwimsBackScriptIsletsWaveTableIndexIsletsUnusedAfterWaveTableIndexIsletsWaveLinesIsletsSecondCrateZIsletsFirstCrateZIsletsSecondCrateXIsletsFirstCrateXIsletsGeorgeSwimsToSecretSpotScriptIsletsLilTurtleSwimsToSecretSpotScriptIsletsPengusChasesPengulinaScriptSceneEntrancesSceneExits