Skip to Content
The Alchemy Project

src/scene/kibombo.c

Kibombo, the warriors' village below the Gabomba Statue, in the six rooms of this overlay: the village, its houses, shops, inn and Sanctum (scKibomboOpenWeaponShop, scKibomboOpenInn), and the grounds before the statue, each by day and on the ceremony night. More…

Macros

NameDescription
#defineBG_PLTT_INDEX (palette, color) ((palette) * PALETTE_COLORS + (color))A background colour's place in BG_PLTT: colour color of 16-colour palette palette, as the fires' flicker indexes the colours it sets.
#defineFLAG_KIBOMBO_DEAD_END_SEEN 0x8f5Set once the party has found the dead end by the statue and turned back (scKibomboDeadEndByTheStatue).
#defineFLAG_KIBOMBO_PIERS_WITH_PARTY 0x92eSet while Piers goes about Kibombo with the party: as he joins it, and as he thanks it; cleared when he stays behind.
#defineFLAG_KIBOMBO_PIERS_STAYED_BEHIND 0x92fSet once Piers has refused to leave the village without the orb and stayed behind (scKibomboPiersRefusesToLeave).
#defineFLAG_KIBOMBO_VENT_UNCOVERED 0x86aStory flags: the vent Scoop uncovers by the statue, the pillar Moved for Piers, the ceremony begun and Piers joined.
#defineFLAG_KIBOMBO_PILLAR_MOVED_FOR_PIERS 0x9ea
#defineFLAG_KIBOMBO_CEREMONY_BEGUN 0x8f1
#defineFLAG_PIERS_JOINED 0x8f4
#defineFLAG_HEARD_OF_THE_FOREIGN_CEREMONY 0x9dfSet once the party has heard of the foreign ceremony.
#defineFLAG_KIBOMBO_VILLAGE_ROPE_TIED 0x9e9Set once Lash has tied the village's rope across.
#defineFLAG_SAW_THE_GROUNDS_CEREMONY 0x869Set once the party has been to the statue's grounds on the ceremony night.
#defineFLAG_KIBOMBO_LEFT_HOME_OF_AKAFUBU 0x8eeSet as the party climbs down the ladder from Akafubu's home: he stands apart, turns to whoever talks to him and speaks, as his father does, of the days after the ceremony.
#defineFLAG_NORTH_MARK_UNCOVERED FLAG_SCENE_TEMP(0x04)For this visit: each of the four marks at the dead end by the statue uncovered, and the one Scoop is uncovering.
#defineFLAG_SOUTH_MARK_UNCOVERED FLAG_SCENE_TEMP(0x05)
#defineFLAG_WEST_MARK_UNCOVERED FLAG_SCENE_TEMP(0x06)
#defineFLAG_EAST_MARK_UNCOVERED FLAG_SCENE_TEMP(0x07)
#defineFLAG_SCOOPING_NORTH_MARK FLAG_SCENE_TEMP(0x20)
#defineFLAG_SCOOPING_SOUTH_MARK FLAG_SCENE_TEMP(0x21)
#defineFLAG_SCOOPING_WEST_MARK FLAG_SCENE_TEMP(0x22)
#defineFLAG_SCOOPING_EAST_MARK FLAG_SCENE_TEMP(0x23)
#defineFLAG_KIBOMBO_BLOCKS_SHOWN FLAG_SCENE_TEMP(0x00)For this visit: the room's unseen blocks drawn (scKibomboRestoreBlocks).
#defineFLAG_KIBOMBO_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x01)For this visit: the puddle frozen into a pillar (KibomboFrozenPuddle).
#defineFLAG_KIBOMBO_FIRES_FLICKER FLAG_SCENE_TEMP(0x02)For this visit: the room's fires flicker, and a way out stops them.
#defineFLAG_KIBOMBO_DOORS_SHUT FLAG_SCENE_TEMP(0x09)For this visit: the village's doors are shut on the ceremony night.
#defineDEFINE_KIBOMBO_FLICKER_FIRES (name,Defines a tick event in which, every eighth tick outside menus and Psynergy, the fires' four colours flicker: the first by up to 5 either way, the others by a random amount below their range less their bias, the fourth through flickerFourth.
#defineDEFINE_KIBOMBO_SET_WARRIORS_ANIMATION (name, animation)Gives the eight warriors, west to east, one animation.
#defineCHANT_SPARKS 16The sparks that circle Akafubu as he chants, 22 degrees apart.
#defineDEFINE_KIBOMBO_STEP_WHEN_HELD (Defines a step cue by a ladder: Felix climbs down to (ladderX, ladderZ) only if he steps on from the west metatile (westX, sideZ) holding right, the east metatile (eastX, sideZ) holding left, or the south metatile (southX, southZ) holding up.

Enumerations

NameDescription
enumKIBOMBO_FIRE_COLOR { FIRE_COLOR_FIRST, VILLAGE_FIRE_COLOR_SECOND, VILLAGE_FIRE_CO … }The fires' colours in the background palettes, which each room keeps in KibomboFireColors as it opens and its flicker event brightens and dims: four in the night village, four on the night grounds, the first the same, and three before the statue's face.
enumanonymous enum { ACTOR_PUDDLE }The puddle Frost freezes, the first row of the village's and the grounds' placements.
enumKIBOMBO_STATUE_GROUNDS_ACTOR_ID { ACTOR_GROUNDS_PILLAR, ACTOR_STATUE_LEFT_EYE, ACTOR_STATUE_RI … }The grounds before the statue (SceneIdKibomboStatueGrounds and, on the ceremony night, SceneIdKibomboStatueGroundsCeremony), numbering the rows of their placements; the night's rows place the warriors and Akafubu's party after them, and Kraden after those.
enumSTATUE_TONGUE_POSE { STATUE_TONGUE_IN_MOUTH, STATUE_TONGUE_UNROLLING_BY_DAY, STAT … }The poses scKibomboSetStatueTongue gives the Great Gabomba's tongue, each in the sprite sheet's daylight colours or those it wears by the ceremony night's firelight.
enumanonymous enum { ACTOR_WEST_CANDLESTICK, ACTOR_EAST_CANDLESTICK, ACTOR_FLAME, … }The village by day and on the ceremony night: after the puddle, the two candlesticks either side of the north-east house's door, the flame (by day the cooking fire's, at night burning on the totem pole in the square) and the rope's two posts, on the ground below the ledge and on top of it.
enumanonymous enum { ACTOR_AKAFUBU_AT_HOME, ACTOR_FATHER_OF_AKAFUBU, ACTOR_KRADEN … }The houses, inn and shops (SceneIdKibomboHouses).
enumanonymous enum { ACTOR_SIGNAL_FIRE_KEEPER }The village by day: "This is a signal fire.
enumanonymous enum { ACTOR_MAN_WHO_SAW_THE_JEWEL_FLOAT, ACTOR_MAN_SURE_OF_AKAFUBU … }The village on the ceremony night: the crowd in the square, each named for what they say before Akafubu has asked the party's help; some move or leave once he has.
enumanonymous enum { ENTRANCE_CEREMONY_AFTER_DEFEAT }The village on the ceremony night: where the party starts again, before the healer, after a defeat (SceneReturnRules).
enumKIBOMBO_METATILE_BEHAVIOR { METATILE_BEHAVIOR_MIDDLE_OF_POLE_RING, METATILE_BEHAVIOR_POL … }The rooms' own metatile behaviours; where a metatile leads out of a room its behaviour is the exit's number, named in scene_exits.h.
enumanonymous enum { SHOP_KIBOMBO_WEAPONS, SHOP_KIBOMBO_ARMOR, SHOP_KIBOMBO_ITEMS }Kibombo's shops, as mnShopRun numbers them.
enumanonymous enum { INN_ID_KIBOMBO }Kibombo's inn, as mnInnCheckIn numbers the inns.
enumanonymous enum { SPARK_SWELLING, SPARK_LAST_TURN, SPARK_RISING, SPARK_SPREADI … }The stages of a spark that circles Akafubu as he chants.
enumanonymous enum { ENTRANCE_STATUE_REACHING, ENTRANCE_STATUE_TONGUE_OUT, ENTRAN … }Entrances of the grounds no exit leads to and no map lists, each showing the statue at a stage of the ceremony: its mouth shut, then open with its eyes lit, its tongue out, and its tongue reaching for the gift.
enumanonymous enum { KIBOMBO_HOUSES_NORTHWEST_BACK_DOOR, KIBOMBO_HOUSES_ACHING_BA … }The houses' own ways between their rooms, each the number of both the exit and the entrance at that spot: the north-west house's back door and the doorway of the room where the man with the aching back lies; the south-west house's back door and the doorway of the room of beds; and the top and foot of the three ladders, from the item shop's upper room, from Akafubu's home down to the Sanctum, and from the upper room with two beds.

Functions

