Skip to Content
The Alchemy Project

src/field/script_commands_scripts.c

The particle scripts of the field commands after the rope and vine pictures, Mind Read's colour cycle and the pad's headings, in the order of The Broken Seal's field_engine_tables.c.

Variables

NameDescription
const Sint32FieldEffectUnusedWord [1]Unused: one word, 17, which no code names.
const Sint32FieldEffectReleaseScript [][0] only releases the actor, +1 waits for it to arrive and releases it.
const Sint32FieldEffectSourceHoldScript []Faces the watched actor every tick, forever: the caster holding its target while Move, Carry or Lift has it (each gives the caster its target first).
const Sint32FieldEffectFragmentScript []A shard or particle: waits to arrive, slows to 1/16 pixel a tick, and releases itself 10 ticks later.
const Uint8MindReadCasterColorCycle [8]The colour modes Mind Read's caster cycles through, two ticks each (fdActorSetLayersColorMode): its colour channels swapped one way after another and back to its own; The Broken Seal's MindReadCasterPaletteCycle.
const Uint16InputDpadAngles [16]An angle for each value of the right, left, up and down bits of the +Control Pad; DPAD_ANGLE_NONE for none (fdInputGetDpadAngle, script_commands_mind_read.c).

Description

The particle scripts of the field commands after the rope and vine pictures, Mind Read's colour cycle and the pad's headings, in the order of The Broken Seal's field_engine_tables.c.

Variables in detail

FieldEffectUnusedWord

const Sint32 FieldEffectUnusedWord[1]

Unused: one word, 17, which no code names.

References Sint32.

Definition at line 15 of file script_commands_scripts.c.

FieldEffectReleaseScript

const Sint32 FieldEffectReleaseScript[]

[0] only releases the actor, +1 waits for it to arrive and releases it.

References Sint32.

Referenced by fdDjinnRunVenusJoinEffect(), fdEffectInitFallingFragment(), fdEffectLandDouseDrop(), fdEffectRunSparkEmitter(), fdEffectSpawnBurstParticleField(), fdEffectSpawnHeavyImpact(), fdEffectUpdateDriftingFallActor(), fdEffectUpdateOrbitingParticleFade(), fdEffectUpdateShrinkingOrbitActor(), fdEffectWanderAroundAnchor() and fdPsynergyForce().

Definition at line 18 of file script_commands_scripts.c.

FieldEffectSourceHoldScript

const Sint32 FieldEffectSourceHoldScript[]

Faces the watched actor every tick, forever: the caster holding its target while Move, Carry or Lift has it (each gives the caster its target first).

References Sint32.

Referenced by fdPsynergyLiftOnTarget(), fdPsynergySteerLiftedTarget() and fdPsynergySteerPushedTarget().

Definition at line 26 of file script_commands_scripts.c.

FieldEffectFragmentScript

const Sint32 FieldEffectFragmentScript[]

A shard or particle: waits to arrive, slows to 1/16 pixel a tick, and releases itself 10 ticks later.

References Sint32.

Referenced by fdBattleEffectSpawnScatterParticle(), fdEffectBurstHand(), fdEffectSpawnHeavyImpact(), fdEffectSpawnMoveHand(), fdPsynergyCarry(), fdPsynergyLift() and fdPsynergySteerLiftedTarget().

Definition at line 34 of file script_commands_scripts.c.

MindReadCasterColorCycle

const Uint8 MindReadCasterColorCycle[8]

The colour modes Mind Read's caster cycles through, two ticks each (fdActorSetLayersColorMode): its colour channels swapped one way after another and back to its own; The Broken Seal's MindReadCasterPaletteCycle.

Referenced by fdActorSetLayersColorMode().

Definition at line 45 of file script_commands_scripts.c.

InputDpadAngles

const Uint16 InputDpadAngles[16]

An angle for each value of the right, left, up and down bits of the +Control Pad; DPAD_ANGLE_NONE for none (fdInputGetDpadAngle, script_commands_mind_read.c).

Referenced by fdInputGetDpadAngle().

Definition at line 60 of file script_commands_scripts.c.