|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG936: Water Tunnel, Amaterasu City, in the extra chapter. More...
#include "common.h"#include "field/stage.h"#include "common/update_stage.inc.c"#include "common/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
| #define | STAGE_FILE 0x8FF |
| #define | STAGE_FILE_8 0x1B0 |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map and actors, playing the ambience ENV_0004. | |
Variables | |
| const CVECTOR | stageColor = { 0x54, 0x67, 0x96, 0x00 } |
| the color the setup copies to FIELDSTG_state.spriteColor | |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Conditions [] = { (( 0x18 ) << 8 | ( 6 )) , 1, 0xFFFF } |
| u16 | actor0Talk1Conditions [] = { (( 0x18 ) << 8 | ( 6 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor0Talk1Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor0Talk2Conditions [] |
| u16 | actor0Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF } |
| u16 | actor0Talk3Conditions [] |
| u16 | actor0Talk3Actions [] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF } |
| u16 | actor0Talk4Conditions [] |
| u16 | actor0Talk4Actions [] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF } |
| u16 | actor0Talk5Conditions [] |
| u16 | actor0Talk5Actions [] = { (( 0 ) << 8 | ( 4 )) , 1, 0xFFFF } |
| u16 | actor0Talk6Conditions [] |
| u16 | actor0Talk6Actions [] |
| FieldTalk | actor0Talks [] |
| FieldActorEntry | actor0 = { ((void *)0) , actor0Talks, 0x3F, 4, 175, 408, 1 } |
| 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. | |
WSTAG936: Water Tunnel, Amaterasu City, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 641 starts it instead of WSTAG276.
Definition in file wstag936.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
Definition at line 15 of file wstag936.c.
| #define STAGE_FILE 0x8FF |
Definition at line 16 of file wstag936.c.
| #define STAGE_FILE_8 0x1B0 |
Definition at line 17 of file wstag936.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map and actors, playing the ambience ENV_0004.
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_0004: the Water Tunnel
< ENV_0004: the Water Tunnel
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 24 of file wstag936.c.
| const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x00 } |
the color the setup copies to FIELDSTG_state.spriteColor
the color the setup copies to FIELDSTG_state.spriteColor
It starts the stage, before its jump tables: in wstag924.c GCC would align them to 8 bytes after it, so it is a file of its own, linked first
Definition at line 13 of file wstag936.c.
Referenced by setupStage().
| ActorImage stageImages[] |
Definition at line 43 of file wstag936.c.
Referenced by setupStage().
| u16 actor0Talk0Conditions[] = { (( 0x18 ) << 8 | ( 6 )) , 1, 0xFFFF } |
Definition at line 52 of file wstag936.c.
| u16 actor0Talk1Conditions[] = { (( 0x18 ) << 8 | ( 6 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 53 of file wstag936.c.
| u16 actor0Talk1Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 54 of file wstag936.c.
| u16 actor0Talk2Conditions[] |
Definition at line 55 of file wstag936.c.
| u16 actor0Talk2Actions[] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF } |
Definition at line 61 of file wstag936.c.
| u16 actor0Talk3Conditions[] |
Definition at line 62 of file wstag936.c.
| u16 actor0Talk3Actions[] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF } |
Definition at line 69 of file wstag936.c.
| u16 actor0Talk4Conditions[] |
Definition at line 70 of file wstag936.c.
| u16 actor0Talk4Actions[] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF } |
Definition at line 78 of file wstag936.c.
| u16 actor0Talk5Conditions[] |
Definition at line 79 of file wstag936.c.
| u16 actor0Talk5Actions[] = { (( 0 ) << 8 | ( 4 )) , 1, 0xFFFF } |
Definition at line 88 of file wstag936.c.
| u16 actor0Talk6Conditions[] |
Definition at line 89 of file wstag936.c.
| u16 actor0Talk6Actions[] |
Definition at line 98 of file wstag936.c.
| FieldTalk actor0Talks[] |
Definition at line 104 of file wstag936.c.
| FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x3F, 4, 175, 408, 1 } |
Definition at line 114 of file wstag936.c.
| FieldActorEntry* stageActors[] |
Definition at line 115 of file wstag936.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 119 of file wstag936.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 140 of file wstag936.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 145 of file wstag936.c.