Skip to Content
The Alchemy Project

struct CUE

A cue: its kind and detail, the subject it answers, its condition and its value (a message or a script).

Declared in scene_tables.h.

Fields

NameDescription
Uint32kindThe kind and its detail, read by fdFindCue and the item, Psynergy and examine cue lookups; -1 ends the table.
Sint16subjectWhat the cue answers: an actor id, a metatile behavior, a treasure spot id or a raised value.
Sint16conditionCONDITION_ALWAYS, IF_FLAG_SET(flag), or a flag that must be clear.
Sint32valueA message below CUE_RESULT_MESSAGE_END, else a script; for an exit, the exit kind its scene's exit table matches, and for an examine cue, a FIND_ value.

Description

A cue: its kind and detail, the subject it answers, its condition and its value (a message or a script).

struct CUE

Referenced by AlpineCrossingCues, AltinCues, AltinNoCues, AltinPeakCuesOther, AltinPeakFallingRocksCues, AltinPeakFirstWaterBeastCues, AltinPeakFirstWaterBeastCuesDrained, AltinPeakHydrosStatueCues, AltinPeakJunctionCues, AltinPeakPoolCues, AltinPeakRailTunnelCues, AltinPeakSecondWaterBeastCues, AltinPeakSouthEntranceCues, AltinPeakSpritzCues, AltinPeakThirdWaterBeastCues, AltinPeakWestExitCues, AltmillerCaveBabiCues, AltmillerCaveCookieChestCues, AltmillerCaveCuesOther, AltmillerCaveDraughtCues, AltmillerCaveSquallCues, AltmillerCaveVialChestCues, BabiLighthouseEntryCues, BabiLighthouseLuffCues, BabiLighthouseRoadCues, BabiLighthouseStoneDoorCues, BabiPalaceCuesAfterColosso, BabiPalaceCuesBabiMissing, BabiPalaceCuesFinals, BabiPalaceOutsideCuesAfterColosso, BabiPalaceOutsideCuesBabiMissing, BabiPalaceOutsideCuesFinals, BattleArenaCues, BilibinBarricadeCues, BilibinCaveCuesOther, BilibinCaveEntranceCues, BilibinCaveIceCues, BilibinCaveRapierCues, BilibinCues, BilibinCuesOther, BilibinTreasuryCues, ColosseumAzartMatchCues, ColosseumCues, ColosseumCuesFromColosseumAzartMatchWest, ColosseumEntranceCues, ColosseumEntranceCuesOther, ColosseumNavampaMatchCues, ColosseumSatrageMatchCues, ColosseumTunnelCues, CottageRoomsACues and 234 more.

Definition at line 245 of file scene_tables.h.

Fields in detail

kind

Uint32 kind

The kind and its detail, read by fdFindCue and the item, Psynergy and examine cue lookups; -1 ends the table.

subject

Sint16 subject

What the cue answers: an actor id, a metatile behavior, a treasure spot id or a raised value.

condition

Sint16 condition

CONDITION_ALWAYS, IF_FLAG_SET(flag), or a flag that must be clear.

value

Sint32 value

A message below CUE_RESULT_MESSAGE_END, else a script; for an exit, the exit kind its scene's exit table matches, and for an examine cue, a FIND_ value.