|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG927: Digimon Arena, Amaterasu City, in the extra chapter. More...
#include "common.h"#include "field/stage.h"#include "common/step_looping_animation.inc.c"#include "common/update_tile_anims2.inc.c"#include "common/create_tile_anims_58.inc.c"#include "common/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 0x8 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
| #define | STAGE_FILE 0x8ED |
| #define | STAGE_FILE_8 0x346 |
| #define | EVENT_TEXT_FILE EXTRA_TEXT |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates an object and the event object of flag 0x100C. | |
| void | endEvent1608 (void) |
| After event 1608, with Kurt: starts the stage's event battle 0 and keeps it from playing again. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors, battles and events, playing KANRIBGM. | |
Variables | |
| AnimFrame | updateTileAnimsFrames0 [] |
| Defined below, after the code that uses them. | |
| AnimFrame | updateTileAnimsFrames1 [] |
| s16 | script1608 [] |
| Defined below, after the tables that use them. | |
| s16 | script1610 [] |
| ActorImage | stageImages [] |
| FieldActorEntry | actor0 = { ((void *)0) , ((void *)0) , 0x68, 4, 0, 0, 1 } |
| FieldActorEntry * | stageActors [] |
| StageTile | stageObjects [] |
| The tables and color setupStage gives FIELDSTG_state (FieldState) | |
| 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 [] |
| AreaBattle | area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 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 = { 262, 47, (0x60000000 | ( 0x25 ) << 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 [] |
WSTAG927: Digimon Arena, Amaterasu City, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 632 starts it instead of WSTAG233.
Definition in file wstag927.c.
| #define STAGE_CHILDREN_SIZE 0x8 |
Definition at line 40 of file wstag927.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
Definition at line 50 of file wstag927.c.
| #define STAGE_FILE 0x8ED |
Definition at line 51 of file wstag927.c.
| #define STAGE_FILE_8 0x346 |
Definition at line 52 of file wstag927.c.
| #define EVENT_TEXT_FILE EXTRA_TEXT |
Definition at line 133 of file wstag927.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates an object and the event object of flag 0x100C.
< 0x10 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x10 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 20 of file wstag927.c.
| void endEvent1608 | ( | void | ) |
After event 1608, with Kurt: starts the stage's event battle 0 and keeps it from playing again.
< 0x10 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 44 of file wstag927.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors, battles and events, playing KANRIBGM.
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.
< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room
< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room
Definition at line 59 of file wstag927.c.
| AnimFrame updateTileAnimsFrames0[] |
Defined below, after the code that uses them.
Definition at line 81 of file wstag927.c.
| AnimFrame updateTileAnimsFrames1[] |
Definition at line 88 of file wstag927.c.
| s16 script1608 |
Defined below, after the tables that use them.
Definition at line 139 of file wstag927.c.
| s16 script1610 |
Definition at line 182 of file wstag927.c.
| ActorImage stageImages[] |
Definition at line 95 of file wstag927.c.
Referenced by setupStage().
| FieldActorEntry actor0 = { ((void *)0) , ((void *)0) , 0x68, 4, 0, 0, 1 } |
Definition at line 104 of file wstag927.c.
| FieldActorEntry* stageActors[] |
Definition at line 105 of file wstag927.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 109 of file wstag927.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 130 of file wstag927.c.
| FieldEvent stageEvents[] |
Definition at line 134 of file wstag927.c.
Referenced by setupStage().
| AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 220 of file wstag927.c.
| AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 221 of file wstag927.c.
| AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 222 of file wstag927.c.
| AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 223 of file wstag927.c.
| AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 224 of file wstag927.c.
| AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 225 of file wstag927.c.
| AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 226 of file wstag927.c.
| AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 227 of file wstag927.c.
| BattleList area0Battles |
Definition at line 228 of file wstag927.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 233 of file wstag927.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 234 of file wstag927.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 235 of file wstag927.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 236 of file wstag927.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 237 of file wstag927.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 238 of file wstag927.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 239 of file wstag927.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 240 of file wstag927.c.
| BattleList area1Battles |
Definition at line 241 of file wstag927.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 246 of file wstag927.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 247 of file wstag927.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 248 of file wstag927.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 249 of file wstag927.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 250 of file wstag927.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 251 of file wstag927.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 252 of file wstag927.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 253 of file wstag927.c.
| BattleList area2Battles |
Definition at line 254 of file wstag927.c.
| AreaBattle area3Battle0 = { 262, 47, (0x60000000 | ( 0x25 ) << 18 | ( 0 )) } |
Definition at line 259 of file wstag927.c.
| AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 260 of file wstag927.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 261 of file wstag927.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 262 of file wstag927.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 263 of file wstag927.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 264 of file wstag927.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 265 of file wstag927.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 266 of file wstag927.c.
| BattleList area3Battles |
Definition at line 267 of file wstag927.c.
| FieldBattles stageBattles[] |