Skip to Content
The Alchemy Project

src/field/field_effect_data.c

The ropes' phases, the tints a field Psynergy fades toward, and the scripts that hold and release a field effect.

Variables

NameDescription
const Sint32RopeLashPhaseSix words of zero.
const Sint32RopeUntiePhase
const Sint32RopeDebugSwinging
const Sint32TightropeLashPhase
const Sint32TightropeUntiePhase
const Sint32TightropeDebugSwinging
const Uint32FieldPsynergyCastColors [8]The eight tints the screen fades toward while a field Psynergy is cast: picked by the Psynergy, by a FLAG_PSYNERGY_TINT flag, or at a summon tablet by the tick counter.
const Sint32MindReadCrescentEndScript []A script that releases its actor at once: a Mind Read crescent's end, once it reaches the caster (fdMindReadUpdateCrescent).
const Sint32 *constFieldEffectDurationScripts [3]The field effects' three scripts by how long an effect lasts: short, medium and long.

Description

The ropes' phases, the tints a field Psynergy fades toward, and the scripts that hold and release a field effect.

Variables in detail

RopeLashPhase

const Sint32 RopeLashPhase

Six words of zero. The functions that read them also write to them (wave phases and two flags), but they lie in the cartridge, so the writes are lost and each stays zero.

References Sint32.

Referenced by fdRopeLash().

Definition at line 10 of file field_effect_data.c.

RopeUntiePhase

const Sint32 RopeUntiePhase

References Sint32.

Referenced by fdRopeUntie().

Definition at line 11 of file field_effect_data.c.

RopeDebugSwinging

const Sint32 RopeDebugSwinging

References Sint32.

Referenced by fdRopeDebugSwing().

Definition at line 12 of file field_effect_data.c.

TightropeLashPhase

const Sint32 TightropeLashPhase

References Sint32.

Referenced by fdTightropeLash().

Definition at line 13 of file field_effect_data.c.

TightropeUntiePhase

const Sint32 TightropeUntiePhase

References Sint32.

Referenced by fdTightropeUntie().

Definition at line 14 of file field_effect_data.c.

TightropeDebugSwinging

const Sint32 TightropeDebugSwinging

References Sint32.

Referenced by fdTightropeDebugSwing().

Definition at line 15 of file field_effect_data.c.

FieldPsynergyCastColors

const Uint32 FieldPsynergyCastColors[8]

The eight tints the screen fades toward while a field Psynergy is cast: picked by the Psynergy, by a FLAG_PSYNERGY_TINT flag, or at a summon tablet by the tick counter.

Referenced by fdPsynergyFadeToCastColor() and fdSummonTabletPlayRunes().

Definition at line 21 of file field_effect_data.c.

MindReadCrescentEndScript

const Sint32 MindReadCrescentEndScript[]

A script that releases its actor at once: a Mind Read crescent's end, once it reaches the caster (fdMindReadUpdateCrescent).

References Sint32.

Referenced by fdMindReadUpdateCrescent().

Definition at line 29 of file field_effect_data.c.

FieldEffectDurationScripts

const Sint32 *const FieldEffectDurationScripts[3]

The field effects' three scripts by how long an effect lasts: short, medium and long.

References FieldEffectLongEffectScript, FieldEffectMediumEffectScript, FieldEffectShortEffectScript and Sint32.

Referenced by fdEffectSpawnResident(), scFieldEffectSpawn() and scFieldEffectSpawnLocal().

Definition at line 35 of file field_effect_data.c.