|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG925: Login Room, Amaterasu City, in the extra chapter. More...
#include "common.h"#include "field/stage.h"#include "common/start_stage.inc.c"#include "common/step_animation_once.inc.c"#include "common/reset_tile_effect.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
| #define | STAGE_FILE 0x8E9 |
| #define | STAGE_FILE_8 0x19E |
| #define | EVENT_TEXT_FILE EXTRA_TEXT |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of flag 0x40CD while it is clear. | |
| void | endEvent1600 (void) |
| After event 1600, with the Tour Leader (Digimon Online's practice): heals the party's HP and MP (the European special action 0x53) and keeps it from playing again. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing the ambience ENV_0011. | |
| void | updateTileEffect (StageTileEffect *task) |
| Moves the map objects with animations 1 to 3 to (x, y) and plays their animations once with a sound, then hides them and kills itself. | |
| void * | createCommand855 (s32 id) |
| Creates the StageTileEffect of updateTileEffect at (0x150, 0x112) with the given id. | |
Variables | |
| AnimFrame * | updateTileEffectFrames [] |
| Defined below, after the code that uses them. | |
| s8 | tileEffectSortY [] |
| s8 | tileEffectY [] |
| s16 | script1600 [] |
| Defined below, after the tables that use them. | |
| ActorImage | stageImages [] |
| FieldTalk | actor1Talks [] |
| u16 | actor0Conditions [] = { (( 0x40 ) << 8 | ( 0xCD )) , 0, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
| FieldActorEntry | actor1 = { ((void *)0) , actor1Talks, 0xD, 5, 265, 397, 3 } |
| FieldActorEntry * | stageActors [] |
| StageTile | stageObjects [] |
| The tables and color setupStage gives FIELDSTG_state (FieldState) | |
| StageSlot | stageSlots [] |
| void(* | stageFuncs [])(void) |
| The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage. | |
| FieldEvent | stageEvents [] |
| AnimFrame | updateTileEffectFrames_0 [] |
| AnimFrame | updateTileEffectFrames_2 [] |
| AnimFrame | updateTileEffectFrames_1 [] |
WSTAG925: Login Room, Amaterasu City, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 630 starts it instead of WSTAG226.
Definition in file wstag925.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 31 of file wstag925.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
Definition at line 45 of file wstag925.c.
| #define STAGE_FILE 0x8E9 |
Definition at line 46 of file wstag925.c.
| #define STAGE_FILE_8 0x19E |
Definition at line 47 of file wstag925.c.
| #define EVENT_TEXT_FILE EXTRA_TEXT |
Definition at line 210 of file wstag925.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of flag 0x40CD while it is clear.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 15 of file wstag925.c.
| void endEvent1600 | ( | void | ) |
After event 1600, with the Tour Leader (Digimon Online's practice): heals the party's HP and MP (the European special action 0x53) and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< SPECIAL_CONDITIONS entry 0x53
Definition at line 39 of file wstag925.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing the ambience ENV_0011.
Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.
< ENV_0011: Asuka's Digimon Lab and Login Room
< ENV_0011: Asuka's Digimon Lab and Login Room
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 54 of file wstag925.c.
| void updateTileEffect | ( | StageTileEffect * | task | ) |
Moves the map objects with animations 1 to 3 to (x, y) and plays their animations once with a sound, then hides them and kills itself.
Definition at line 78 of file wstag925.c.
Referenced by createCommand855().
| void * createCommand855 | ( | s32 | id | ) |
Creates the StageTileEffect of updateTileEffect at (0x150, 0x112) with the given id.
Definition at line 156 of file wstag925.c.
| AnimFrame* updateTileEffectFrames[] |
Defined below, after the code that uses them.
Definition at line 281 of file wstag925.c.
Referenced by updateTileEffect().
| s8 tileEffectSortY[] |
Definition at line 284 of file wstag925.c.
Referenced by updateTileEffect().
| s8 tileEffectY[] |
Definition at line 287 of file wstag925.c.
Referenced by updateTileEffect().
| s16 script1600 |
Defined below, after the tables that use them.
Definition at line 215 of file wstag925.c.
| ActorImage stageImages[] |
Definition at line 167 of file wstag925.c.
Referenced by setupStage().
| FieldTalk actor1Talks[] |
Definition at line 177 of file wstag925.c.
| u16 actor0Conditions[] = { (( 0x40 ) << 8 | ( 0xCD )) , 0, 0xFFFF } |
Definition at line 181 of file wstag925.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
Definition at line 182 of file wstag925.c.
| FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0xD, 5, 265, 397, 3 } |
Definition at line 183 of file wstag925.c.
| FieldActorEntry* stageActors[] |
Definition at line 184 of file wstag925.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 189 of file wstag925.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 203 of file wstag925.c.
Referenced by setupStage().
| void(* stageFuncs[])(void) | ( | void | ) |
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.
Definition at line 207 of file wstag925.c.
| FieldEvent stageEvents[] |
Definition at line 211 of file wstag925.c.
Referenced by setupStage().
| AnimFrame updateTileEffectFrames_0[] |
Definition at line 264 of file wstag925.c.
| AnimFrame updateTileEffectFrames_2[] |
Definition at line 268 of file wstag925.c.
| AnimFrame updateTileEffectFrames_1[] |
Definition at line 275 of file wstag925.c.