|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG965: Seabed, Underground: below Central Park, Bulk Bridge and Phoenix Bay, in the extra chapter. More...
#include "common.h"#include "field/stage.h"#include "common/copy_place_points.inc.c"#include "common/update_stage_places.inc.c"#include "common/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_09) |
| #define | STAGE_FILE 0x939 |
| #define | STAGE_FILE_8 0x6E0 |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and battles, playing BGM_0027. | |
Variables | |
| const CVECTOR | stageColor = { 0x54, 0x67, 0x96, 0x01 } |
| the color the setup copies to FIELDSTG_state.spriteColor | |
| StagePoint | placePoints3_1Point2 = { 0x2E6, 3, 1, 0x450, 0x248, 1, ((void *)0) } |
| StagePoint | placePoints3_1Point1 = { 0x2E4, 3, 1, 192, 0x180, 5, &placePoints3_1Point2 } |
| StagePoint | placePoints3_1Point0 = { 0x296, 0, 0, 0x240, 0x200, 0, &placePoints3_1Point1 } |
| StagePoints | placePoints3_1 = { 3, 1, &placePoints3_1Point0 } |
| StagePoints * | placePoints [] |
| Names some stages define. | |
| ActorImage | stageImages [] |
| FieldActorEntry | actor0 = { ((void *)0) , ((void *)0) , 0x147, 4, 0, 0, 0 } |
| 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. | |
| AreaBattle | area0Battle0 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle1 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle2 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle3 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle4 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle5 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle6 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle7 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | area0Battles |
| AreaBattle | area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area1Battles |
| AreaBattle | area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area2Battles |
| AreaBattle | area3Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area3Battles |
| FieldBattles | stageBattles [] |
WSTAG965: Seabed, Underground: below Central Park, Bulk Bridge and Phoenix Bay, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 741 starts it instead of WSTAG850.
Definition in file wstag965.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_09) |
Definition at line 16 of file wstag965.c.
| #define STAGE_FILE 0x939 |
Definition at line 17 of file wstag965.c.
| #define STAGE_FILE_8 0x6E0 |
Definition at line 18 of file wstag965.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and battles, playing BGM_0027.
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.
< BGM_0027: the Seabed tunnels
< BGM_0027: the Seabed tunnels
< a cell's value: a direction (3 bits) and a StageSlot (5)
< a cell's value: its battle area (FieldBattles), or 0
Definition at line 25 of file wstag965.c.
| const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x01 } |
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 14 of file wstag965.c.
Referenced by setupStage().
| StagePoint placePoints3_1Point2 = { 0x2E6, 3, 1, 0x450, 0x248, 1, ((void *)0) } |
Definition at line 46 of file wstag965.c.
| StagePoint placePoints3_1Point1 = { 0x2E4, 3, 1, 192, 0x180, 5, &placePoints3_1Point2 } |
Definition at line 47 of file wstag965.c.
| StagePoint placePoints3_1Point0 = { 0x296, 0, 0, 0x240, 0x200, 0, &placePoints3_1Point1 } |
Definition at line 48 of file wstag965.c.
| StagePoints placePoints3_1 = { 3, 1, &placePoints3_1Point0 } |
Definition at line 49 of file wstag965.c.
| StagePoints* placePoints[] |
Names some stages define.
Definition at line 50 of file wstag965.c.
| ActorImage stageImages[] |
Definition at line 53 of file wstag965.c.
Referenced by setupStage().
| FieldActorEntry actor0 = { ((void *)0) , ((void *)0) , 0x147, 4, 0, 0, 0 } |
Definition at line 62 of file wstag965.c.
| FieldActorEntry* stageActors[] |
Definition at line 63 of file wstag965.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 67 of file wstag965.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 85 of file wstag965.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 91 of file wstag965.c.
| AreaBattle area0Battle0 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 94 of file wstag965.c.
| AreaBattle area0Battle1 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 95 of file wstag965.c.
| AreaBattle area0Battle2 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 96 of file wstag965.c.
| AreaBattle area0Battle3 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 97 of file wstag965.c.
| AreaBattle area0Battle4 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 98 of file wstag965.c.
| AreaBattle area0Battle5 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 99 of file wstag965.c.
| AreaBattle area0Battle6 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 100 of file wstag965.c.
| AreaBattle area0Battle7 = { 64, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 101 of file wstag965.c.
| BattleList area0Battles |
Definition at line 102 of file wstag965.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 107 of file wstag965.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 108 of file wstag965.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 109 of file wstag965.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 110 of file wstag965.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 111 of file wstag965.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 112 of file wstag965.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 113 of file wstag965.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 114 of file wstag965.c.
| BattleList area1Battles |
Definition at line 115 of file wstag965.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 120 of file wstag965.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 121 of file wstag965.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 122 of file wstag965.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 123 of file wstag965.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 124 of file wstag965.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 125 of file wstag965.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 126 of file wstag965.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 127 of file wstag965.c.
| BattleList area2Battles |
Definition at line 128 of file wstag965.c.
| AreaBattle area3Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 133 of file wstag965.c.
| AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 134 of file wstag965.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 135 of file wstag965.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 136 of file wstag965.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 137 of file wstag965.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 138 of file wstag965.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 139 of file wstag965.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 140 of file wstag965.c.
| BattleList area3Battles |
Definition at line 141 of file wstag965.c.
| FieldBattles stageBattles[] |