Skip to Content
The Alchemy Project

src/scene/shared/leader_open_door_and_enter.c

Included by eastern_alhafra.c and lemuria_palace.c.

Functions

NameDescription
voidscLeaderOpenDoorAndEnter (const MAP_EDIT *door, Sint32 exit, Sint32 unused)Felix walks into a door: it opens, he walks through it, lined up with it, and the screen closes as he leaves by exit.

Functions in detail

scLeaderOpenDoorAndEnter

void scLeaderOpenDoorAndEnter(const MAP_EDIT *door, Sint32 exit, Sint32 unused)

Felix walks into a door: it opens, he walks through it, lined up with it, and the screen closes as he leaves by exit. Eastern Alhafra's ship cabin and Lemuria's palace doors open so.

References fdActorCenterAndWalk(), fdActorGet(), fdActorSetAnimation(), fdMapGridAnimateMetatiles(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait() and Sint32.

Referenced by scEasternAlhafraEnterShip() and scLemuriaPalaceEnterDoor().

Definition at line 4 of file leader_open_door_and_enter.c.