NameDescription
ACTOR *syImportActorCreate (Sint32 type, Sint32 x, Sint32 y, Sint32 z)Creates an actor at (x, y, z), 16.16 pixels, or returns 0 when every slot is taken (fdActorCreate, through the overlay's own import row).
voidsyImportScriptSetExitRequest (Sint32 exit)Sets the field's exit request (fdScriptSetExitRequest, through the overlay's own import row).
voidscKibomboInitVillage (void)The village by day or night: the two candlesticks by the north-east house's door, the blank overlay the ring among the poles hands to Felix (scKibomboOverlayFollowsLeader), the puddle as Frost left it, the rope as Lash left it, and the two gate guards made to stop short of others.
Sint32scKibomboClampColor (Sint32 value)Clamps a colour channel to 0 to RGB_LEVEL_MAX.
voidscKibomboFlashSprite (ACTOR *actor)An actor's update: flashes its sprite red and back every two ticks.
voidscKibomboUncoverNorthMark (void)Uncovers the north one of the four marks at the dead end by the statue, metatile (16, 7), as Scoop does.
voidscKibomboUncoverSouthMark (void)Uncovers the south mark, metatile (16, 11).
voidscKibomboUncoverWestMark (void)Uncovers the west mark, metatile (14, 9).
voidscKibomboUncoverEastMark (void)Uncovers the east mark, metatile (18, 9).
voidscKibomboPiersHasForgottenParty (void)Piers does not know the party who sought him in Madra's jail: Sheba wonders whether he has already forgotten them, Jenna answers, and Piers remembers the travelers, then asks when he ever asked for their help.
voidscKibomboPiersTakesPartyForEnemies (void)Piers, who has never met the party, takes it for the Kibombo's: Sheba and Jenna tell him otherwise, of the tidal wave and of the boat they seek, and he finds it hard to believe.
voidscKibomboAkafubuOffersCrystal (void)Akafubu silences the crowd and raises the Black Crystal before the Great Gabomba, whose mouth opens and shuts again; the crowd bows to pray harder.
voidscKibomboPiersJoinsParty (void)Piers, who saw the party's Psynergy, tells them he too is an Adept, from Lemuria in the middle of the Eastern Sea, and joins the party with his Djinn; Felix's answers to Kraden choose the lines that follow.
voidscKibomboFlickerColor (Sint32 index, Sint32 entry, Sint32 delta)Sets a palette colour from its fire colour, brightened by delta (half for green, a quarter for blue).
voidscKibomboFlickerRedColor (Sint32 index, Sint32 entry, Sint32 delta)As scKibomboFlickerColor, four steps redder, with green and blue two and one steps dimmer.
voidscKibomboFlickerVillageFires (void)A tick event in the night village: every eighth tick outside menus and Psynergy, the four fire colours flicker.
voidscKibomboFlickerCeremonyFires (void)As scKibomboFlickerVillageFires on the night grounds, its fourth colour flickering redder.
voidscKibomboFlickerStatueFires (void)A tick event before the statue's face: every eighth tick outside menus and Psynergy, the three fire colours flicker.
voidscKibomboRaiseEmbers (void)Embers rise from the statue's fire every fourth tick.
voidscKibomboRaiseSmoke (void)Smoke rises from the cooking fire every 64 ticks.
voidscKibomboLightSignalFire (void)Lights the signal fire: five flames rise in a column above it, blended over the background.
voidscActorHide (Sint32 id)Takes an actor out of play and out of sight: disabled, painted transparent and drawn underfoot.
voidscKibomboRestoreBlocks (void)Back from a battle or a menu, stops drawing the room's unseen blocks again unless they were shown; otherwise notes them shown.
voidscKibomboAkafubuChants (void)Akafubu glows and sparks circle him.
voidscKibomboSetStatueMouth (Sint32 open, Sint32 glow)Opens or shuts the Great Gabomba's mouth; while it is open its two eyes show, ringed with light if glow.
voidscKibomboSetStatueTongue (Sint32 open, Sint32 pose)Puts out the Great Gabomba's tongue in a STATUE_TONGUE_POSE, or draws it back.
voidscKibomboStopFireFlicker (void)Stops the room's fire flicker event.
voidscKibomboClimbDownLadder (Sint32 x, Sint32 z)The leader walks to the top of the ladder at x, z, climbs down it and the scene leaves by the step's exit.
voidscKibomboOpenCeremonyScene (void)The screen opens on the ceremony at the statue, with Felix hidden, the fires flickering and the Great Gabomba's mouth open, its eyes ringed with light; each step of the offering that follows sets the mouth as it needs.
voidscKibomboWarriorsPanic (void)The warriors leap up in fright; two cry out and all dance in a frenzy until Akafubu silences them, calms them and calls for more drums.
voidscKibomboCastScoop (void)Felix casts Scoop on the mark he stands on.
Sint32scKibomboSpinSprite (ACTOR *actor)An actor's update: turns its sprite a little each tick.
Sint32scKibomboKeepShakeCenter (ACTOR *actor)An actor's update: keeps its position as the center scKibomboShakeInPlace shakes it about.
Sint32scKibomboShakeInPlace (ACTOR *actor)An actor's update: every other tick, puts it up to a pixel either way of its kept center.
Sint32scKibomboFaceRandomWay (ACTOR *actor)An actor's update: every ten to twenty ticks, faces a random way.
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 houses have exit regions of their own; the other rooms have none.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
voidscKibomboAskAboutFewerWarriors (void)A woman asks whether the party has noticed there are fewer warriors.
voidscKibomboAskAboutRevenge (void)Talking to the west gate guard: the guards ask whether the party has come for revenge for the raid, the east guard speaking.
voidscKibomboTalkPathToPeace (void)The signal fire's keeper tells of the path to peace under Akafubu, and of the signal fire.
voidscKibomboAskGoingWest (void)A woman asks whether the party is heading to western Gondowan.
voidscKibomboOpenWeaponShop (void)Talking to the weapon shopkeeper: across the counter, the shop; from elsewhere, a word about Kibombo's weapons.
voidscKibomboOpenArmorShop (void)Talking to the armor shopkeeper: across the counter, the shop; from elsewhere, a word about shields and war paint.
voidscKibomboOpenItemShop (void)Talking to the item shopkeeper: across the counter, the shop; from elsewhere, a word about the spearhead poison.
voidscKibomboOpenInn (void)Talking to the innkeeper: across the counter, the inn; from elsewhere, a word about the beds.
voidscKibomboOpenSanctum (void)Talking to the healer, or checking the counter before her, metatile (23, 22): across the counter, the Sanctum; from elsewhere, a word about the peace the ceremony brought.
voidscKibomboTalkForeignCeremony (void)The healer on the ceremony night: the first time, she muses on foreign ceremonies; then she turns to the party and runs her Sanctum.
voidscKibomboTalkAchingBack (void)The man whose back has ached since the ceremony.
voidscKibomboReadMindNeverAgain (void)Mind Read on the man with the aching back.
voidscKibomboSetBlocksShown (Sint32 show)Draws (show 1) or stops drawing the room's two unseen blocks: on the statue's grounds by its paths, in the houses in the inn's back doorway.
voidscKibomboShowBlocks (void)Unused: draws the room's two unseen blocks and notes them shown.
voidscKibomboHideBlocks (void)Stops drawing the room's two unseen blocks.
voidscKibomboFreezePuddle (void)Felix casts Frost on the puddle: it freezes into a pillar of ice to jump onto.
voidscKibomboUncoverVent (void)Shows the vent by the statue uncovered, metatile (23, 18), and lets the party climb down into it.
voidscKibomboScoopVent (Sint32 stage)Felix casts Scoop on the patch of ground on the statue's grounds, metatile (23, 18), which the party passed on the way to the dead end: as the dig opens the ground, the vent under it is uncovered, the way into the Gabomba Statue.
voidscKibomboScoopNorthMark (Sint32 stage)Felix casts Scoop on the north mark at the dead end by the statue, metatile (16, 7), one of four in a diamond on the ground there: as the dig opens the ground, the mark is dug out.
voidscKibomboScoopSouthMark (Sint32 stage)Felix casts Scoop on the south mark at the dead end by the statue, metatile (16, 11), the one Kraden first tells him to dig: as the dig opens the ground, the mark is dug out.
voidscKibomboScoopWestMark (Sint32 stage)Felix casts Scoop on the west mark at the dead end by the statue, metatile (14, 9): as the dig opens the ground, the mark is dug out.
voidscKibomboScoopEastMark (Sint32 stage)Felix casts Scoop on the east mark at the dead end by the statue, metatile (18, 9): as the dig opens the ground, the mark is dug out.
voidscKibomboMovePillarForPiers (void)Felix uses Move on the stone pillar by Piers in the west of the grounds and pushes it west off its ledge to metatile (6, 18), where it drops with a thump into the place Piers could not reach; Piers then joins the party.
voidscKibomboMeetPiers (void)Felix walks up onto the ledge in the west of the statue's grounds where Piers stands, metatiles (3, 25) to (3, 26): Piers turns, startled, "Wh-Who are you?!?", and asks what the party wants.
voidscKibomboPiersThanksParty (void)Back on the grounds after Piers stayed behind, Felix walks up beside him where he waits at the top of the grounds, metatile (16, 5): Piers thanks the party for coming to help get his orb back, walks over to Felix and joins it again.
voidscKibomboCountAnswer (void)Counts one more weird answer Felix gives (fdScriptCountAnswer).
voidscKibomboCarryBlackCrystal (void)Keeps the Black Crystal above the one who holds it.
voidscKibomboWarriorsBow (void)The eight warriors bow (their sprite sheet's animation 5).
voidscKibomboWarriorsStand (void)The eight warriors stand again.
voidscKibomboEndOffering (void)Ends the offering: the fires stop flickering and, while the crystal is still out, Akafubu chants.
voidscKibomboPiersRefusesToLeave (void)Felix walks off the grounds by the south-west path, metatiles (4, 30) and (5, 30).
voidscKibomboDeadEndByTheStatue (void)The first time Felix comes up the path east of the statue to the dead end, metatiles (21, 14) and (22, 14), before the vent is uncovered: the party stops among the four marks on the ground, "It's a dead end...".
voidscKibomboOverlayFollowsLeader (void)Felix steps onto the ring of metatiles (19, 7) to (21, 10) among the painted poles in the north of the village: from here the village's two masks follow him, covering whatever of him a raised metatile beside him should hide.
voidscKibomboOverlayStopsFollowing (void)Felix steps onto metatile (20, 8) or (20, 9), in the middle of that ring among the painted poles: the masks that hide him behind raised metatiles stop following him.
voidscKibomboCreateBlackCrystal (void)Creates the Black Crystal, drawn with the item's own icon.
voidscKibomboPlaceDoorBlockByHeight (void)Unused: with the leader up high, takes the north-west door's unseen block away and draws its candlestick in front; lower down, puts the block back at the house's door and the candlestick behind.
voidscKibomboFlickerFlame (ACTOR *actor)A flame's update: every ten to twenty ticks it turns to face the other way, at one and a half times its width.
voidscKibomboSpawnFlame (Sint32 x, Sint32 y, Sint32 z)Creates one of the signal fire's flames at x, y, z, flickering by its own timer.
voidscKibomboHideGroundsBlocks (void)Hides the grounds' two unseen blocks as the room opens, the first raised 32 pixels.
voidscKibomboHideInnBlocks (void)Hides the two unseen blocks in the inn's back doorway as the room opens.
voidscKibomboAkafubuCastsOnCrystal (void)Akafubu's Psynergy on the Black Crystal.
voidscKibomboSpinSpark (FIELD_OBJECT *object)A spark's update while Akafubu casts on the crystal: it circles its center at its radius, wobbling in and out, and rises.
voidscKibomboUncoverMarkUnderLeader (void)While Scoop is cast, uncovers the mark the script is scooping.
voidscKibomboLeaveRoom (void)Felix walks off the village or the statue's grounds by one of their ways out on the ceremony night: the village's south edge to the world map, its north and north-west paths up to the statue's grounds, or the grounds' south and south-west paths back down.
voidscKibomboLeaveRoomFading (void)Felix walks into the Gabomba Statue's mouth on the statue's grounds, metatile (16, 19): the screen closes in on him and he goes inside, the fires going still as he leaves.
voidscKibomboEnterDoor (void)Felix walks north into the door of one of the village's six houses: he lines up with it and steps into the dark doorway, the screen fades, and he stands inside the house.
voidscKibomboStepOntoItemShopLadder (void)Felix steps beside the ladder in the item shop's upper room, metatile (43, 22) or (42, 23): he climbs down it only while he presses on toward it, Left or Up.
DEFINE_KIBOMBO_STEP_WHEN_HELD(scKibomboStepOntoAkafubusLadder , 38, 23, 25, 24, 39, 392, 608)As scKibomboStepOntoItemShopLadder, for the ladder down from Akafubu's home to the Sanctum, metatiles (23, 38), (25, 38) and (24, 39): Felix may step onto it from the west, the east or the south.
DEFINE_KIBOMBO_STEP_WHEN_HELD(scKibomboStepOntoTwoBedsLadder , 54, 42, 44, 43, 55, 696, 864)As scKibomboStepOntoAkafubusLadder, for the ladder in the upper room with two beds, metatiles (42, 54), (44, 54) and (43, 55), down to the room of beds below.
voidscKibomboEnterVent (void)Felix walks south into the uncovered vent on the statue's grounds, metatile (23, 17): he climbs down its ladder into the Gabomba Statue.
voidscKibomboGazeAtStatue (void)During the ceremony the screen shows the Great Gabomba's face close up, its fires flickering, for about three seconds or until A, B or Start is held, then goes dark and returns to the grounds.
voidscKibomboStatueFlashes (void)During the ceremony, as the Great Gabomba answers, the screen flashes white with a sound and its face is shown close up with its eyes shut, the fires on it flickering.
voidscKibomboCeremonyStarts (void)The sacred night begins: Akafubu calls on the village to pray for his success, and the party hurries to watch.
voidscKibomboPresentJewelToGabomba (void)Akafubu presents the jewel, the Black Crystal, to the Great Gabomba, and the statue notices its light.
voidscKibomboGabombaNotPleased (void)The Great Gabomba stays silent, and Akafubu asks whether it is still not pleased.
voidscKibomboWitchDoctorFeelsPower (void)Akafubu feels the witch doctor's power fill his body.
voidscKibomboGabombaStillNotPleased (void)Still nothing from the statue: Akafubu asks whether it is still not pleased, and calls for more drums.
voidscKibomboGabombaSeesJewel (void)Akafubu cries that the Great Gabomba has seen the jewel; its eyes swell for a moment, then shake, and the warriors panic.
voidscKibomboGabombaResponds (void)Akafubu cries that the Great Gabomba has responded to the gift; its eyes flash, embers rise from its fire, and the warriors panic.
voidscKibomboGabombaRespondsToGift (void)The Great Gabomba responds to the gift: its tongue reaches for it and its mouth opens and shuts.
voidscKibomboCeremonyEnds (void)After the ceremony, at Akafubu's home: Kraden, Akafubu and his father talk it over, and Kraden walks out with the party.
Sint32scInit (void)Sets up whichever of the overlay's six rooms the party enters.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.
voidscKibomboInitVillageByDay (void)The village by day: the cooking fire burning and smoking, and the signal fire lit.
voidscKibomboInitCeremony (void)The village on the ceremony night: the flame in the square is raised 42 pixels, and when the party starts again before the healer after a defeat with Piers along, he is healed and stays behind.
voidscKibomboInitStatueGrounds (void)The grounds before the statue: the Black Crystal, the marks uncovered, the vent and the pillar Moved for Piers.
voidscKibomboInitStatueGroundsByDay (void)The grounds by day, with the statue's mouth and tongue as the ceremony left them.
voidscKibomboInitStatueGroundsCeremony (void)The grounds on the ceremony night: the fires' colours kept, the mouth as the statue has answered, and the entrances from the Gabomba Statue's rooms playing each step of the offering.
voidscKibomboInitStatueFace (void)Before the statue's face: brought here from the grounds as the Great Gabomba answers, its three flashes; brought here for the close look during the ceremony, the gaze into its fires; otherwise its fires flicker.
voidscKibomboInitHouses (void)The houses: Akafubu at home after the ceremony, or the ceremony's end played, and the man with the aching back lying where he fell.
voidscKibomboJumpForward (void)Felix walks west off the ledge by the inn in the south east of the village, metatile (25, 27), and jumps across onto the top of the nearest painted pole; standing on top of the pole at metatile (19, 8), among the poles in the north of the village, and walking north, he jumps onto the top of the next pole north.

Variables

NameDescription
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 Uint32KibomboKradenMeetsPiersScript []
extern Uint32KibomboJennaMeetsPiersScript []
extern Sint32KibomboShebaMeetsPiersScript []
extern Uint32KibomboPartyGathersScript []
extern Sint32KibomboEyesShakeScript []
extern Sint32KibomboEyesPopScript []
extern Sint16KibomboFrozenPuddle []The puddle Frost freezes into a pillar, and the flag set while it stands.
extern SCENE_REGIONKibomboHousesExitRegions []
extern Uint32KibomboLeaderStepsUpScript []
extern Uint32KibomboPiersStepsUpScript []
extern Uint32KibomboKradenJoinsPiersScript []
extern Uint32KibomboJennaJoinsPiersScript []
extern Uint32KibomboShebaJoinsPiersScript []
extern Uint32KibomboPartyFollowsScript []
extern Uint32KibomboJennaAtDeadEndScript []
extern Uint32KibomboShebaAtDeadEndScript []
extern Uint32KibomboKradenAtDeadEndScript []
extern Uint32KibomboPiersAtDeadEndScript []
extern Uint32KibomboPartyLeavesDeadEndScript []
extern Uint32KibomboEmberScript []
extern Sint32KibomboWarriorsDanceScript []
Uint8KibomboUnusedBeforeFireColors [4]Unused: nothing reads these bytes.
Sint16KibomboFireColors [4]The room's fire colours as it opens (KIBOMBO_FIRE_COLOR), which its flicker brightens and dims.
extern ACTOR_PLACEKibomboVillageActorPlacements []
extern ACTOR_PLACEKibomboCeremonyActorPlacements []
extern ACTOR_PLACEKibomboStatueGroundsActorPlacements []
extern ACTOR_PLACEKibomboStatueGroundsCeremonyActorPlacements []
extern ACTOR_PLACEKibomboHousesActorPlacements []
extern ACTOR_PLACEKibomboActorPlacements []
extern CUEKibomboVillageCues []
extern CUEKibomboCeremonyCues []
extern CUEKibomboStatueGroundsCues []
extern CUEKibomboStatueGroundsCeremonyCues []
extern CUEKibomboHousesCues []
extern CUEKibomboCues []
Uint32SceneExits []The room has no exits of its own.

Description

Kibombo, the warriors' village below the Gabomba Statue, in the six rooms of this overlay: the village, its houses, shops, inn and Sanctum (scKibomboOpenWeaponShop, scKibomboOpenInn), and the grounds before the statue, each by day and on the ceremony night.

The party arrives on the night of the ceremony. The crowd fills the way north, so it ties the rope in the village's south west corner with Lash and jumps along the painted poles (scKibomboJumpForward) to the grounds. There Akafubu offers the Black Crystal, the jewel Piers calls his black orb, to the Great Gabomba (scKibomboCeremonyStarts to scKibomboCeremonyEnds), and Piers, come to take his orb back, joins the party once Move drops a pillar for him (scKibomboPiersJoinsParty). The path east of the statue ends at four marks on the ground; digging them shows the party that the patch it passed covers a vent into the statue (scKibomboDeadEndByTheStatue, scKibomboScoopVent). The villagers' talk changes once Akafubu is the witch doctor (scKibomboTalkPathToPeace).

Macros in detail

BG_PLTT_INDEX

#define BG_PLTT_INDEX(palette, color) ((palette) * PALETTE_COLORS + (color))

A background colour's place in BG_PLTT: colour color of 16-colour palette palette, as the fires' flicker indexes the colours it sets.

Definition at line 101 of file kibombo.c.

FLAG_KIBOMBO_DEAD_END_SEEN

#define FLAG_KIBOMBO_DEAD_END_SEEN 0x8f5

Set once the party has found the dead end by the statue and turned back (scKibomboDeadEndByTheStatue).

Referenced by KibomboStatueGroundsCeremonyCues and scKibomboDeadEndByTheStatue().

Definition at line 123 of file kibombo.c.

FLAG_KIBOMBO_PIERS_WITH_PARTY

#define FLAG_KIBOMBO_PIERS_WITH_PARTY 0x92e

Set while Piers goes about Kibombo with the party: as he joins it, and as he thanks it; cleared when he stays behind.

Referenced by KibomboStatueGroundsCeremonyCues, scKibomboInitCeremony(), scKibomboInitStatueGroundsCeremony(), scKibomboPiersJoinsParty(), scKibomboPiersRefusesToLeave() and scKibomboPiersThanksParty().

Definition at line 126 of file kibombo.c.

FLAG_KIBOMBO_PIERS_STAYED_BEHIND

#define FLAG_KIBOMBO_PIERS_STAYED_BEHIND 0x92f

Set once Piers has refused to leave the village without the orb and stayed behind (scKibomboPiersRefusesToLeave).

Referenced by KibomboStatueGroundsCeremonyCues, scKibomboInitCeremony(), scKibomboInitStatueGroundsCeremony(), scKibomboPiersRefusesToLeave() and scKibomboPiersThanksParty().

Definition at line 129 of file kibombo.c.

FLAG_KIBOMBO_VENT_UNCOVERED

#define FLAG_KIBOMBO_VENT_UNCOVERED 0x86a

Story flags: the vent Scoop uncovers by the statue, the pillar Moved for Piers, the ceremony begun and Piers joined.

Referenced by KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, scKibomboDeadEndByTheStatue(), scKibomboInitStatueGrounds() and scKibomboUncoverVent().

Definition at line 133 of file kibombo.c.

FLAG_KIBOMBO_PILLAR_MOVED_FOR_PIERS

#define FLAG_KIBOMBO_PILLAR_MOVED_FOR_PIERS 0x9ea

Referenced by KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, scKibomboInitStatueGrounds() and scKibomboMovePillarForPiers().

Definition at line 134 of file kibombo.c.

FLAG_KIBOMBO_CEREMONY_BEGUN

#define FLAG_KIBOMBO_CEREMONY_BEGUN 0x8f1

Referenced by scKibomboCeremonyStarts() and scKibomboInitStatueGroundsCeremony().

Definition at line 135 of file kibombo.c.

FLAG_PIERS_JOINED

#define FLAG_PIERS_JOINED 0x8f4

Referenced by scKibomboMovePillarForPiers() and scKibomboPiersJoinsParty().

Definition at line 136 of file kibombo.c.

FLAG_HEARD_OF_THE_FOREIGN_CEREMONY

#define FLAG_HEARD_OF_THE_FOREIGN_CEREMONY 0x9df

Set once the party has heard of the foreign ceremony.

Referenced by scKibomboTalkForeignCeremony().

Definition at line 138 of file kibombo.c.

FLAG_KIBOMBO_VILLAGE_ROPE_TIED

#define FLAG_KIBOMBO_VILLAGE_ROPE_TIED 0x9e9

Set once Lash has tied the village's rope across.

Referenced by KibomboCeremonyCues, KibomboVillageCues and scKibomboInitVillage().

Definition at line 140 of file kibombo.c.

FLAG_SAW_THE_GROUNDS_CEREMONY

#define FLAG_SAW_THE_GROUNDS_CEREMONY 0x869

Set once the party has been to the statue's grounds on the ceremony night.

Referenced by scKibomboInitStatueGrounds() and scKibomboInitStatueGroundsCeremony().

Definition at line 142 of file kibombo.c.

FLAG_KIBOMBO_LEFT_HOME_OF_AKAFUBU

#define FLAG_KIBOMBO_LEFT_HOME_OF_AKAFUBU 0x8ee

Set as the party climbs down the ladder from Akafubu's home: he stands apart, turns to whoever talks to him and speaks, as his father does, of the days after the ceremony.

Referenced by KibomboHousesCues, scGetActorPlacements() and scKibomboInitHouses().

Definition at line 146 of file kibombo.c.

FLAG_NORTH_MARK_UNCOVERED

#define FLAG_NORTH_MARK_UNCOVERED FLAG_SCENE_TEMP(0x04)

For this visit: each of the four marks at the dead end by the statue uncovered, and the one Scoop is uncovering.

Referenced by KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, scKibomboInitStatueGrounds() and scKibomboUncoverNorthMark().

Definition at line 149 of file kibombo.c.

FLAG_SOUTH_MARK_UNCOVERED

#define FLAG_SOUTH_MARK_UNCOVERED FLAG_SCENE_TEMP(0x05)

Referenced by KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, scKibomboInitStatueGrounds() and scKibomboUncoverSouthMark().

Definition at line 150 of file kibombo.c.

FLAG_WEST_MARK_UNCOVERED

#define FLAG_WEST_MARK_UNCOVERED FLAG_SCENE_TEMP(0x06)

Referenced by KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, scKibomboInitStatueGrounds() and scKibomboUncoverWestMark().

Definition at line 151 of file kibombo.c.

FLAG_EAST_MARK_UNCOVERED

#define FLAG_EAST_MARK_UNCOVERED FLAG_SCENE_TEMP(0x07)

Referenced by KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, scKibomboInitStatueGrounds() and scKibomboUncoverEastMark().

Definition at line 152 of file kibombo.c.

FLAG_SCOOPING_NORTH_MARK

#define FLAG_SCOOPING_NORTH_MARK FLAG_SCENE_TEMP(0x20)

Referenced by scKibomboDeadEndByTheStatue() and scKibomboUncoverMarkUnderLeader().

Definition at line 153 of file kibombo.c.

FLAG_SCOOPING_SOUTH_MARK

#define FLAG_SCOOPING_SOUTH_MARK FLAG_SCENE_TEMP(0x21)

Referenced by scKibomboDeadEndByTheStatue() and scKibomboUncoverMarkUnderLeader().

Definition at line 154 of file kibombo.c.

FLAG_SCOOPING_WEST_MARK

#define FLAG_SCOOPING_WEST_MARK FLAG_SCENE_TEMP(0x22)

Referenced by scKibomboDeadEndByTheStatue() and scKibomboUncoverMarkUnderLeader().

Definition at line 155 of file kibombo.c.

FLAG_SCOOPING_EAST_MARK

#define FLAG_SCOOPING_EAST_MARK FLAG_SCENE_TEMP(0x23)

Referenced by scKibomboDeadEndByTheStatue() and scKibomboUncoverMarkUnderLeader().

Definition at line 156 of file kibombo.c.

FLAG_KIBOMBO_BLOCKS_SHOWN

#define FLAG_KIBOMBO_BLOCKS_SHOWN FLAG_SCENE_TEMP(0x00)

For this visit: the room's unseen blocks drawn (scKibomboRestoreBlocks).

Referenced by scKibomboHideBlocks(), scKibomboRestoreBlocks() and scKibomboShowBlocks().

Definition at line 158 of file kibombo.c.

FLAG_KIBOMBO_PUDDLE_FROZEN

#define FLAG_KIBOMBO_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x01)

For this visit: the puddle frozen into a pillar (KibomboFrozenPuddle). On the grounds by day it is set until the ceremony night has been seen, so Frost leaves the puddle alone.

Referenced by KibomboCeremonyCues, KibomboFrozenPuddle, KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, KibomboVillageCues and scKibomboInitStatueGrounds().

Definition at line 162 of file kibombo.c.

FLAG_KIBOMBO_FIRES_FLICKER

#define FLAG_KIBOMBO_FIRES_FLICKER FLAG_SCENE_TEMP(0x02)

For this visit: the room's fires flicker, and a way out stops them.

Referenced by scKibomboEnterDoor(), scKibomboEnterVent(), scKibomboInitCeremony(), scKibomboInitStatueFace(), scKibomboInitStatueGroundsCeremony() and scKibomboLeaveRoom().

Definition at line 164 of file kibombo.c.

FLAG_KIBOMBO_DOORS_SHUT

#define FLAG_KIBOMBO_DOORS_SHUT FLAG_SCENE_TEMP(0x09)

For this visit: the village's doors are shut on the ceremony night.

Referenced by KibomboCeremonyCues and scKibomboInitCeremony().

Definition at line 166 of file kibombo.c.

DEFINE_KIBOMBO_FLICKER_FIRES

#define DEFINE_KIBOMBO_FLICKER_FIRES(name,

Defines a tick event in which, every eighth tick outside menus and Psynergy, the fires' four colours flicker: the first by up to 5 either way, the others by a random amount below their range less their bias, the fourth through flickerFourth.

Definition at line 2205 of file kibombo.c.

DEFINE_KIBOMBO_SET_WARRIORS_ANIMATION

#define DEFINE_KIBOMBO_SET_WARRIORS_ANIMATION(name, animation)

Gives the eight warriors, west to east, one animation.

Definition at line 2516 of file kibombo.c.

CHANT_SPARKS

#define CHANT_SPARKS 16

The sparks that circle Akafubu as he chants, 22 degrees apart.

Referenced by scKibomboAkafubuChants().

Definition at line 2662 of file kibombo.c.

DEFINE_KIBOMBO_STEP_WHEN_HELD

#define DEFINE_KIBOMBO_STEP_WHEN_HELD(

Defines a step cue by a ladder: Felix climbs down to (ladderX, ladderZ) only if he steps on from the west metatile (westX, sideZ) holding right, the east metatile (eastX, sideZ) holding left, or the south metatile (southX, southZ) holding up.

Definition at line 2968 of file kibombo.c.

Enumerations in detail

KIBOMBO_FIRE_COLOR

enum KIBOMBO_FIRE_COLOR

The fires' colours in the background palettes, which each room keeps in KibomboFireColors as it opens and its flicker event brightens and dims: four in the night village, four on the night grounds, the first the same, and three before the statue's face.

EnumeratorValueDescription
FIRE_COLOR_FIRSTBG_PLTT_INDEX(0, 9)
VILLAGE_FIRE_COLOR_SECONDBG_PLTT_INDEX(5, 7)
VILLAGE_FIRE_COLOR_THIRDBG_PLTT_INDEX(6, 7)
VILLAGE_FIRE_COLOR_FOURTHBG_PLTT_INDEX(7, 7)
GROUNDS_FIRE_COLOR_SECONDBG_PLTT_INDEX(0, 7)
GROUNDS_FIRE_COLOR_THIRDBG_PLTT_INDEX(0, 6)
GROUNDS_FIRE_COLOR_FOURTHBG_PLTT_INDEX(4, 12)
STATUE_FIRE_COLOR_FIRSTBG_PLTT_INDEX(10, 9)
STATUE_FIRE_COLOR_SECONDBG_PLTT_INDEX(10, 7)
STATUE_FIRE_COLOR_THIRDBG_PLTT_INDEX(10, 6)

Definition at line 107 of file kibombo.c.

anonymous enum

enum { ACTOR_PUDDLE }

The puddle Frost freezes, the first row of the village's and the grounds' placements.

EnumeratorValueDescription
ACTOR_PUDDLEACTOR_FIRST_PLACED

Definition at line 170 of file kibombo.c.

KIBOMBO_STATUE_GROUNDS_ACTOR_ID

enum KIBOMBO_STATUE_GROUNDS_ACTOR_ID

The grounds before the statue (SceneIdKibomboStatueGrounds and, on the ceremony night, SceneIdKibomboStatueGroundsCeremony), numbering the rows of their placements; the night's rows place the warriors and Akafubu's party after them, and Kraden after those.

EnumeratorValueDescription
ACTOR_GROUNDS_PILLAR11The stone pillar Move pushes for Piers (scKibomboMovePillarForPiers).
ACTOR_STATUE_LEFT_EYE12The Great Gabomba's two eyes, which light up as its mouth opens (scKibomboSetStatueMouth), and its tongue (scKibomboSetStatueTongue).
ACTOR_STATUE_RIGHT_EYE13
ACTOR_STATUE_TONGUE14
ACTOR_GROUNDS_FIRST_BLOCK15Two unseen blocks
ACTOR_GROUNDS_SECOND_BLOCK16(SPRITE_UNSEEN_BLOCK, black squares drawn transparent), hidden as the room opens (scKibomboHideGroundsBlocks).
ACTOR_AKAFUBU17On the ceremony night: Akafubu on the platform, "Let us now present our jewel to the Great Gabomba!", and the eight warriors in an arc at the foot of its steps, counted from the west end at (218, 420) round to the east end at (312, 406); the fourth stands right below him.
ACTOR_WARRIOR_FIRST_FROM_WEST18
ACTOR_WARRIOR_SECOND_FROM_WEST19
ACTOR_WARRIOR_THIRD_FROM_WEST20
ACTOR_WARRIOR_FOURTH_FROM_WEST21
ACTOR_WARRIOR_FIFTH_FROM_WEST22
ACTOR_WARRIOR_SIXTH_FROM_WEST23
ACTOR_WARRIOR_SEVENTH_FROM_WEST24
ACTOR_WARRIOR_EIGHTH_FROM_WEST25
ACTOR_KRADEN26
ACTOR_CRYSTAL_MARKER27An unseen marker the Black Crystal rides on as Akafubu raises it (scKibomboCarryBlackCrystal); Piers's, Jenna's and Sheba's rows take their own numbers, so it follows Kraden.

Definition at line 179 of file kibombo.c.

STATUE_TONGUE_POSE

enum STATUE_TONGUE_POSE

The poses scKibomboSetStatueTongue gives the Great Gabomba's tongue, each in the sprite sheet's daylight colours or those it wears by the ceremony night's firelight. Out, it hangs from the mouth to the drums; to the ground, 34 pixels lower, as the statue leaves it once it has answered.

EnumeratorValueDescription
STATUE_TONGUE_IN_MOUTHno tongue but the map's, inside the mouth
STATUE_TONGUE_UNROLLING_BY_DAYUnused: no call unrolls the tongue
STATUE_TONGUE_OUT_BY_DAYthrough scKibomboSetStatueTongue.
STATUE_TONGUE_UNROLLING_BY_FIRELIGHTUnused: no call unrolls the tongue through scKibomboSetStatueTongue.
STATUE_TONGUE_OUT_BY_FIRELIGHT
STATUE_TONGUE_TO_THE_GROUND_BY_DAY
STATUE_TONGUE_TO_THE_GROUND_BY_FIRELIGHT

Definition at line 219 of file kibombo.c.

anonymous enum

enum { ACTOR_WEST_CANDLESTICK, ACTOR_EAST_CANDLESTICK, ACTOR_FLAME, ACTOR_ROPE_LOWER_POST, … }

The village by day and on the ceremony night: after the puddle, the two candlesticks either side of the north-east house's door, the flame (by day the cooking fire's, at night burning on the totem pole in the square) and the rope's two posts, on the ground below the ledge and on top of it. By day a woman remarks on the warriors, two warriors keep the gate and the signal fire burns; at night villagers crowd the square, an unseen block stands in the north-west house's door and a candlestick burns by each of the six houses' doors (entrances 3 to 8, named by the house's place in the village).

