Skip to Content
The Alchemy Project

struct SCENE_EXIT_REGION

A scene's exit region: the box that, while its condition holds, takes the party leader out through its exit.

Declared in scene_tables.h.

Fields

NameDescription
Sint16minX, minY, minZ , minY, minZpixels, inclusive; minX -1 ends the table
Sint16maxX, maxY, maxZ , maxY, maxZpixels, exclusive
Sint16conditionCONDITION_ALWAYS, flag | CONDITION_FLAG_SET set, else flag clear
Sint16valuethe exit kind, stored in FIELD_STATE's exit

Description

A scene's exit region: the box that, while its condition holds, takes the party leader out through its exit.

struct SCENE_EXIT_REGION

Referenced by AltinPeakFallingRocksRegions, AltinPeakHydrosStatueRegions, BabiLighthouseEntryRegions, BabiPalaceRegions, fdCheckExitRegions(), KolimaForestTreeRegions, KolimaTunnelRegions, LogRoomsARegions, scGetExitRegions(), TimberRoomsARegions, TimberRoomsBRegions, TimberRoomsCRegions, TolbiShipDeckRegions, TolbiShipMastRegions, TreeRoomsRegions, TunnelRuinsLadyStatuesRegions and VaultCaveRegions.

Definition at line 494 of file scene_tables.h.

Fields in detail

minX, minY, minZ

Sint16 minX, minY, minZ

pixels, inclusive; minX -1 ends the table

maxX, maxY, maxZ

Sint16 maxX, maxY, maxZ

pixels, exclusive

condition

Sint16 condition

CONDITION_ALWAYS, flag | CONDITION_FLAG_SET set, else flag clear

value

Sint16 value

the exit kind, stored in FIELD_STATE's exit