Skip to Content
The Alchemy Project

struct SCENE_ENTRANCE

Where the party arrives by one of a scene's entrances, which way the leader faces, and the camera's bounds there.

Declared in scene_tables.h.

Fields

NameDescription
Sint16entrancethe entrance number; SCENE_TABLE_END ends the table
Sint16requiredFlaga flag that must be set, or -1 for none
Sint16xpixels
Sint16ypixels
Sint16zpixels
Uint16facing1/65536 turns (FACING)
Sint16unusedAfterFacingno code names it
Sint16cameraLeftpixels, -1 for none
Sint16cameraToppixels, -1 for none
Sint16cameraRightpixels, -1 for none
Sint16cameraBottompixels, -1 for none
Sint16unusedAfterCameraBottomno code names it

Description

Where the party arrives by one of a scene's entrances, which way the leader faces, and the camera's bounds there.

struct SCENE_ENTRANCE

Referenced by AirsRockInsideEntrances, AirsRockInsideHallEntrances, DailaEntrances, fdPlaceAtEntranceRow(), GondowanCliffsEntrances, GondowanCliffsPassEntrances, LemurianShipAquaHydraEntrances, MadraCatacombsBookshelfEntrances, MadraCatacombsMainHallEntrances, SceneEntrances, scGetEntrances(), ShamanVillageSanctumEntrances, ShamanVillageTentsEntrances, SuhallaGateCaveEntrances, SuhallaGateCliffsEntrances, SuhallaGateRoadEntrances and YampiDesertSpringCaveEntrances.

Definition at line 107 of file scene_tables.h.

Fields in detail

entrance

Sint16 entrance

the entrance number; SCENE_TABLE_END ends the table

requiredFlag

Sint16 requiredFlag

a flag that must be set, or -1 for none

x

Sint16 x

pixels

y

Sint16 y

pixels

z

Sint16 z

pixels

facing

Uint16 facing

1/65536 turns (FACING)

unusedAfterFacing

Sint16 unusedAfterFacing

no code names it

cameraLeft

Sint16 cameraLeft

pixels, -1 for none

cameraTop

Sint16 cameraTop

pixels, -1 for none

cameraRight

Sint16 cameraRight

pixels, -1 for none

cameraBottom

Sint16 cameraBottom

pixels, -1 for none

unusedAfterCameraBottom

Sint16 unusedAfterCameraBottom

no code names it