|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG525: Suzaku UG Lake, South Sector. More...
Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_06) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_500 - 1) |
| #define | STAGE_FILE 0x3C3 |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Back from the battle after event 1273, starts event 1274, with Kyukimon, unless it has played. | |
| void | endEvent550 (void) |
| After event 550, with Nick and Keith: lets event 551 of WSTAG620 start. | |
| void | endEvent1273 (void) |
| After event 1273, with Kyukimon: lets event 1274 start and starts the stage's event battle 0. | |
| void | endEvent1274 (void) |
| After event 1274, with Kyukimon: gives the player the Kotemon DDNA and keeps it from playing again. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0015. | |
Variables | |
| s16 | script550 [] |
| s16 | script1273 [] |
| s16 | script1274 [] |
| AreaBattle | area0Battle0 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle1 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle2 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle3 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle4 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle5 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle6 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle7 = { 65, 27, (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 = { 268, 27, (0x60000000 | ( 0x22 ) << 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 [] |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Actions [] |
| u16 | actor3Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x16 )) , 0, 0xFFFF } |
| u16 | actor3Talk0Actions [] = { (0x9000 | ( 0x29 )) , 1, (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF } |
| u16 | actor3Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF } |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor3Talks [] |
| u16 | actor0Conditions [] = { (( 2 ) << 8 | ( 8 )) , 0, 0xFFFF } |
| u16 | actor1Conditions [] |
| u16 | actor2Conditions [] |
| u16 | actor3Conditions [] = { (( 6 ) << 8 | ( 4 )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x13 )), 0, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 545, 177, 1 } |
| FieldActorEntry | actor1 = { actor1Conditions, ((void *)0) , 0x66, 5, 113, 729, 5 } |
| FieldActorEntry | actor2 = { actor2Conditions, ((void *)0) , 0x67, 6, 145, 713, 1 } |
| FieldActorEntry | actor3 = { actor3Conditions, actor3Talks, 0x80, 7, 128, 168, 7 } |
| 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 [] |
WSTAG525: Suzaku UG Lake, South Sector.
Definition in file wstag525.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 25 of file wstag525.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_06) |
Definition at line 53 of file wstag525.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_500 - 1) |
Definition at line 54 of file wstag525.c.
| #define STAGE_FILE 0x3C3 |
Definition at line 55 of file wstag525.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Back from the battle after event 1273, starts event 1274, with Kyukimon, unless it has played.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 9 of file wstag525.c.
| void endEvent550 | ( | void | ) |
After event 550, with Nick and Keith: lets event 551 of WSTAG620 start.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 29 of file wstag525.c.
| void endEvent1273 | ( | void | ) |
After event 1273, with Kyukimon: lets event 1274 start and starts the stage's event battle 0.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 34 of file wstag525.c.
| void endEvent1274 | ( | void | ) |
After event 1274, with Kyukimon: gives the player the Kotemon DDNA and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 43 of file wstag525.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0015.
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_0015: the UG Lake
< ENV_0015: the UG Lake
< 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 58 of file wstag525.c.
| s16 script550[] |
Definition at line 79 of file wstag525.c.
| s16 script1273[] |
Definition at line 188 of file wstag525.c.
| s16 script1274[] |
Definition at line 208 of file wstag525.c.
| AreaBattle area0Battle0 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 231 of file wstag525.c.
| AreaBattle area0Battle1 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 232 of file wstag525.c.
| AreaBattle area0Battle2 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 233 of file wstag525.c.
| AreaBattle area0Battle3 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 234 of file wstag525.c.
| AreaBattle area0Battle4 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 235 of file wstag525.c.
| AreaBattle area0Battle5 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 236 of file wstag525.c.
| AreaBattle area0Battle6 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 237 of file wstag525.c.
| AreaBattle area0Battle7 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 238 of file wstag525.c.
| BattleList area0Battles |
Definition at line 239 of file wstag525.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 244 of file wstag525.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 245 of file wstag525.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 246 of file wstag525.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 247 of file wstag525.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 248 of file wstag525.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 249 of file wstag525.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 250 of file wstag525.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 251 of file wstag525.c.
| BattleList area1Battles |
Definition at line 252 of file wstag525.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 257 of file wstag525.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 258 of file wstag525.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 259 of file wstag525.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 260 of file wstag525.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 261 of file wstag525.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 262 of file wstag525.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 263 of file wstag525.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 264 of file wstag525.c.
| BattleList area2Battles |
Definition at line 265 of file wstag525.c.
| AreaBattle area3Battle0 = { 268, 27, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
Definition at line 270 of file wstag525.c.
| AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 271 of file wstag525.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 272 of file wstag525.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 273 of file wstag525.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 274 of file wstag525.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 275 of file wstag525.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 276 of file wstag525.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 277 of file wstag525.c.
| BattleList area3Battles |
Definition at line 278 of file wstag525.c.
| FieldBattles stageBattles[] |
| ActorImage stageImages[] |
Definition at line 286 of file wstag525.c.
Referenced by setupStage().
| u16 actor0Talk0Actions[] |
Definition at line 298 of file wstag525.c.
| u16 actor3Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0x16 )) , 0, 0xFFFF } |
Definition at line 304 of file wstag525.c.
| u16 actor3Talk0Actions[] = { (0x9000 | ( 0x29 )) , 1, (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 305 of file wstag525.c.
| u16 actor3Talk1Conditions[] = { (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 306 of file wstag525.c.
| FieldTalk actor0Talks[] |
Definition at line 307 of file wstag525.c.
| FieldTalk actor3Talks[] |
Definition at line 311 of file wstag525.c.
| u16 actor0Conditions[] = { (( 2 ) << 8 | ( 8 )) , 0, 0xFFFF } |
Definition at line 316 of file wstag525.c.
| u16 actor1Conditions[] |
Definition at line 317 of file wstag525.c.
| u16 actor2Conditions[] |
Definition at line 322 of file wstag525.c.
| u16 actor3Conditions[] = { (( 6 ) << 8 | ( 4 )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x13 )), 0, 0xFFFF } |
Definition at line 327 of file wstag525.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 545, 177, 1 } |
Definition at line 328 of file wstag525.c.
| FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x66, 5, 113, 729, 5 } |
Definition at line 329 of file wstag525.c.
| FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x67, 6, 145, 713, 1 } |
Definition at line 330 of file wstag525.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x80, 7, 128, 168, 7 } |
Definition at line 331 of file wstag525.c.
| FieldActorEntry* stageActors[] |
Definition at line 332 of file wstag525.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 339 of file wstag525.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 410 of file wstag525.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 422 of file wstag525.c.
| FieldEvent stageEvents[] |
Definition at line 425 of file wstag525.c.
Referenced by setupStage().