Skip to Content
The Alchemy Project

include/scene/walk_into_leader.h

A companion and the party leader: placed on the leader, walked toward the leader, or walked into the leader and taken off the map, as the scenes' scripts gather the party back into one walking sprite.

Included by altmiller_cave.c, babi_lighthouse.c, babi_palace.c, colosseum_entrance.c, imil.c, lunpa_fortress.c, mercury_lighthouse.c, ship_rooms.c, sol_sanctum_elemental_star_room.c, sol_sanctum_entrance.c, sol_sanctum_luna_sol_rooms.c, sol_sanctum_statue.c, suhalla_desert.c, suhalla_gate.c, timber_rooms_bc.c, tree_rooms.c, vale.c, vale_kradens_cottage.c, vale_plaza.c, vale_prologue.c, vault.c, venus_lighthouse.c, west_lunpa_cave.c and world_map.c.

Functions

NameDescription
static inline voidscPlaceAtLeader (Sint32 actorId)Puts an actor where the leader stands, if there is a leader.
static inline voidscWalkTowardLeader (Sint32 actorId)Sends an actor walking to where the leader stands, if there is a leader.
static inline voidscWalkIntoLeader (Sint32 actorId)An actor walks into the leader and is taken off the map, as the party closes up into one walking sprite at the end of a script.

Description

A companion and the party leader: placed on the leader, walked toward the leader, or walked into the leader and taken off the map, as the scenes' scripts gather the party back into one walking sprite.

Functions in detail

scPlaceAtLeader

static inline void scPlaceAtLeader(Sint32 actorId)

Puts an actor where the leader stands, if there is a leader.

References fdActorGet(), fdActorSetPosFX() and Sint32.

Referenced by scColosseumEntranceCrowdRecognizesIsaac(), scImilMeetMiaAtOldCouplesHouse(), scImilMiaSaysFarewellToApprentices(), scLunpaFortressGatherPartyAroundHammet(), scSolSanctumElementalStarRoomEnterStarRoom(), scSolSanctumElementalStarRoomTakeMarsStar(), scSolSanctumEntranceIntroduceSanctum(), scSolSanctumEntranceKradenSeesStatuesOutOfReach(), scTreeRoomsFightTret(), scValePlazaSentToAidElders() and scWestLunpaCaveHammetFindsBunza().

Definition at line 11 of file walk_into_leader.h.

scWalkTowardLeader

static inline void scWalkTowardLeader(Sint32 actorId)

Sends an actor walking to where the leader stands, if there is a leader.

References fdActorGet(), fdActorSetDestination() and Sint32.

Referenced by scSolSanctumEntranceIntroduceSanctum() and scValeKradensCottageWalkTowardLeader().

Definition at line 22 of file walk_into_leader.h.

scWalkIntoLeader

static inline void scWalkIntoLeader(Sint32 actorId)

An actor walks into the leader and is taken off the map, as the party closes up into one walking sprite at the end of a script.

References fdActorGet(), fdActorSetAnimation(), fdActorSetDestination(), fdActorWaitForMoveById() and Sint32.

Referenced by scAltmillerCaveRestoreBabiAndInviteParty(), scBabiLighthouseExplainTruthDoor(), scBabiLighthouseFaranAsksPartyToOpenDoor(), scBabiPalaceMeetBabiAfterColosso(), scBabiPalaceRestInPalaceBeds(), scBabiPalaceWakeAfterFinals(), scBabiPalaceWakeFromFinalsDream(), scInit(), scMercuryLighthouseMiaJoinsAfterRescue(), scShipRoomsAskSecondGuideToRow(), scShipRoomsAskStaredAtPassengerToRow(), scShipRoomsAskToRow(), scShipRoomsReturnLuckyAnchor(), scSolSanctumElementalStarRoomAlexTakesStars(), scSolSanctumElementalStarRoomEnterStarRoom(), scSolSanctumEntranceKradenSeesStatuesOutOfReach(), scSolSanctumLunaSolRoomsArriveAfterWiseOnesRescue(), scSolSanctumLunaSolRoomsKradenFindsHeartOfSanctum(), scSolSanctumLunaSolRoomsKradenSeesLunaPictureChange(), scSolSanctumLunaSolRoomsKradenStopsPartyLeaving(), scSolSanctumStatueExplainStatuePuzzle(), scSolSanctumStatueExplainTrapDisarmed(), scSuhallaDesertIodemAsksWhetherToPressOn(), scSuhallaDesertRaiseStorm(), scSuhallaGateIodemQuestionsGuards(), scTimberRoomsBCReportToFaran(), scValeGaretAsksToProtectFamily(), scValeGaretMeetsHisSister(), scValeJennaSaysKradenIsWaiting(), scValeKradensCottageOverhearKraden(), scValeKradensCottageTalkToRockslideSurvivor(), scValePlazaSentToAidElders(), scValePrologueDoraGoesForHelp(), scValePrologueGaretLeavesHisChest(), scValePrologueGaretTalksAboutBlockedPath(), scValePrologueUnusedGaretJoinsIsaac(), scValePrologueWarnAboutMtAleph(), scValePrologueWatchBoulderFall(), scVenusLighthouseMovePillarTowardWall(), scWestLunpaCaveRideWagon(), scWestLunpaCaveStayBehind() and scWorldMapShowHammetsCaravan().

Definition at line 35 of file walk_into_leader.h.