Skip to Content
The Alchemy Project

include/field/field_engine_script.h

The field engine's script functions (field_engine_items.c, script_commands_field_psynergy.c, script_commands_scripts.c and script_commands_messages.c).

Included by field_engine.h.

Functions

NameDescription
Sint32fdRunPsynergyEndScripts (Sint32 packed)Runs the scene's scripts for Psynergy without paying its PP or showing its usual effect (PSYNERGY_PHASE_BEFORE_END and PSYNERGY_PHASE_AFTER_END, around the kind's ending), as for a Psynergy that ends by itself: packed holds the Psynergy (bits 0 to 9) and its user (bits 10 to 13).
Sint32fdRunPsynergyScript (const void *event, Sint32 param, Sint32 target)Runs the script tied to a field Psynergy: a result below CUE_RESULT_MESSAGE_END is a message, shown at target; a larger one is a function, called with param and target.
voidfdScriptUpdateDebugSkip (void)Debug only: while debug mode is on, R makes every script wait (fdScriptWait) end at once and L restores normal waits.
voidfdScriptNoOperationCallback (void)Unused: an empty callback, reached only through a bare stub in engine_stubs.s.

Description

The field engine's script functions (field_engine_items.c, script_commands_field_psynergy.c, script_commands_scripts.c and script_commands_messages.c).