EnumeratorValueDescription
ACTOR_WEST_CANDLESTICK9
ACTOR_EAST_CANDLESTICK
ACTOR_FLAME
ACTOR_ROPE_LOWER_POST
ACTOR_ROPE_UPPER_POST
ACTOR_CHILD_GLAD_OF_THE_CALMBy day, the villagers, each named for
ACTOR_WOMAN_NOTING_FEWER_WARRIORSwhat they say: a small child, "Akafubu has finally completed his ceremony...", and the woman, "It looks like there are fewer warriors in Kibombo now, huh?"
ACTOR_MAN_ON_THE_OPEN_MOUTH"The Great Gabomba's mouth will remain open until Akafubu has earned the gift of the Gabomba."
ACTOR_WOMAN_MISSING_THE_CEREMONY"Now that the ceremony is over, I feel a touch depressed."
ACTOR_OLD_MAN_PUZZLED_BY_INDRA"I couldn't for the life of me figure out how our warriors got to Indra without a boat."
ACTOR_OLD_WOMAN_SMELLING_MEAT"Oh... I smell something delectable."
ACTOR_BOY_WHO_LOVES_MEAT"Good ol' meat... I love meat."
ACTOR_GIRL_TIRED_OF_MONSTERS"We get to eat normal animals again!"
ACTOR_WEST_GATE_GUARD22
ACTOR_EAST_GATE_GUARD
ACTOR_SIGNAL_FIRE25
ACTOR_DOOR_BLOCK29
ACTOR_CANDLESTICK_AT_NORTHWEST_DOOR
ACTOR_CANDLESTICK_AT_NORTHEAST_DOOR
ACTOR_CANDLESTICK_AT_EAST_DOOR
ACTOR_CANDLESTICK_AT_WEST_DOOR
ACTOR_CANDLESTICK_AT_SOUTHWEST_DOOR
ACTOR_CANDLESTICK_AT_SOUTHEAST_DOOR

Definition at line 240 of file kibombo.c.

anonymous enum

enum { ACTOR_AKAFUBU_AT_HOME, ACTOR_FATHER_OF_AKAFUBU, ACTOR_KRADEN_AT_HOME, ACTOR_CHILD_ON_THE_EASTERN_SEA, … }

The houses, inn and shops (SceneIdKibomboHouses).

