|
Digimon World 3 decomp
The European version, SLES_039.36
|
The field commands (FIELD_COMMAND_*) that the stages' event scripts send through script command 813: the partners halted, the player icon's animations, map objects shown or hidden, the camera's shake and sounds. More...
#include "field/field_mode.h"Go to the source code of this file.
Functions | |
| void | FIELDSTG_updateCommandTask (Task *task) |
| The task of script command 813: on substate 1 it stops the partners following. | |
| static void | showObjectGroups (s32 command) |
| The commands that hide or show a group of the map objects (by their anim) | |
| static void | playCommandSound (s32 command) |
| The commands that play a sound. | |
| static void | playHeldSound (s32 command) |
| The commands that play a sound that goes on until a stop command keys it off (FIELDSTG_heldVoice) | |
| static void | stopHeldSound (s32 command) |
| The commands that stop that sound. | |
| void | FIELDSTG_handleFieldCommand (Task *task, s32 command) |
| Runs a field command (FIELD_COMMAND_*) of an event script: halts the partners through the command task, sets the player icon's substate, hides or shows a group of map objects, shakes the camera, searches the event spot, or plays a sound; four sounds are held, to be keyed off by a later command. | |
| void | FIELDSTG_startCommandTask (void) |
| Creates the task of script command 813 (the create of FIELDSTG_scriptCommands) | |
The field commands (FIELD_COMMAND_*) that the stages' event scripts send through script command 813: the partners halted, the player icon's animations, map objects shown or hidden, the camera's shake and sounds.
The first object of FIELDSTG.PRO (see data/fieldstg.c).
Definition in file commands.c.
| void FIELDSTG_updateCommandTask | ( | Task * | task | ) |
The task of script command 813: on substate 1 it stops the partners following.
Definition at line 10 of file commands.c.
Referenced by FIELDSTG_startCommandTask().
|
inlinestatic |
The commands that hide or show a group of the map objects (by their anim)
< hides the map objects of group 0
< hides the map objects of group 6 - 1
< hides the map objects of group 0
< the StageTile.anim of group 0; group n has 100 + n
< shows them
< shows them
< shows them
< the StageTile.anim of group 0; group n has 100 + n
Definition at line 27 of file commands.c.
Referenced by FIELDSTG_handleFieldCommand().
|
inlinestatic |
The commands that play a sound.
< TELEPORT
Definition at line 49 of file commands.c.
Referenced by FIELDSTG_handleFieldCommand().
|
inlinestatic |
The commands that play a sound that goes on until a stop command keys it off (FIELDSTG_heldVoice)
< held
< held until SOUND.keyOff
< held
< held until SOUND.keyOff
Definition at line 122 of file commands.c.
Referenced by FIELDSTG_handleFieldCommand().
|
inlinestatic |
The commands that stop that sound.
< held
< held until SOUND.keyOff
< held until SOUND.keyOff
< held
Definition at line 140 of file commands.c.
Referenced by FIELDSTG_handleFieldCommand().
Runs a field command (FIELD_COMMAND_*) of an event script: halts the partners through the command task, sets the player icon's substate, hides or shows a group of map objects, shakes the camera, searches the event spot, or plays a sound; four sounds are held, to be keyed off by a later command.
< the partners stop following
< its substate 3, with ITEM_GET
< its substate 2
< the player icon's substate 1, with ITEM_GET
< the icon over the player's head
< FIELDSTG_searchEventSpot
Definition at line 164 of file commands.c.
| void FIELDSTG_startCommandTask | ( | void | ) |
Creates the task of script command 813 (the create of FIELDSTG_scriptCommands)
< script command 813 (FIELDSTG_startCommandTask): the field commands
Definition at line 207 of file commands.c.