EnumeratorValueDescription
ACTOR_AKAFUBU_AT_HOME8Akafubu at home after the ceremony: "I'm going to be the one to get the Great Gabomba's magic! You'll see!"
ACTOR_FATHER_OF_AKAFUBU9"My son has been so kind and
ACTOR_KRADEN_AT_HOME10compassionate since the ceremony."
ACTOR_CHILD_ON_THE_EASTERN_SEA11The other villagers at home, each named for what they say: "I have heard that if you head west from southern Gondowan, you'll see the Eastern Sea."
ACTOR_WOMAN_ASKING_ABOUT_THE_WEST"Are you going to head to western Gondowan?"
ACTOR_BOY_WHO_HEARD_OF_ATTEKA"You can see Atteka from the bridge in western Gondowan."
ACTOR_MAN_ON_TREASURE_WEST"If you are looking for treasure, look west of the river."
ACTOR_WOMAN_ON_THE_TREASURE_HUNTS"Each year, when the rains stop, our warriors look for treasure in the belly of the continent."
ACTOR_MAN_WITH_ACHING_BACKThe old man lying in bed, his back aching since the ceremony.
ACTOR_OLD_WOMAN_ON_A_NICER_AKAFUBU"As soon as Akafubu became our recognized witch doctor, he became so much nicer."
ACTOR_WARRIOR_NOT_TO_BE_FEAREDTwo warriors at home: "Many in Gondowan fear the might of the Kibombo warriors." and "We think it is time to inform other villages..."
ACTOR_WARRIOR_TO_TELL_THE_VILLAGES
ACTOR_WEAPON_SHOPKEEPER
ACTOR_ARMOR_SHOPKEEPER
ACTOR_ITEM_SHOPKEEPER
ACTOR_INNKEEPER
ACTOR_INN_WORKER"I can't remember how long it's been since
ACTOR_HEALERwe've had any guests."
ACTOR_INN_FIRST_BLOCKTwo unseen blocks in the inn's back doorway,
ACTOR_INN_SECOND_BLOCKhidden as the room opens (scKibomboHideInnBlocks).
ACTOR_ACHING_BACK_BEDSIDEAn unseen marker on the bed where the man with the aching back lies, which answers for him from that side.

Definition at line 278 of file kibombo.c.

anonymous enum

enum { ACTOR_SIGNAL_FIRE_KEEPER }

The village by day: "This is a signal fire. We use these to send messages to neighboring..."

EnumeratorValueDescription
ACTOR_SIGNAL_FIRE_KEEPER24

Definition at line 327 of file kibombo.c.

anonymous enum

enum { ACTOR_MAN_WHO_SAW_THE_JEWEL_FLOAT, ACTOR_MAN_SURE_OF_AKAFUBU, ACTOR_OLD_MAN_RECALLING_OEIA, ACTOR_WOMAN_DOUBTING_THE_JEWEL, … }

The village on the ceremony night: the crowd in the square, each named for what they say before Akafubu has asked the party's help; some move or leave once he has. Last, the healer who talks of the foreign ceremony.

EnumeratorValueDescription
ACTOR_MAN_WHO_SAW_THE_JEWEL_FLOAT14"During the last ceremony, Akafubu made the jewel float in the air..."
ACTOR_MAN_SURE_OF_AKAFUBU"Akafubu looks really confident tonight."
ACTOR_OLD_MAN_RECALLING_OEIA"Akafubu is attempting the ceremony again tonight. Oeia performed the same..."
ACTOR_WOMAN_DOUBTING_THE_JEWEL"Is making the jewel float with the power of his mind all there is to it?"
ACTOR_WOMAN_RECALLING_HIS_FAILURES"Akafubu has tried this before, but he has always failed."
ACTOR_OLD_WOMAN_ON_THE_JEWEL"Akafubu blames his failures on the jewel he originally used."
ACTOR_BOY_KEPT_AWAKE"Akafubu's ceremony is set to
ACTOR_GIRL_WHO_HOPESbegin soon."
ACTOR_WOMAN_WARNING_OF_ANGER"When the Gabomba is angered, his eyes glow with rage and fire shoots out of his mouth."
ACTOR_OLD_MAN_ON_THE_OFFICE"He who is the witch doctor of Kibombo holds the most revered office in our whole town."
ACTOR_OLD_WOMAN_WATCHING_THE_MOUTH"If the Great Gabomba's mouth doesn't open, Akafubu must not yet be a true witch doctor."
ACTOR_MAN_WHO_KNOWS_THE_SIGN"If the Great Gabomba likes the jewel, his mouth will open and his tongue will stick out."
ACTOR_WOMAN_NO_PUSHING26
ACTOR_AFRAID_MAN
ACTOR_MAN_WHO_KNEW_OEIA
ACTOR_HEALER_ON_THE_CEREMONY36

Definition at line 335 of file kibombo.c.

anonymous enum

enum { ENTRANCE_CEREMONY_AFTER_DEFEAT }

The village on the ceremony night: where the party starts again, before the healer, after a defeat (SceneReturnRules).

EnumeratorValueDescription
ENTRANCE_CEREMONY_AFTER_DEFEAT19

Definition at line 375 of file kibombo.c.

KIBOMBO_METATILE_BEHAVIOR

enum KIBOMBO_METATILE_BEHAVIOR

The rooms' own metatile behaviours; where a metatile leads out of a room its behaviour is the exit's number, named in scene_exits.h.

EnumeratorValueDescription
METATILE_BEHAVIOR_MIDDLE_OF_POLE_RING15The village: the ring of
METATILE_BEHAVIOR_POLE_RINGmetatiles (19, 7) to (21, 10) among the painted poles in its north, and the two metatiles inside it, (20, 8) and (20, 9).
METATILE_BEHAVIOR_JUMP_NORTH_AMONG_POLES20The village: the jump
METATILE_BEHAVIOR_JUMP_WEST_BY_PUDDLEnorth from metatile (19, 8) among the poles, and by day the jump west from the ledge by the puddle, metatile (25, 27).
METATILE_BEHAVIOR_VENT_PATCH10The statue's grounds: the patch over the vent, metatile (23, 18), and the four marks at the dead end, north (16, 7), south (16, 11), west (14, 9) and east (18, 9).
METATILE_BEHAVIOR_NORTH_MARK
METATILE_BEHAVIOR_SOUTH_MARK
METATILE_BEHAVIOR_WEST_MARK
METATILE_BEHAVIOR_EAST_MARK
METATILE_BEHAVIOR_BY_PIERS20The grounds on the ceremony night: the ledge where Piers stands, metatiles (3, 25) to (3, 26); the way up to the dead end, (21, 14) and (22, 14); and the top of the grounds beside Piers once he has stayed behind, (16, 5).
METATILE_BEHAVIOR_WAY_TO_DEAD_END
METATILE_BEHAVIOR_BY_PIERS_WAITING
METATILE_BEHAVIOR_ITEM_SHOP_LADDER7The houses: the metatiles beside the three ladders down, each the number of the exit it leads by: in the item shop's upper room, from Akafubu's home to the Sanctum, and in the upper room with two beds.
METATILE_BEHAVIOR_AKAFUBUS_LADDER9
METATILE_BEHAVIOR_TWO_BEDS_LADDER13
METATILE_BEHAVIOR_SANCTUM_COUNTER24The Sanctum: the counter before the healer, metatile (23, 22).

Definition at line 382 of file kibombo.c.

anonymous enum

enum { SHOP_KIBOMBO_WEAPONS, SHOP_KIBOMBO_ARMOR, SHOP_KIBOMBO_ITEMS }

Kibombo's shops, as mnShopRun numbers them.

EnumeratorValueDescription
SHOP_KIBOMBO_WEAPONS17
SHOP_KIBOMBO_ARMOR18
SHOP_KIBOMBO_ITEMS19

Definition at line 612 of file kibombo.c.

anonymous enum

enum { INN_ID_KIBOMBO }

Kibombo's inn, as mnInnCheckIn numbers the inns.

EnumeratorValueDescription
INN_ID_KIBOMBO6

Definition at line 620 of file kibombo.c.

anonymous enum

enum { SPARK_SWELLING, SPARK_LAST_TURN, SPARK_RISING, SPARK_SPREADING, … }

The stages of a spark that circles Akafubu as he chants.

EnumeratorValueDescription
SPARK_SWELLINGspins as it grows to one and a half times its size
SPARK_LAST_TURNspins once more, then shimmers
SPARK_RISINGrises 4 pixels a tick
SPARK_SPREADINGits circle widens to 40 pixels
SPARK_HOLDINGcircles for 10 ticks
SPARK_CLOSINGits circle narrows to nothing as it rises a little more
SPARK_SHRINKINGspins as it shrinks away
SPARK_GONEreleased

Definition at line 2545 of file kibombo.c.

anonymous enum

enum { ENTRANCE_STATUE_REACHING, ENTRANCE_STATUE_TONGUE_OUT, ENTRANCE_STATUE_OPEN, ENTRANCE_STATUE_SHUT }

Entrances of the grounds no exit leads to and no map lists, each showing the statue at a stage of the ceremony: its mouth shut, then open with its eyes lit, its tongue out, and its tongue reaching for the gift.

EnumeratorValueDescription
ENTRANCE_STATUE_REACHING96
ENTRANCE_STATUE_TONGUE_OUT97
ENTRANCE_STATUE_OPEN98
ENTRANCE_STATUE_SHUT99

Definition at line 4029 of file kibombo.c.

anonymous enum

enum { KIBOMBO_HOUSES_NORTHWEST_BACK_DOOR, KIBOMBO_HOUSES_ACHING_BACK_ROOM_DOOR, KIBOMBO_HOUSES_ITEM_SHOP_LADDER_TOP, KIBOMBO_HOUSES_AKAFUBUS_LADDER_TOP, … }

The houses' own ways between their rooms, each the number of both the exit and the entrance at that spot: the north-west house's back door and the doorway of the room where the man with the aching back lies; the south-west house's back door and the doorway of the room of beds; and the top and foot of the three ladders, from the item shop's upper room, from Akafubu's home down to the Sanctum, and from the upper room with two beds.

EnumeratorValueDescription
KIBOMBO_HOUSES_NORTHWEST_BACK_DOOR2
KIBOMBO_HOUSES_ACHING_BACK_ROOM_DOOR3
KIBOMBO_HOUSES_ITEM_SHOP_LADDER_TOP7
KIBOMBO_HOUSES_AKAFUBUS_LADDER_TOP9
KIBOMBO_HOUSES_SOUTHWEST_BACK_DOOR11
KIBOMBO_HOUSES_ROOM_OF_BEDS_DOOR12
KIBOMBO_HOUSES_TWO_BEDS_LADDER_TOP13
KIBOMBO_HOUSES_AKAFUBUS_LADDER_FOOT14
KIBOMBO_HOUSES_ITEM_SHOP_LADDER_FOOT15
KIBOMBO_HOUSES_TWO_BEDS_LADDER_FOOT16

Definition at line 4238 of file kibombo.c.

Functions in detail

scKibomboInitVillage

void scKibomboInitVillage(void)

The village by day or night: the two candlesticks by the north-east house's door, the blank overlay the ring among the poles hands to Felix (scKibomboOverlayFollowsLeader), the puddle as Frost left it, the rope as Lash left it, and the two gate guards made to stop short of others.

References fdActorGetById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdEffectStartBlankOverlay(), fdFlagBlockPlaceAll(), fdRopeInit(), fdRopePlace() and KibomboFrozenPuddle.

Referenced by scKibomboInitCeremony() and scKibomboInitVillageByDay().

Definition at lines 39 and 3873 of file kibombo.c.

scKibomboClampColor

Sint32 scKibomboClampColor(Sint32 value)

Clamps a colour channel to 0 to RGB_LEVEL_MAX.

References Sint32.

Referenced by scKibomboFlickerColor() and scKibomboFlickerRedColor().

Definition at lines 40 and 2143 of file kibombo.c.

scKibomboFlashSprite

void scKibomboFlashSprite(ACTOR *actor)

An actor's update: flashes its sprite red and back every two ticks.

References fdActorSetSpriteColor() and TickCount.

Referenced by scKibomboGabombaResponds().

Definition at lines 41 and 460 of file kibombo.c.

scKibomboUncoverNorthMark

void scKibomboUncoverNorthMark(void)

Uncovers the north one of the four marks at the dead end by the statue, metatile (16, 7), as Scoop does.

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatileTilesIndicesRect() and syGameFlagSet().

Referenced by scKibomboInitStatueGrounds(), scKibomboScoopNorthMark() and scKibomboUncoverMarkUnderLeader().

Definition at lines 42 and 842 of file kibombo.c.

scKibomboUncoverSouthMark

void scKibomboUncoverSouthMark(void)

Uncovers the south mark, metatile (16, 11).

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatileTilesIndicesRect() and syGameFlagSet().

Referenced by scKibomboInitStatueGrounds(), scKibomboScoopSouthMark() and scKibomboUncoverMarkUnderLeader().

Definition at lines 43 and 859 of file kibombo.c.

scKibomboUncoverWestMark

void scKibomboUncoverWestMark(void)

Uncovers the west mark, metatile (14, 9).

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatileTilesIndicesRect() and syGameFlagSet().

Referenced by scKibomboInitStatueGrounds(), scKibomboScoopWestMark() and scKibomboUncoverMarkUnderLeader().

Definition at lines 44 and 876 of file kibombo.c.

scKibomboUncoverEastMark

void scKibomboUncoverEastMark(void)

Uncovers the east mark, metatile (18, 9).

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatileTilesIndicesRect() and syGameFlagSet().

Referenced by scKibomboInitStatueGrounds(), scKibomboScoopEastMark() and scKibomboUncoverMarkUnderLeader().

Definition at lines 45 and 892 of file kibombo.c.

scKibomboPiersHasForgottenParty

void scKibomboPiersHasForgottenParty(void)

Piers does not know the party who sought him in Madra's jail: Sheba wonders whether he has already forgotten them, Jenna answers, and Piers remembers the travelers, then asks when he ever asked for their help.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorJump(), fdActorSetAnimationById(), fdActorShowEmoteById(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), MainRoutineStateWork, scFieldActorShowEmote() and Sint32.

Referenced by scKibomboMeetPiers().

Definition at lines 46 and 989 of file kibombo.c.

scKibomboPiersTakesPartyForEnemies

void scKibomboPiersTakesPartyForEnemies(void)

Piers, who has never met the party, takes it for the Kibombo's: Sheba and Jenna tell him otherwise, of the tidal wave and of the boat they seek, and he finds it hard to believe.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorJump(), fdActorSetAnimationById(), fdActorShowEmoteById(), fdEffectSetAttached(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptWait(), MainRoutineStateWork, scFieldActorShowEmote() and Sint32.

Referenced by scKibomboMeetPiers().

Definition at lines 47 and 1061 of file kibombo.c.

scKibomboAkafubuOffersCrystal

void scKibomboAkafubuOffersCrystal(void)

Akafubu silences the crowd and raises the Black Crystal before the Great Gabomba, whose mouth opens and shuts again; the crowd bows to pray harder. Piers sees that Akafubu is an Adept but cannot reach him, and Kraden asks Felix to help Piers past the stump; a refusal counts as a weird answer.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorGetById(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetAttachedEffect(), fdActorSetPosAndResetMotion(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorShowEmoteById(), fdActorWaitForMoveById(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdActorWalkToById(), fdCameraWaitForArrival(), fdEffectSetAttached(), fdScriptAskYesNoWithActorAnimation(), fdScriptOpenMessage(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptWait(), MainRoutineStateWork, scFieldSetTickEvent(), scKibomboAkafubuCastsOnCrystal(), scKibomboCarryBlackCrystal(), scKibomboCountAnswer(), scKibomboEndOffering(), scKibomboFlickerCeremonyFires(), scKibomboSetStatueMouth(), scKibomboWarriorsBow(), scKibomboWarriorsStand(), syCloseEvent(), sySetEvent(), sySoundPlay() and sySynch().

Referenced by scKibomboMeetPiers().

Definition at lines 48 and 1161 of file kibombo.c.

scKibomboPiersJoinsParty

void scKibomboPiersJoinsParty(void)

Piers, who saw the party's Psynergy, tells them he too is an Adept, from Lemuria in the middle of the Eastern Sea, and joins the party with his Djinn; Felix's answers to Kraden choose the lines that follow.

References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetAttachedEffect(), fdActorSetMovementTypeAndWaitById(), fdActorSetMovementTypeById(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStop(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdActorWatchAndSetScript(), fdCameraGetActor(), fdCameraWaitForArrival(), fdEffectSetAttached(), fdScriptAddPartyMember(), fdScriptAskYesNo(), fdScriptAskYesNoWithActorAnimation(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptWait(), gmPartyGivePiersDjinn(), KibomboJennaJoinsPiersScript, KibomboKradenJoinsPiersScript, KibomboLeaderStepsUpScript, KibomboPartyFollowsScript, KibomboPiersStepsUpScript, KibomboShebaJoinsPiersScript, MainRoutineStateWork, scKibomboCountAnswer(), syGameFlagSet() and sySynch().

Referenced by scKibomboMovePillarForPiers().

Definition at lines 49 and 1366 of file kibombo.c.

scKibomboFlickerColor

void scKibomboFlickerColor(Sint32 index, Sint32 entry, Sint32 delta)

Sets a palette colour from its fire colour, brightened by delta (half for green, a quarter for blue).

References KibomboFireColors, scKibomboClampColor() and Sint32.

Referenced by scKibomboFlickerStatueFires().

Definition at lines 50 and 2154 of file kibombo.c.

scKibomboFlickerRedColor

void scKibomboFlickerRedColor(Sint32 index, Sint32 entry, Sint32 delta)

As scKibomboFlickerColor, four steps redder, with green and blue two and one steps dimmer.

References KibomboFireColors, scKibomboClampColor() and Sint32.

Definition at lines 51 and 2178 of file kibombo.c.

scKibomboFlickerVillageFires

void scKibomboFlickerVillageFires(void)

DEFINE_KIBOMBO_FLICKER_FIRES(scKibomboFlickerVillageFires, VILLAGE_FIRE_COLOR_SECOND, 8, 4, VILLAGE_FIRE_COLOR_THIRD, scKibomboFlickerColor, VILLAGE_FIRE_COLOR_FOURTH, 4, 2)

A tick event in the night village: every eighth tick outside menus and Psynergy, the four fire colours flicker.

Referenced by scKibomboInitCeremony() and scKibomboStopFireFlicker().

Definition at lines 52 and 2232 of file kibombo.c.

scKibomboFlickerCeremonyFires

void scKibomboFlickerCeremonyFires(void)

DEFINE_KIBOMBO_FLICKER_FIRES(scKibomboFlickerCeremonyFires, GROUNDS_FIRE_COLOR_SECOND, 6, 3, GROUNDS_FIRE_COLOR_THIRD, scKibomboFlickerRedColor, GROUNDS_FIRE_COLOR_FOURTH, 8, 4)

As scKibomboFlickerVillageFires on the night grounds, its fourth colour flickering redder.

Referenced by scKibomboAkafubuOffersCrystal(), scKibomboEndOffering(), scKibomboGabombaNotPleased(), scKibomboInitStatueGroundsCeremony(), scKibomboOpenCeremonyScene(), scKibomboPresentJewelToGabomba(), scKibomboStopFireFlicker() and scKibomboWitchDoctorFeelsPower().

Definition at lines 53 and 2244 of file kibombo.c.

scKibomboFlickerStatueFires

void scKibomboFlickerStatueFires(void)

A tick event before the statue's face: every eighth tick outside menus and Psynergy, the three fire colours flicker.

References scKibomboFlickerColor(), syRandom() and TickCount.

Referenced by scKibomboGazeAtStatue(), scKibomboInitStatueFace(), scKibomboStatueFlashes() and scKibomboStopFireFlicker().

Definition at lines 54 and 2256 of file kibombo.c.

scKibomboRaiseEmbers

void scKibomboRaiseEmbers(void)

Embers rise from the statue's fire every fourth tick.

References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), fdEffectAdvanceMotion(), KibomboEmberScript, Sint32, syCos(), syImportActorCreate(), syRandom() and TickCount.

Referenced by scKibomboGabombaResponds().

Definition at lines 55 and 2339 of file kibombo.c.

scKibomboRaiseSmoke

void scKibomboRaiseSmoke(void)

Smoke rises from the cooking fire every 64 ticks.

References fdActorSelectAnimation(), fdActorSetBlendMode(), fdActorSetSpriteFlags(), scSmokeDrift(), Sint32, syImportActorCreate() and TickCount.

Referenced by scKibomboInitVillageByDay().

Definition at lines 56 and 2375 of file kibombo.c.

scKibomboLightSignalFire

void scKibomboLightSignalFire(void)

Lights the signal fire: five flames rise in a column above it, blended over the background.

References scKibomboSpawnFlame().

Referenced by scKibomboInitVillageByDay().

Definition at lines 57 and 2449 of file kibombo.c.

scKibomboRestoreBlocks

void scKibomboRestoreBlocks(void)

Back from a battle or a menu, stops drawing the room's unseen blocks again unless they were shown; otherwise notes them shown.

References scKibomboHideBlocks(), syGameFlagGet() and syGameFlagSet().

Referenced by scKibomboHideGroundsBlocks() and scKibomboHideInnBlocks().

Definition at lines 59 and 2467 of file kibombo.c.

scKibomboAkafubuChants

void scKibomboAkafubuChants(void)

Akafubu glows and sparks circle him.

References fdActorGetById(), fdActorSelectAnimation(), fdActorSetSpriteColor(), fdActorSetSpriteFlags(), fdSpriteShareVRAMCacheEntry(), scKibomboSpinSpark(), Sint32, syImportActorCreate(), sySoundPlay() and sySynch().

Referenced by scKibomboEndOffering().

Definition at lines 60 and 2665 of file kibombo.c.

scKibomboSetStatueMouth

void scKibomboSetStatueMouth(Sint32 open, Sint32 glow)

Opens or shuts the Great Gabomba's mouth; while it is open its two eyes show, ringed with light if glow.

References fdActorGetById(), fdActorSetAnimationById(), fdActorSetPosAndResetMotion(), fdMapGridCopyMetatilesTo(), scFieldActorSetPosAndResetMotion() and Sint32.

Referenced by scKibomboAkafubuOffersCrystal(), scKibomboGabombaNotPleased(), scKibomboGabombaRespondsToGift(), scKibomboGabombaStillNotPleased(), scKibomboInitStatueGroundsByDay(), scKibomboInitStatueGroundsCeremony(), scKibomboOpenCeremonyScene() and scKibomboPresentJewelToGabomba().

Definition at lines 61 and 2731 of file kibombo.c.

scKibomboSetStatueTongue

void scKibomboSetStatueTongue(Sint32 open, Sint32 pose)

Puts out the Great Gabomba's tongue in a STATUE_TONGUE_POSE, or draws it back.

References fdActorGetById(), fdActorSetAnimationById(), fdActorSetPosAndResetMotion(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatileTilesIndicesRect() and Sint32.

Referenced by scKibomboGabombaResponds(), scKibomboGabombaRespondsToGift(), scKibomboInitStatueGroundsByDay() and scKibomboInitStatueGroundsCeremony().

Definition at lines 62 and 2765 of file kibombo.c.

scKibomboStopFireFlicker

void scKibomboStopFireFlicker(void)

Stops the room's fire flicker event.

References MainRoutineStateWork, scKibomboFlickerCeremonyFires(), scKibomboFlickerStatueFires(), scKibomboFlickerVillageFires() and syCloseEvent().

Referenced by scKibomboEnterDoor(), scKibomboEnterVent() and scKibomboLeaveRoom().

Definition at lines 63 and 2843 of file kibombo.c.

scKibomboClimbDownLadder

void scKibomboClimbDownLadder(Sint32 x, Sint32 z)

The leader walks to the top of the ladder at x, z, climbs down it and the scene leaves by the step's exit.

References fdActorFaceDirectionAndRefreshById(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetSpriteFlags(), fdActorWaitForMove(), fdActorWalkToAndWaitById(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, Sint32, syImportScriptSetExitRequest() and sySoundPlay().

Referenced by scKibomboEnterVent() and scKibomboStepOntoItemShopLadder().

Definition at lines 64 and 2921 of file kibombo.c.

scKibomboOpenCeremonyScene

void scKibomboOpenCeremonyScene(void)

The screen opens on the ceremony at the statue, with Felix hidden, the fires flickering and the Great Gabomba's mouth open, its eyes ringed with light; each step of the offering that follows sets the mouth as it needs.

References fdActorGetById(), fdActorSetSpriteColor(), fdActorSetSpriteFlags(), fdCameraGetActor(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scKibomboFlickerCeremonyFires(), scKibomboSetStatueMouth(), sySetEvent() and sySynch().

Referenced by scKibomboGabombaResponds(), scKibomboGabombaRespondsToGift(), scKibomboGabombaSeesJewel() and scKibomboGabombaStillNotPleased().

Definition at lines 65 and 3362 of file kibombo.c.

scKibomboWarriorsPanic

void scKibomboWarriorsPanic(void)

The warriors leap up in fright; two cry out and all dance in a frenzy until Akafubu silences them, calms them and calls for more drums. It goes on from the caller's message: the jewel seen (scKibomboGabombaSeesJewel) or the gift answered (scKibomboGabombaResponds).

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorJump(), fdActorSetAnimationAndWait(), fdActorSetMovementTypeById(), fdActorShowEmoteById(), fdActorStop(), fdCameraWaitForArrival(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptWait() and KibomboWarriorsDanceScript.

Referenced by scKibomboGabombaResponds() and scKibomboGabombaSeesJewel().

Definition at lines 66 and 3395 of file kibombo.c.

scKibomboCastScoop

void scKibomboCastScoop(void)

Felix casts Scoop on the mark he stands on.

References fdBattleEffectStopMainActor(), fdPsynergyEnd(), fdPsynergyLoadResources(), fdPsynergyRunHandler(), fdPsynergySetupActorPair(), fdPsynergyStartCast(), MainRoutineStateWork, scFieldSetTickEvent(), scKibomboUncoverMarkUnderLeader() and syCloseEvent().

Referenced by scKibomboDeadEndByTheStatue().

Definition at lines 88 and 2830 of file kibombo.c.

scKibomboSpinSprite

Sint32 scKibomboSpinSprite(ACTOR *actor)

An actor's update: turns its sprite a little each tick.

References Sint32.

Referenced by KibomboShebaMeetsPiersScript.

Definition at line 424 of file kibombo.c.

scKibomboKeepShakeCenter

Sint32 scKibomboKeepShakeCenter(ACTOR *actor)

An actor's update: keeps its position as the center scKibomboShakeInPlace shakes it about.

References Sint32.

Referenced by KibomboEyesShakeScript.

Definition at line 432 of file kibombo.c.

scKibomboShakeInPlace

Sint32 scKibomboShakeInPlace(ACTOR *actor)

An actor's update: every other tick, puts it up to a pixel either way of its kept center.

References fdActorSetPosAndResetMotion(), Sint32 and TickCount.

Referenced by KibomboEyesShakeScript.

Definition at line 441 of file kibombo.c.

scKibomboFaceRandomWay

Sint32 scKibomboFaceRandomWay(ACTOR *actor)

An actor's update: every ten to twenty ticks, faces a random way.

References Sint32 and syRandom().

Referenced by KibomboWarriorsDanceScript.

Definition at line 469 of file kibombo.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 483 of file kibombo.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

The houses have exit regions of their own; the other rooms have none.

References KibomboHousesExitRegions and MainRoutineStateWork.

Definition at line 489 of file kibombo.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 498 of file kibombo.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References KibomboActorPlacements, KibomboCeremonyActorPlacements, KibomboHousesActorPlacements, KibomboStatueGroundsActorPlacements, KibomboStatueGroundsCeremonyActorPlacements, KibomboVillageActorPlacements, MainRoutineStateWork and syGameFlagGet().

Definition at line 516 of file kibombo.c.

scGetCues

const CUE *scGetCues(void)

References KibomboCeremonyCues, KibomboCues, KibomboHousesCues, KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues, KibomboVillageCues and MainRoutineStateWork.

Definition at line 539 of file kibombo.c.

scKibomboAskAboutFewerWarriors

void scKibomboAskAboutFewerWarriors(void)

A woman asks whether the party has noticed there are fewer warriors.

References fdScriptAskYesNoAndShowResponse(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptStart() and Sint32.

Referenced by KibomboVillageCues.

Definition at line 557 of file kibombo.c.

scKibomboAskAboutRevenge

void scKibomboAskAboutRevenge(void)

Talking to the west gate guard: the guards ask whether the party has come for revenge for the raid, the east guard speaking.

References fdScriptAskYesNoAndShowResponse(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptStart() and Sint32.

Referenced by KibomboVillageCues.

Definition at line 569 of file kibombo.c.

scKibomboTalkPathToPeace

void scKibomboTalkPathToPeace(void)

The signal fire's keeper tells of the path to peace under Akafubu, and of the signal fire.

References fdActorFaceActorById(), fdActorFaceDirectionAndWait(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork and Sint32.

Referenced by KibomboVillageCues.

Definition at line 581 of file kibombo.c.

scKibomboAskGoingWest

void scKibomboAskGoingWest(void)

A woman asks whether the party is heading to western Gondowan.

References fdScriptAskYesNoAndShowResponse(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptStart() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 599 of file kibombo.c.

scKibomboOpenWeaponShop

void scKibomboOpenWeaponShop(void)

Talking to the weapon shopkeeper: across the counter, the shop; from elsewhere, a word about Kibombo's weapons.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), mnShopRun(), scLeaderIsFacingNorth() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 627 of file kibombo.c.

scKibomboOpenArmorShop

void scKibomboOpenArmorShop(void)

Talking to the armor shopkeeper: across the counter, the shop; from elsewhere, a word about shields and war paint.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), mnShopRun(), scLeaderIsFacingNorth() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 647 of file kibombo.c.

scKibomboOpenItemShop

void scKibomboOpenItemShop(void)

Talking to the item shopkeeper: across the counter, the shop; from elsewhere, a word about the spearhead poison.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), mnShopRun(), scLeaderIsFacingNorth() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 667 of file kibombo.c.

scKibomboOpenInn

void scKibomboOpenInn(void)

Talking to the innkeeper: across the counter, the inn; from elsewhere, a word about the beds.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), mnInnCheckIn(), scLeaderIsFacingNorth() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 687 of file kibombo.c.

scKibomboOpenSanctum

void scKibomboOpenSanctum(void)

Talking to the healer, or checking the counter before her, metatile (23, 22): across the counter, the Sanctum; from elsewhere, a word about the peace the ceremony brought.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), mnSanctumRun(), scLeaderIsFacingNorth() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 708 of file kibombo.c.

scKibomboTalkForeignCeremony

void scKibomboTalkForeignCeremony(void)

The healer on the ceremony night: the first time, she muses on foreign ceremonies; then she turns to the party and runs her Sanctum.

References fdActorFaceActorById(), fdActorFaceDirection(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, mnSanctumRun(), Sint32 and syGameFlagSet().

Referenced by KibomboCeremonyCues.

Definition at line 728 of file kibombo.c.

scKibomboTalkAchingBack

void scKibomboTalkAchingBack(void)

The man whose back has ached since the ceremony.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 765 of file kibombo.c.

scKibomboReadMindNeverAgain

void scKibomboReadMindNeverAgain(void)

Mind Read on the man with the aching back.

References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 776 of file kibombo.c.

scKibomboSetBlocksShown

void scKibomboSetBlocksShown(Sint32 show)

Draws (show 1) or stops drawing the room's two unseen blocks: on the statue's grounds by its paths, in the houses in the inn's back doorway.

References MainRoutineStateWork, scActorsSetDrawn() and Sint32.

Referenced by scKibomboHideBlocks() and scKibomboShowBlocks().

Definition at line 788 of file kibombo.c.

scKibomboShowBlocks

void scKibomboShowBlocks(void)

Unused: draws the room's two unseen blocks and notes them shown.

References scKibomboSetBlocksShown() and syGameFlagSet().

Definition at line 800 of file kibombo.c.

scKibomboHideBlocks

void scKibomboHideBlocks(void)

Stops drawing the room's two unseen blocks.

References scKibomboSetBlocksShown() and syGameFlagClear().

Referenced by scKibomboRestoreBlocks().

Definition at line 807 of file kibombo.c.

scKibomboFreezePuddle

void scKibomboFreezePuddle(void)

Felix casts Frost on the puddle: it freezes into a pillar of ice to jump onto.

References fdFlagBlockApplyFlags() and KibomboFrozenPuddle.

Referenced by KibomboCeremonyCues, KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues and KibomboVillageCues.

Definition at line 817 of file kibombo.c.

scKibomboUncoverVent

void scKibomboUncoverVent(void)

Shows the vent by the statue uncovered, metatile (23, 18), and lets the party climb down into it.

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatileTilesIndicesRect() and syGameFlagSet().

Referenced by scKibomboInitStatueGrounds() and scKibomboScoopVent().

Definition at line 824 of file kibombo.c.

scKibomboScoopVent

void scKibomboScoopVent(Sint32 stage)

Felix casts Scoop on the patch of ground on the statue's grounds, metatile (23, 18), which the party passed on the way to the dead end: as the dig opens the ground, the vent under it is uncovered, the way into the Gabomba Statue.

References scKibomboUncoverVent() and Sint32.

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 834 of file kibombo.c.

scKibomboScoopNorthMark

void scKibomboScoopNorthMark(Sint32 stage)

Felix casts Scoop on the north mark at the dead end by the statue, metatile (16, 7), one of four in a diamond on the ground there: as the dig opens the ground, the mark is dug out.

References scKibomboUncoverNorthMark() and Sint32.

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 852 of file kibombo.c.

scKibomboScoopSouthMark

void scKibomboScoopSouthMark(Sint32 stage)

Felix casts Scoop on the south mark at the dead end by the statue, metatile (16, 11), the one Kraden first tells him to dig: as the dig opens the ground, the mark is dug out.

References scKibomboUncoverSouthMark() and Sint32.

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 869 of file kibombo.c.

scKibomboScoopWestMark

void scKibomboScoopWestMark(Sint32 stage)

Felix casts Scoop on the west mark at the dead end by the statue, metatile (14, 9): as the dig opens the ground, the mark is dug out.

References scKibomboUncoverWestMark() and Sint32.

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 885 of file kibombo.c.

scKibomboScoopEastMark

void scKibomboScoopEastMark(Sint32 stage)

Felix casts Scoop on the east mark at the dead end by the statue, metatile (18, 9): as the dig opens the ground, the mark is dug out.

References scKibomboUncoverEastMark() and Sint32.

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 901 of file kibombo.c.

scKibomboMovePillarForPiers

void scKibomboMovePillarForPiers(void)

Felix uses Move on the stone pillar by Piers in the west of the grounds and pushes it west off its ledge to metatile (6, 18), where it drops with a thump into the place Piers could not reach; Piers then joins the party.

References fdActorGetById(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), scKibomboPiersJoinsParty(), syGameFlagGet(), syGameFlagSet(), sySoundPlay() and sySynch().

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 910 of file kibombo.c.

scKibomboMeetPiers

void scKibomboMeetPiers(void)

Felix walks up onto the ledge in the west of the statue's grounds where Piers stands, metatiles (3, 25) to (3, 26): Piers turns, startled, "Wh-Who are you?!?", and asks what the party wants.

References fdActorFaceDirectionById(), fdActorPlaceOnActor(), fdActorSetMovementTypeAndWaitById(), fdActorSetMovementTypeById(), fdActorSetSpritePriority(), fdActorWalkToAndWait(), fdCameraGetActor(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), KibomboJennaMeetsPiersScript, KibomboKradenMeetsPiersScript, KibomboPartyGathersScript, KibomboShebaMeetsPiersScript, MainRoutineStateWork, scKibomboAkafubuOffersCrystal(), scKibomboPiersHasForgottenParty(), scKibomboPiersTakesPartyForEnemies(), Sint32, syGameFlagGet(), syGameFlagSet() and sySynch().

Referenced by KibomboStatueGroundsCeremonyCues.

Definition at line 940 of file kibombo.c.

scKibomboPiersThanksParty

void scKibomboPiersThanksParty(void)

Back on the grounds after Piers stayed behind, Felix walks up beside him where he waits at the top of the grounds, metatile (16, 5): Piers thanks the party for coming to help get his orb back, walks over to Felix and joins it again.

References fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorGetById(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorWaitForMoveById(), fdCameraWaitForArrival(), fdScriptAddPartyMember(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32, syGameFlagClear() and syGameFlagSet().

Referenced by KibomboStatueGroundsCeremonyCues.

Definition at line 1118 of file kibombo.c.

scKibomboCountAnswer

void scKibomboCountAnswer(void)

Counts one more weird answer Felix gives (fdScriptCountAnswer).

Referenced by scKibomboAkafubuOffersCrystal() and scKibomboPiersJoinsParty().

Definition at line 1151 of file kibombo.c.

scKibomboCarryBlackCrystal

void scKibomboCarryBlackCrystal(void)

Keeps the Black Crystal above the one who holds it.

References fdActorGetById() and fdActorSetPosAndResetMotion().

Referenced by scKibomboAkafubuOffersCrystal() and scKibomboPresentJewelToGabomba().

Definition at lines 1152 and 2321 of file kibombo.c.

scKibomboWarriorsBow

void scKibomboWarriorsBow(void)

DEFINE_KIBOMBO_SET_WARRIORS_ANIMATION(scKibomboWarriorsBow, 5)

The eight warriors bow (their sprite sheet's animation 5).

Referenced by scKibomboAkafubuOffersCrystal(), scKibomboCeremonyStarts(), scKibomboInitStatueGroundsCeremony() and scKibomboWitchDoctorFeelsPower().

Definition at lines 1153 and 2528 of file kibombo.c.

scKibomboWarriorsStand

void scKibomboWarriorsStand(void)

DEFINE_KIBOMBO_SET_WARRIORS_ANIMATION(scKibomboWarriorsStand, ANIM_STAND)

The eight warriors stand again.

Referenced by scKibomboAkafubuOffersCrystal().

Definition at lines 1154 and 2531 of file kibombo.c.

scKibomboEndOffering

void scKibomboEndOffering(void)

Ends the offering: the fires stop flickering and, while the crystal is still out, Akafubu chants.

References fdCameraWaitForArrival(), fdScriptWait(), scKibomboAkafubuChants(), scKibomboFlickerCeremonyFires(), syCloseEvent() and sySynch().

Referenced by scKibomboAkafubuOffersCrystal() and scKibomboPresentJewelToGabomba().

Definition at lines 1155 and 2719 of file kibombo.c.

scKibomboPiersRefusesToLeave

void scKibomboPiersRefusesToLeave(void)

Felix walks off the grounds by the south-west path, metatiles (4, 30) and (5, 30). With Piers along and the orb not yet won back, Piers will not leave without it: he says so, walks back up the path and stays behind as the party goes down to the village.

References fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionById(), fdActorGetById(), fdActorPlaceOnActor(), fdActorSetSpritePriority(), fdActorWalkTo(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdPartyRemoveMemberRestored(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32, syGameFlagClear(), syGameFlagSet(), syImportScriptSetExitRequest() and sySynch().

Referenced by KibomboStatueGroundsCeremonyCues.

Definition at line 1324 of file kibombo.c.

scKibomboDeadEndByTheStatue

void scKibomboDeadEndByTheStatue(void)

The first time Felix comes up the path east of the statue to the dead end, metatiles (21, 14) and (22, 14), before the vent is uncovered: the party stops among the four marks on the ground, "It's a dead end...". Kraden has Felix Scoop each mark in turn, and the party works out that a vent into the statue lies under the patch it passed on the way.

References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorGetById(), fdActorPlaceOnActor(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetAttachedEffect(), fdActorSetMovementTypeAndWaitById(), fdActorSetMovementTypeById(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStop(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdActorWatchAndSetScript(), fdCameraGetActor(), fdCameraWaitForArrival(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), KibomboJennaAtDeadEndScript, KibomboKradenAtDeadEndScript, KibomboPartyLeavesDeadEndScript, KibomboPiersAtDeadEndScript, KibomboShebaAtDeadEndScript, MainRoutineStateWork, scKibomboCastScoop(), Sint32, syGameFlagClear(), syGameFlagSet() and sySynch().

Referenced by KibomboStatueGroundsCeremonyCues.

Definition at line 1792 of file kibombo.c.

scKibomboOverlayFollowsLeader

void scKibomboOverlayFollowsLeader(void)

Felix steps onto the ring of metatiles (19, 7) to (21, 10) among the painted poles in the north of the village: from here the village's two masks follow him, covering whatever of him a raised metatile beside him should hide.

References fdActorGetById() and MainRoutineStateWork.

Referenced by KibomboCeremonyCues and KibomboVillageCues.

Definition at line 2121 of file kibombo.c.

scKibomboOverlayStopsFollowing

void scKibomboOverlayStopsFollowing(void)

Felix steps onto metatile (20, 8) or (20, 9), in the middle of that ring among the painted poles: the masks that hide him behind raised metatiles stop following him.

Referenced by KibomboCeremonyCues and KibomboVillageCues.

Definition at line 2135 of file kibombo.c.

scKibomboCreateBlackCrystal

void scKibomboCreateBlackCrystal(void)

Creates the Black Crystal, drawn with the item's own icon.

References mnIconDrawItem(), syHeapSlotAllocate(), syHeapSlotRelease(), syImportActorCreate() and syVRAMCacheLoad().

Referenced by scKibomboInitStatueGrounds().

Definition at line 2272 of file kibombo.c.

scKibomboPlaceDoorBlockByHeight

void scKibomboPlaceDoorBlockByHeight(void)

Unused: with the leader up high, takes the north-west door's unseen block away and draws its candlestick in front; lower down, puts the block back at the house's door and the candlestick behind.

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

Definition at line 2303 of file kibombo.c.

scKibomboFlickerFlame

void scKibomboFlickerFlame(ACTOR *actor)

A flame's update: every ten to twenty ticks it turns to face the other way, at one and a half times its width.

Referenced by scKibomboSpawnFlame().

Definition at line 2402 of file kibombo.c.

scKibomboSpawnFlame

void scKibomboSpawnFlame(Sint32 x, Sint32 y, Sint32 z)

Creates one of the signal fire's flames at x, y, z, flickering by its own timer.

References fdActorSelectAnimation(), fdActorSetBlendMode(), fdActorSetSpriteFlags(), scKibomboFlickerFlame(), Sint32 and syImportActorCreate().

Referenced by scKibomboLightSignalFire().

Definition at line 2426 of file kibombo.c.

scKibomboHideGroundsBlocks

void scKibomboHideGroundsBlocks(void)

Hides the grounds' two unseen blocks as the room opens, the first raised 32 pixels.

References fdActorGetById(), scActorHide(), scKibomboRestoreBlocks() and Sint32.

Referenced by scKibomboInitStatueGrounds().

Definition at line 2482 of file kibombo.c.

scKibomboHideInnBlocks

void scKibomboHideInnBlocks(void)

Hides the two unseen blocks in the inn's back doorway as the room opens.

References fdActorGetById(), scActorHide(), scKibomboRestoreBlocks() and Sint32.

Referenced by scKibomboInitHouses().

Definition at line 2500 of file kibombo.c.

scKibomboAkafubuCastsOnCrystal

void scKibomboAkafubuCastsOnCrystal(void)

Akafubu's Psynergy on the Black Crystal.

References fdBattleEffectStopMainActor(), fdPsynergyEnd(), fdPsynergyLoadResources(), fdPsynergyRunHandler(), fdPsynergySetupActorPair() and fdPsynergyStartCast().

Referenced by scKibomboAkafubuOffersCrystal() and scKibomboPresentJewelToGabomba().

Definition at line 2534 of file kibombo.c.

scKibomboSpinSpark

void scKibomboSpinSpark(FIELD_OBJECT *object)

A spark's update while Akafubu casts on the crystal: it circles its center at its radius, wobbling in and out, and rises.

References fdActorRelease(), Sint32, sySin(), sySoundPlay(), syVectorAddPolarOffset() and syVRAMCacheFreeEntry().

Referenced by scKibomboAkafubuChants().

Definition at line 2559 of file kibombo.c.

scKibomboUncoverMarkUnderLeader

void scKibomboUncoverMarkUnderLeader(void)

While Scoop is cast, uncovers the mark the script is scooping.

References scKibomboUncoverEastMark(), scKibomboUncoverNorthMark(), scKibomboUncoverSouthMark(), scKibomboUncoverWestMark() and syGameFlagGet().

Referenced by scKibomboCastScoop().

Definition at line 2812 of file kibombo.c.

scKibomboLeaveRoom

void scKibomboLeaveRoom(void)

Felix walks off the village or the statue's grounds by one of their ways out on the ceremony night: the village's south edge to the world map, its north and north-west paths up to the statue's grounds, or the grounds' south and south-west paths back down. The fires stop flickering, the exit sound plays and the screen closes.

References fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWaitTransitionTicks(), scKibomboStopFireFlicker(), syGameFlagGet(), syImportScriptSetExitRequest() and sySoundPlay().

Referenced by KibomboCeremonyCues, KibomboStatueGroundsCeremonyCues, KibomboStatueGroundsCues and scKibomboLeaveRoomFading().

Definition at line 2860 of file kibombo.c.

scKibomboLeaveRoomFading

void scKibomboLeaveRoomFading(void)

Felix walks into the Gabomba Statue's mouth on the statue's grounds, metatile (16, 19): the screen closes in on him and he goes inside, the fires going still as he leaves.

References scKibomboLeaveRoom().

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 2877 of file kibombo.c.

scKibomboEnterDoor

void scKibomboEnterDoor(void)

Felix walks north into the door of one of the village's six houses: he lines up with it and steps into the dark doorway, the screen fades, and he stands inside the house.

References fdActorGetById(), fdActorSetAnimationById(), fdActorSetMovementTypeById(), fdActorSetMoveTarget(), fdActorWaitForMove(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWaitTransitionTicks(), LeaderWalkThroughDoorScript, MainRoutineStateWork, scKibomboStopFireFlicker(), Sint32, syGameFlagGet(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by KibomboCeremonyCues and KibomboVillageCues.

Definition at line 2889 of file kibombo.c.

scKibomboStepOntoItemShopLadder

void scKibomboStepOntoItemShopLadder(void)

Felix steps beside the ladder in the item shop's upper room, metatile (43, 22) or (42, 23): he climbs down it only while he presses on toward it, Left or Up.

References fdActorGetById(), MainRoutineStateWork, PerWork, scKibomboClimbDownLadder() and Sint32.

Referenced by KibomboHousesCues.

Definition at line 2951 of file kibombo.c.

scKibomboStepOntoAkafubusLadder

DEFINE_KIBOMBO_STEP_WHEN_HELD( scKibomboStepOntoAkafubusLadder, 38, 23, 25, 24, 39, 392, 608)

As scKibomboStepOntoItemShopLadder, for the ladder down from Akafubu's home to the Sanctum, metatiles (23, 38), (25, 38) and (24, 39): Felix may step onto it from the west, the east or the south.

Referenced by KibomboHousesCues.

Definition at line 2992 of file kibombo.c.

scKibomboStepOntoTwoBedsLadder

DEFINE_KIBOMBO_STEP_WHEN_HELD( scKibomboStepOntoTwoBedsLadder, 54, 42, 44, 43, 55, 696, 864)

As scKibomboStepOntoAkafubusLadder, for the ladder in the upper room with two beds, metatiles (42, 54), (44, 54) and (43, 55), down to the room of beds below.

Referenced by KibomboHousesCues.

Definition at line 2998 of file kibombo.c.

scKibomboEnterVent

void scKibomboEnterVent(void)

Felix walks south into the uncovered vent on the statue's grounds, metatile (23, 17): he climbs down its ladder into the Gabomba Statue.

References scKibomboClimbDownLadder(), scKibomboStopFireFlicker() and syGameFlagGet().

Referenced by KibomboStatueGroundsCeremonyCues and KibomboStatueGroundsCues.

Definition at line 3003 of file kibombo.c.

scKibomboGazeAtStatue

void scKibomboGazeAtStatue(void)

During the ceremony the screen shows the Great Gabomba's face close up, its fires flickering, for about three seconds or until A, B or Start is held, then goes dark and returns to the grounds.

References fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), PerWork, scKibomboFlickerStatueFires(), syCloseEvent(), syImportScriptSetExitRequest() and sySetEvent().

Referenced by scKibomboInitStatueFace().

Definition at line 3013 of file kibombo.c.

scKibomboStatueFlashes

void scKibomboStatueFlashes(void)

During the ceremony, as the Great Gabomba answers, the screen flashes white with a sound and its face is shown close up with its eyes shut, the fires on it flickering. It flashes again, and the face has its eyes half open; and again, and the eyes are wide open, staring. After a while the screen goes dark and the party is back on the grounds. Each view is a copy of the face in the map, at (248, 248), (584, 248) and (248, 536).

References fdMapGridCenterOnFollowedPoint(), fdPaletteFadeApplyTarget(), fdPaletteFadeSetTarget(), fdPaletteFadeStartInterpolation(), fdScriptFinishScreenTransition(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scFieldSetTickEvent(), scKibomboFlickerStatueFires(), syCloseEvent(), syImportScriptSetExitRequest(), sySetEvent(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueFace().

Definition at line 3043 of file kibombo.c.

scKibomboCeremonyStarts

void scKibomboCeremonyStarts(void)

The sacred night begins: Akafubu calls on the village to pray for his success, and the party hurries to watch.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorWaitForMoveById(), fdActorWalkToAndWait(), fdCameraGetActor(), fdCameraWaitForArrival(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptWait(), MainRoutineStateWork, scKibomboWarriorsBow(), Sint32, syGameFlagSet(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3098 of file kibombo.c.

scKibomboPresentJewelToGabomba

void scKibomboPresentJewelToGabomba(void)

Akafubu presents the jewel, the Black Crystal, to the Great Gabomba, and the statue notices its light.

References fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorSetAnimationAndWait(), fdActorSetPosAndResetMotion(), fdActorSetSpriteColor(), fdActorSetSpriteFlags(), fdActorWalkToAndWaitById(), fdCameraGetActor(), fdCameraWaitForArrival(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldSetTickEvent(), scKibomboAkafubuCastsOnCrystal(), scKibomboCarryBlackCrystal(), scKibomboEndOffering(), scKibomboFlickerCeremonyFires(), scKibomboSetStatueMouth(), Sint32, syCloseEvent(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3189 of file kibombo.c.

scKibomboGabombaNotPleased

void scKibomboGabombaNotPleased(void)

The Great Gabomba stays silent, and Akafubu asks whether it is still not pleased.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorSetAnimationAndWait(), fdActorSetPosAndResetMotion(), fdActorSetSpriteColor(), fdActorSetSpriteFlags(), fdCameraGetActor(), fdEffectSetAttached(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scKibomboFlickerCeremonyFires(), scKibomboSetStatueMouth(), Sint32, syGameFlagClear(), syImportScriptSetExitRequest(), sySetEvent(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3251 of file kibombo.c.

scKibomboWitchDoctorFeelsPower

void scKibomboWitchDoctorFeelsPower(void)

Akafubu feels the witch doctor's power fill his body.

References fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorSetSpriteColor(), fdActorSetSpriteFlags(), fdPaletteFadeSetSource(), fdPaletteFadeSetTarget(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scKibomboFlickerCeremonyFires(), scKibomboWarriorsBow(), Sint32, syCloseEvent(), syGameFlagSet(), syImportScriptSetExitRequest() and sySetEvent().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3318 of file kibombo.c.

scKibomboGabombaStillNotPleased

void scKibomboGabombaStillNotPleased(void)

Still nothing from the statue: Akafubu asks whether it is still not pleased, and calls for more drums.

References fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorSetAnimationAndWait(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptWait(), scKibomboOpenCeremonyScene(), scKibomboSetStatueMouth(), Sint32, syGameFlagSet(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3489 of file kibombo.c.

scKibomboGabombaSeesJewel

void scKibomboGabombaSeesJewel(void)

Akafubu cries that the Great Gabomba has seen the jewel; its eyes swell for a moment, then shake, and the warriors panic.

References fdActorGetById(), fdActorSetMovementTypeAndWaitById(), fdActorSetMovementTypeById(), fdActorSetSpriteColor(), fdActorShowEmoteById(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptWait(), KibomboEyesPopScript, KibomboEyesShakeScript, scKibomboOpenCeremonyScene(), scKibomboWarriorsPanic(), Sint32, syGameFlagSet(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3532 of file kibombo.c.

scKibomboGabombaResponds

void scKibomboGabombaResponds(void)

Akafubu cries that the Great Gabomba has responded to the gift; its eyes flash, embers rise from its fire, and the warriors panic.

References fdActorGetById(), fdActorSetSpriteColor(), fdActorShowEmoteById(), fdScriptPlaySound(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptWait(), scKibomboFlashSprite(), scKibomboOpenCeremonyScene(), scKibomboRaiseEmbers(), scKibomboSetStatueTongue(), scKibomboWarriorsPanic(), Sint32, syGameFlagSet(), syImportScriptSetExitRequest(), sySetEvent(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3570 of file kibombo.c.

scKibomboGabombaRespondsToGift

void scKibomboGabombaRespondsToGift(void)

The Great Gabomba responds to the gift: its tongue reaches for it and its mouth opens and shuts.

References fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetPosAndResetMotion(), fdActorSetSpriteColor(), fdActorSetSpritePriority(), fdActorShowEmoteById(), fdActorWalkToAndWait(), fdEffectSetAttached(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptWait(), fdScriptWaitTransitionTicks(), scFieldActorShowEmote(), scKibomboOpenCeremonyScene(), scKibomboSetStatueMouth(), scKibomboSetStatueTongue(), Sint32, syGameFlagSet(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scKibomboInitStatueGroundsCeremony().

Definition at line 3602 of file kibombo.c.

scKibomboCeremonyEnds

void scKibomboCeremonyEnds(void)

After the ceremony, at Akafubu's home: Kraden, Akafubu and his father talk it over, and Kraden walks out with the party.

References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionAndWait(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorSetHorizontalPosAndAngleWithTerrain(), fdActorShowEmoteById(), fdActorWaitForMoveById(), fdActorWalkToAndWait(), fdMapGridCenterOnFollowedPoint(), fdPaletteFadeSetSource(), fdPaletteFadeSetTarget(), fdPaletteFadeStartInterpolation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, Sint32, syGameFlagSet() and sySynch().

Referenced by scKibomboInitHouses().

Definition at line 3723 of file kibombo.c.

scInit

Sint32 scInit(void)

Sets up whichever of the overlay's six rooms the party enters.

References MainRoutineStateWork, scKibomboInitCeremony(), scKibomboInitHouses(), scKibomboInitStatueFace(), scKibomboInitStatueGroundsByDay(), scKibomboInitStatueGroundsCeremony(), scKibomboInitVillageByDay() and Sint32.

Definition at line 3845 of file kibombo.c.

scPrepareMap

Sint32 scPrepareMap(void)

References Sint32.

Definition at line 3864 of file kibombo.c.

scKibomboInitVillageByDay

void scKibomboInitVillageByDay(void)

The village by day: the cooking fire burning and smoking, and the signal fire lit.

References fdActorDisableById(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetSpriteFlags(), scKibomboInitVillage(), scKibomboLightSignalFire(), scKibomboRaiseSmoke(), syGameFlagClear() and sySetEvent().

Referenced by scInit().

Definition at line 3893 of file kibombo.c.

scKibomboInitCeremony

void scKibomboInitCeremony(void)

The village on the ceremony night: the flame in the square is raised 42 pixels, and when the party starts again before the healer after a defeat with Piers along, he is healed and stays behind. The fires' colours are kept for their flicker, the candlesticks lit and, once Akafubu has offered his help, the ceremony's actors moved; the screen fades in with the village fires flickering.

References fdActorGetById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdPartyRemoveMemberRestored(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmUnitGet(), KibomboFireColors, MainRoutineStateWork, scActorHide(), scKibomboFlickerVillageFires(), scKibomboInitVillage(), Sint32, syGameFlagClear(), syGameFlagGet(), syGameFlagSet() and sySetEvent().

Referenced by scInit().

Definition at line 3912 of file kibombo.c.

scKibomboInitStatueGrounds

void scKibomboInitStatueGrounds(void)

The grounds before the statue: the Black Crystal, the marks uncovered, the vent and the pillar Moved for Piers.

References fdActorDisableById(), fdActorGetById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdFlagBlockPlaceAll(), fdMapGridCopyMetatileAttributes(), KibomboFrozenPuddle, MainRoutineStateWork, scFieldActorSetPosAndResetMotion(), scKibomboCreateBlackCrystal(), scKibomboHideGroundsBlocks(), scKibomboUncoverEastMark(), scKibomboUncoverNorthMark(), scKibomboUncoverSouthMark(), scKibomboUncoverVent(), scKibomboUncoverWestMark(), syGameFlagGet(), syGameFlagSet() and sySynch().

Referenced by scKibomboInitStatueGroundsByDay() and scKibomboInitStatueGroundsCeremony().

Definition at line 3984 of file kibombo.c.

scKibomboInitStatueGroundsByDay

void scKibomboInitStatueGroundsByDay(void)

The grounds by day, with the statue's mouth and tongue as the ceremony left them.

References fdActorSetAnimationById(), fdActorSetPosAndResetMotion(), MainRoutineStateWork, scKibomboInitStatueGrounds(), scKibomboSetStatueMouth(), scKibomboSetStatueTongue(), syGameFlagGet() and sySynch().

Referenced by scInit().

Definition at line 4039 of file kibombo.c.

scKibomboInitStatueGroundsCeremony

void scKibomboInitStatueGroundsCeremony(void)

The grounds on the ceremony night: the fires' colours kept, the mouth as the statue has answered, and the entrances from the Gabomba Statue's rooms playing each step of the offering.

References fdActorGetById(), fdActorSetAnimationById(), fdActorSetPosAndFacing(), fdActorSetPosAndResetMotion(), fdActorSetSpritePriority(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), KibomboFireColors, MainRoutineStateWork, scKibomboCeremonyStarts(), scKibomboFlickerCeremonyFires(), scKibomboGabombaNotPleased(), scKibomboGabombaResponds(), scKibomboGabombaRespondsToGift(), scKibomboGabombaSeesJewel(), scKibomboGabombaStillNotPleased(), scKibomboInitStatueGrounds(), scKibomboPresentJewelToGabomba(), scKibomboSetStatueMouth(), scKibomboSetStatueTongue(), scKibomboWarriorsBow(), scKibomboWitchDoctorFeelsPower(), Sint32, syGameFlagGet(), syGameFlagSet(), sySetEvent() and sySynch().

Referenced by scInit().

Definition at line 4081 of file kibombo.c.

scKibomboInitStatueFace

void scKibomboInitStatueFace(void)

Before the statue's face: brought here from the grounds as the Great Gabomba answers, its three flashes; brought here for the close look during the ceremony, the gaze into its fires; otherwise its fires flicker.

References fdActorGetById(), fdActorSetSpriteColor(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), KibomboFireColors, MainRoutineStateWork, scKibomboFlickerStatueFires(), scKibomboGazeAtStatue(), scKibomboStatueFlashes(), syGameFlagSet() and sySetEvent().

Referenced by scInit().

Definition at line 4195 of file kibombo.c.

scKibomboInitHouses

void scKibomboInitHouses(void)

The houses: Akafubu at home after the ceremony, or the ceremony's end played, and the man with the aching back lying where he fell.

References fdActorFallOverById(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetPosAndFacing(), MainRoutineStateWork, scKibomboCeremonyEnds(), scKibomboHideInnBlocks(), syGameFlagGet() and syGameFlagSet().

Referenced by scInit().

Definition at line 4254 of file kibombo.c.

scKibomboJumpForward

void scKibomboJumpForward(void)

Felix walks west off the ledge by the inn in the south east of the village, metatile (25, 27), and jumps across onto the top of the nearest painted pole; standing on top of the pole at metatile (19, 8), among the poles in the north of the village, and walking north, he jumps onto the top of the next pole north.

References fdTryJumpForward().

Referenced by KibomboCeremonyCues and KibomboVillageCues.

Definition at line 4312 of file kibombo.c.

Variables in detail

KibomboKradenMeetsPiersScript

extern Uint32 KibomboKradenMeetsPiersScript[]

Uint32 KibomboKradenMeetsPiersScript[]

Referenced by scKibomboMeetPiers().

Definition at lines 69 and 4329 of file kibombo.c.

KibomboJennaMeetsPiersScript

extern Uint32 KibomboJennaMeetsPiersScript[]

Uint32 KibomboJennaMeetsPiersScript[]

Referenced by scKibomboMeetPiers().

Definition at lines 70 and 4340 of file kibombo.c.

KibomboShebaMeetsPiersScript

extern Sint32 KibomboShebaMeetsPiersScript[]

Sint32 KibomboShebaMeetsPiersScript[]

References scKibomboSpinSprite() and Sint32.

Referenced by scKibomboMeetPiers().

Definition at lines 71 and 4351 of file kibombo.c.

KibomboPartyGathersScript

extern Uint32 KibomboPartyGathersScript[]

Uint32 KibomboPartyGathersScript[]

Referenced by scKibomboMeetPiers().

Definition at lines 72 and 4375 of file kibombo.c.

KibomboEyesShakeScript

extern Sint32 KibomboEyesShakeScript[]

Sint32 KibomboEyesShakeScript[]

References scKibomboKeepShakeCenter(), scKibomboShakeInPlace() and Sint32.

Referenced by scKibomboGabombaSeesJewel().

Definition at lines 73 and 4501 of file kibombo.c.

KibomboEyesPopScript

extern Sint32 KibomboEyesPopScript[]

Sint32 KibomboEyesPopScript[]

References Sint32.

Referenced by scKibomboGabombaSeesJewel().

Definition at lines 74 and 4506 of file kibombo.c.

KibomboFrozenPuddle

extern Sint16 KibomboFrozenPuddle[]

Sint16 KibomboFrozenPuddle[]

The puddle Frost freezes into a pillar, and the flag set while it stands.

Referenced by scKibomboFreezePuddle(), scKibomboInitStatueGrounds() and scKibomboInitVillage().

Definition at lines 75 and 4563 of file kibombo.c.

KibomboHousesExitRegions

extern SCENE_REGION KibomboHousesExitRegions[]

SCENE_REGION KibomboHousesExitRegions[]

Referenced by scGetExitRegions().

Definition at lines 76 and 4569 of file kibombo.c.

KibomboLeaderStepsUpScript

extern Uint32 KibomboLeaderStepsUpScript[]

Uint32 KibomboLeaderStepsUpScript[]

Referenced by scKibomboPiersJoinsParty().

Definition at lines 77 and 4385 of file kibombo.c.

KibomboPiersStepsUpScript

extern Uint32 KibomboPiersStepsUpScript[]

Uint32 KibomboPiersStepsUpScript[]

Referenced by scKibomboPiersJoinsParty().

Definition at lines 78 and 4399 of file kibombo.c.

KibomboKradenJoinsPiersScript

extern Uint32 KibomboKradenJoinsPiersScript[]

Uint32 KibomboKradenJoinsPiersScript[]

Referenced by scKibomboPiersJoinsParty().

Definition at lines 79 and 4407 of file kibombo.c.

KibomboJennaJoinsPiersScript

extern Uint32 KibomboJennaJoinsPiersScript[]

Uint32 KibomboJennaJoinsPiersScript[]

Referenced by scKibomboPiersJoinsParty().

Definition at lines 80 and 4418 of file kibombo.c.

KibomboShebaJoinsPiersScript

extern Uint32 KibomboShebaJoinsPiersScript[]

Uint32 KibomboShebaJoinsPiersScript[]

Referenced by scKibomboPiersJoinsParty().

Definition at lines 81 and 4429 of file kibombo.c.

KibomboPartyFollowsScript

extern Uint32 KibomboPartyFollowsScript[]

Uint32 KibomboPartyFollowsScript[]

Referenced by scKibomboPiersJoinsParty().

Definition at lines 82 and 4440 of file kibombo.c.

KibomboJennaAtDeadEndScript

extern Uint32 KibomboJennaAtDeadEndScript[]

Uint32 KibomboJennaAtDeadEndScript[]

Referenced by scKibomboDeadEndByTheStatue().

Definition at lines 83 and 4450 of file kibombo.c.

KibomboShebaAtDeadEndScript

extern Uint32 KibomboShebaAtDeadEndScript[]

Uint32 KibomboShebaAtDeadEndScript[]

Referenced by scKibomboDeadEndByTheStatue().

Definition at lines 84 and 4461 of file kibombo.c.

KibomboKradenAtDeadEndScript

extern Uint32 KibomboKradenAtDeadEndScript[]

Uint32 KibomboKradenAtDeadEndScript[]

Referenced by scKibomboDeadEndByTheStatue().

Definition at lines 85 and 4472 of file kibombo.c.

KibomboPiersAtDeadEndScript

extern Uint32 KibomboPiersAtDeadEndScript[]

Uint32 KibomboPiersAtDeadEndScript[]

Referenced by scKibomboDeadEndByTheStatue().

Definition at lines 86 and 4483 of file kibombo.c.

KibomboPartyLeavesDeadEndScript

extern Uint32 KibomboPartyLeavesDeadEndScript[]

Uint32 KibomboPartyLeavesDeadEndScript[]

Referenced by scKibomboDeadEndByTheStatue().

Definition at lines 87 and 4491 of file kibombo.c.

KibomboEmberScript

extern Uint32 KibomboEmberScript[]

Uint32 KibomboEmberScript[]

Referenced by scKibomboRaiseEmbers().

Definition at lines 89 and 4318 of file kibombo.c.

KibomboWarriorsDanceScript

extern Sint32 KibomboWarriorsDanceScript[]

Sint32 KibomboWarriorsDanceScript[]

References scKibomboFaceRandomWay() and Sint32.

Referenced by scKibomboWarriorsPanic().

Definition at lines 90 and 4518 of file kibombo.c.

KibomboUnusedBeforeFireColors

Uint8 KibomboUnusedBeforeFireColors[4]

Unused: nothing reads these bytes.

Definition at line 92 of file kibombo.c.

KibomboFireColors

Sint16 KibomboFireColors[4]

The room's fire colours as it opens (KIBOMBO_FIRE_COLOR), which its flicker brightens and dims.

Referenced by scKibomboFlickerColor(), scKibomboFlickerRedColor(), scKibomboInitCeremony(), scKibomboInitStatueFace() and scKibomboInitStatueGroundsCeremony().

Definition at line 95 of file kibombo.c.

KibomboVillageActorPlacements

extern ACTOR_PLACE KibomboVillageActorPlacements[]

ACTOR_PLACE KibomboVillageActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 503 and 4708 of file kibombo.c.

KibomboCeremonyActorPlacements

extern ACTOR_PLACE KibomboCeremonyActorPlacements[]

ACTOR_PLACE KibomboCeremonyActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 504 and 4748 of file kibombo.c.

KibomboStatueGroundsActorPlacements

extern ACTOR_PLACE KibomboStatueGroundsActorPlacements[]

ACTOR_PLACE KibomboStatueGroundsActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 505 and 4810 of file kibombo.c.

KibomboStatueGroundsCeremonyActorPlacements

extern ACTOR_PLACE KibomboStatueGroundsCeremonyActorPlacements[]

ACTOR_PLACE KibomboStatueGroundsCeremonyActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 506 and 4832 of file kibombo.c.

KibomboHousesActorPlacements

extern ACTOR_PLACE KibomboHousesActorPlacements[]

ACTOR_PLACE KibomboHousesActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 507 and 4882 of file kibombo.c.

KibomboActorPlacements

extern ACTOR_PLACE KibomboActorPlacements[]

ACTOR_PLACE KibomboActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 508 and 4704 of file kibombo.c.

KibomboVillageCues

extern CUE KibomboVillageCues[]

CUE KibomboVillageCues[]

References scKibomboAskAboutFewerWarriors(), scKibomboAskAboutRevenge(), scKibomboEnterDoor(), scKibomboFreezePuddle(), scKibomboJumpForward(), scKibomboOverlayFollowsLeader(), scKibomboOverlayStopsFollowing() and scKibomboTalkPathToPeace().

Referenced by scGetCues().

Definition at lines 509 and 4933 of file kibombo.c.

KibomboCeremonyCues

extern CUE KibomboCeremonyCues[]

CUE KibomboCeremonyCues[]

References scKibomboEnterDoor(), scKibomboFreezePuddle(), scKibomboJumpForward(), scKibomboLeaveRoom(), scKibomboOverlayFollowsLeader(), scKibomboOverlayStopsFollowing() and scKibomboTalkForeignCeremony().

Referenced by scGetCues().

Definition at lines 510 and 5052 of file kibombo.c.

KibomboStatueGroundsCues

extern CUE KibomboStatueGroundsCues[]

CUE KibomboStatueGroundsCues[]

References scKibomboEnterVent(), scKibomboFreezePuddle(), scKibomboLeaveRoom(), scKibomboLeaveRoomFading(), scKibomboMovePillarForPiers(), scKibomboScoopEastMark(), scKibomboScoopNorthMark(), scKibomboScoopSouthMark(), scKibomboScoopVent() and scKibomboScoopWestMark().

Referenced by scGetCues().

Definition at lines 511 and 5265 of file kibombo.c.

KibomboStatueGroundsCeremonyCues

extern CUE KibomboStatueGroundsCeremonyCues[]

CUE KibomboStatueGroundsCeremonyCues[]

References scKibomboDeadEndByTheStatue(), scKibomboEnterVent(), scKibomboFreezePuddle(), scKibomboLeaveRoom(), scKibomboLeaveRoomFading(), scKibomboMeetPiers(), scKibomboMovePillarForPiers(), scKibomboPiersRefusesToLeave(), scKibomboPiersThanksParty(), scKibomboScoopEastMark(), scKibomboScoopNorthMark(), scKibomboScoopSouthMark(), scKibomboScoopVent() and scKibomboScoopWestMark().

Referenced by scGetCues().

Definition at lines 512 and 5308 of file kibombo.c.

KibomboHousesCues

extern CUE KibomboHousesCues[]

CUE KibomboHousesCues[]

References scKibomboAskGoingWest(), scKibomboOpenArmorShop(), scKibomboOpenInn(), scKibomboOpenItemShop(), scKibomboOpenSanctum(), scKibomboOpenWeaponShop(), scKibomboReadMindNeverAgain(), scKibomboStepOntoAkafubusLadder(), scKibomboStepOntoItemShopLadder(), scKibomboStepOntoTwoBedsLadder() and scKibomboTalkAchingBack().

Referenced by scGetCues().

Definition at lines 513 and 5418 of file kibombo.c.

KibomboCues

extern CUE KibomboCues[]

CUE KibomboCues[]

Referenced by scGetCues().

Definition at lines 514 and 4929 of file kibombo.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 4576 of file kibombo.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailBG_PLTT_INDEXFLAG_KIBOMBO_DEAD_END_SEENFLAG_KIBOMBO_PIERS_WITH_PARTYFLAG_KIBOMBO_PIERS_STAYED_BEHINDFLAG_KIBOMBO_VENT_UNCOVEREDFLAG_KIBOMBO_PILLAR_MOVED_FOR_PIERSFLAG_KIBOMBO_CEREMONY_BEGUNFLAG_PIERS_JOINEDFLAG_HEARD_OF_THE_FOREIGN_CEREMONYFLAG_KIBOMBO_VILLAGE_ROPE_TIEDFLAG_SAW_THE_GROUNDS_CEREMONYFLAG_KIBOMBO_LEFT_HOME_OF_AKAFUBUFLAG_NORTH_MARK_UNCOVEREDFLAG_SOUTH_MARK_UNCOVEREDFLAG_WEST_MARK_UNCOVEREDFLAG_EAST_MARK_UNCOVEREDFLAG_SCOOPING_NORTH_MARKFLAG_SCOOPING_SOUTH_MARKFLAG_SCOOPING_WEST_MARKFLAG_SCOOPING_EAST_MARKFLAG_KIBOMBO_BLOCKS_SHOWNFLAG_KIBOMBO_PUDDLE_FROZENFLAG_KIBOMBO_FIRES_FLICKERFLAG_KIBOMBO_DOORS_SHUTDEFINE_KIBOMBO_FLICKER_FIRESDEFINE_KIBOMBO_SET_WARRIORS_ANIMATIONCHANT_SPARKSDEFINE_KIBOMBO_STEP_WHEN_HELDEnumerations in detailKIBOMBO_FIRE_COLORanonymous enumKIBOMBO_STATUE_GROUNDS_ACTOR_IDSTATUE_TONGUE_POSEanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumKIBOMBO_METATILE_BEHAVIORanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumFunctions in detailscKibomboInitVillagescKibomboClampColorscKibomboFlashSpritescKibomboUncoverNorthMarkscKibomboUncoverSouthMarkscKibomboUncoverWestMarkscKibomboUncoverEastMarkscKibomboPiersHasForgottenPartyscKibomboPiersTakesPartyForEnemiesscKibomboAkafubuOffersCrystalscKibomboPiersJoinsPartyscKibomboFlickerColorscKibomboFlickerRedColorscKibomboFlickerVillageFiresscKibomboFlickerCeremonyFiresscKibomboFlickerStatueFiresscKibomboRaiseEmbersscKibomboRaiseSmokescKibomboLightSignalFirescKibomboRestoreBlocksscKibomboAkafubuChantsscKibomboSetStatueMouthscKibomboSetStatueTonguescKibomboStopFireFlickerscKibomboClimbDownLadderscKibomboOpenCeremonyScenescKibomboWarriorsPanicscKibomboCastScoopscKibomboSpinSpritescKibomboKeepShakeCenterscKibomboShakeInPlacescKibomboFaceRandomWayscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscGetCuesscKibomboAskAboutFewerWarriorsscKibomboAskAboutRevengescKibomboTalkPathToPeacescKibomboAskGoingWestscKibomboOpenWeaponShopscKibomboOpenArmorShopscKibomboOpenItemShopscKibomboOpenInnscKibomboOpenSanctumscKibomboTalkForeignCeremonyscKibomboTalkAchingBackscKibomboReadMindNeverAgainscKibomboSetBlocksShownscKibomboShowBlocksscKibomboHideBlocksscKibomboFreezePuddlescKibomboUncoverVentscKibomboScoopVentscKibomboScoopNorthMarkscKibomboScoopSouthMarkscKibomboScoopWestMarkscKibomboScoopEastMarkscKibomboMovePillarForPiersscKibomboMeetPiersscKibomboPiersThanksPartyscKibomboCountAnswerscKibomboCarryBlackCrystalscKibomboWarriorsBowscKibomboWarriorsStandscKibomboEndOfferingscKibomboPiersRefusesToLeavescKibomboDeadEndByTheStatuescKibomboOverlayFollowsLeaderscKibomboOverlayStopsFollowingscKibomboCreateBlackCrystalscKibomboPlaceDoorBlockByHeightscKibomboFlickerFlamescKibomboSpawnFlamescKibomboHideGroundsBlocksscKibomboHideInnBlocksscKibomboAkafubuCastsOnCrystalscKibomboSpinSparkscKibomboUncoverMarkUnderLeaderscKibomboLeaveRoomscKibomboLeaveRoomFadingscKibomboEnterDoorscKibomboStepOntoItemShopLadderscKibomboStepOntoAkafubusLadderscKibomboStepOntoTwoBedsLadderscKibomboEnterVentscKibomboGazeAtStatuescKibomboStatueFlashesscKibomboCeremonyStartsscKibomboPresentJewelToGabombascKibomboGabombaNotPleasedscKibomboWitchDoctorFeelsPowerscKibomboGabombaStillNotPleasedscKibomboGabombaSeesJewelscKibomboGabombaRespondsscKibomboGabombaRespondsToGiftscKibomboCeremonyEndsscInitscPrepareMapscKibomboInitVillageByDayscKibomboInitCeremonyscKibomboInitStatueGroundsscKibomboInitStatueGroundsByDayscKibomboInitStatueGroundsCeremonyscKibomboInitStatueFacescKibomboInitHousesscKibomboJumpForwardVariables in detailKibomboKradenMeetsPiersScriptKibomboJennaMeetsPiersScriptKibomboShebaMeetsPiersScriptKibomboPartyGathersScriptKibomboEyesShakeScriptKibomboEyesPopScriptKibomboFrozenPuddleKibomboHousesExitRegionsKibomboLeaderStepsUpScriptKibomboPiersStepsUpScriptKibomboKradenJoinsPiersScriptKibomboJennaJoinsPiersScriptKibomboShebaJoinsPiersScriptKibomboPartyFollowsScriptKibomboJennaAtDeadEndScriptKibomboShebaAtDeadEndScriptKibomboKradenAtDeadEndScriptKibomboPiersAtDeadEndScriptKibomboPartyLeavesDeadEndScriptKibomboEmberScriptKibomboWarriorsDanceScriptKibomboUnusedBeforeFireColorsKibomboFireColorsKibomboVillageActorPlacementsKibomboCeremonyActorPlacementsKibomboStatueGroundsActorPlacementsKibomboStatueGroundsCeremonyActorPlacementsKibomboHousesActorPlacementsKibomboActorPlacementsKibomboVillageCuesKibomboCeremonyCuesKibomboStatueGroundsCuesKibomboStatueGroundsCeremonyCuesKibomboHousesCuesKibomboCuesSceneExits