|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG551: South Badland, West Sector. 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_07) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_500 - 1) |
| #define | STAGE_FILE 0x5D2 |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map, actors, battles and events, playing BGM_0018; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set. | |
Variables | |
| s16 | script1226 [] |
| AreaBattle | area0Battle0 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle1 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle2 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle3 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle4 = { 133, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle5 = { 133, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle6 = { 169, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle7 = { 169, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | area0Battles |
| AreaBattle | area1Battle0 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle1 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle2 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle3 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle4 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle5 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle6 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle7 = { 0, 3, (0x60000000 | ( 2 ) << 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 = { 234, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle1 = { 282, 3, (0x60000000 | ( 3 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle4 = { 334, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle5 = { 169, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle7 = { 180, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | area3Battles |
| FieldBattles | stageBattles [] |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Actions [] = { (0x9000 | ( 0x12 )) , 1, 0xFFFF } |
| u16 | actor1Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor1Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor1Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 7 )) , 0, 0xFFFF } |
| u16 | actor1Talk2Conditions [] = { (0x7200 | ( 7 )) , 1, (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF } |
| u16 | actor1Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x32 )) , 1, 0xFFFF } |
| u16 | actor1Talk3Conditions [] |
| u16 | actor1Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x25 )) , 1, 0xFFFF } |
| u16 | actor1Talk4Conditions [] |
| u16 | actor2Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor2Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor2Talk1Conditions [] = { (0x7200 | ( 0xA )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor2Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x46 )) , 0, (0x7200 | ( 0xA )) , 1, 0xFFFF } |
| u16 | actor2Talk2Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x46 )) , 1, 0xFFFF } |
| u16 | actor2Talk3Conditions [] |
| u16 | actor2Talk4Conditions [] |
| u16 | actor2Talk4Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x32 )) , 1, 0xFFFF } |
| u16 | actor3Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF } |
| u16 | actor3Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF } |
| u16 | actor3Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF } |
| u16 | actor3Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF } |
| u16 | actor3Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF } |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor1Talks [] |
| FieldTalk | actor2Talks [] |
| FieldTalk | actor3Talks [] |
| FieldTalk | actor4Talks [] |
| u16 | actor0Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] |
| u16 | actor2Conditions [] |
| u16 | actor3Conditions [] |
| u16 | actor4Conditions [] |
| FieldActorEntry | actor0 = { actor0Conditions, actor0Talks, 0x15, 4, 369, 209, 7 } |
| FieldActorEntry | actor1 = { actor1Conditions, actor1Talks, 0x45, 5, 752, 690, 5 } |
| FieldActorEntry | actor2 = { actor2Conditions, actor2Talks, 0x45, 5, 752, 690, 5 } |
| FieldActorEntry | actor3 = { actor3Conditions, actor3Talks, 0x45, 5, 752, 690, 5 } |
| FieldActorEntry | actor4 = { actor4Conditions, actor4Talks, 0x45, 5, 752, 690, 5 } |
| 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 [] |
WSTAG551: South Badland, West Sector.
On the Amaterasu server; its Asuka server twin is WSTAG550.
Definition in file wstag551.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_07) |
Definition at line 17 of file wstag551.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_500 - 1) |
Definition at line 18 of file wstag551.c.
| #define STAGE_FILE 0x5D2 |
Definition at line 19 of file wstag551.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors, battles and events, playing BGM_0018; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.
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_0018: the Badlands
< BGM_0018: the Badlands
< a cell's value: a direction (3 bits) and a StageSlot (5)
< a cell's value: its battle area (FieldBattles), or 0
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)
< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)
Definition at line 25 of file wstag551.c.
| s16 script1226[] |
Definition at line 50 of file wstag551.c.
| AreaBattle area0Battle0 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 70 of file wstag551.c.
| AreaBattle area0Battle1 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 71 of file wstag551.c.
| AreaBattle area0Battle2 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 72 of file wstag551.c.
| AreaBattle area0Battle3 = { 132, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 73 of file wstag551.c.
| AreaBattle area0Battle4 = { 133, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 74 of file wstag551.c.
| AreaBattle area0Battle5 = { 133, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 75 of file wstag551.c.
| AreaBattle area0Battle6 = { 169, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 76 of file wstag551.c.
| AreaBattle area0Battle7 = { 169, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 77 of file wstag551.c.
| BattleList area0Battles |
Definition at line 78 of file wstag551.c.
| AreaBattle area1Battle0 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 83 of file wstag551.c.
| AreaBattle area1Battle1 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 84 of file wstag551.c.
| AreaBattle area1Battle2 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 85 of file wstag551.c.
| AreaBattle area1Battle3 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 86 of file wstag551.c.
| AreaBattle area1Battle4 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 87 of file wstag551.c.
| AreaBattle area1Battle5 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 88 of file wstag551.c.
| AreaBattle area1Battle6 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 89 of file wstag551.c.
| AreaBattle area1Battle7 = { 0, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 90 of file wstag551.c.
| BattleList area1Battles |
Definition at line 91 of file wstag551.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 96 of file wstag551.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 97 of file wstag551.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 98 of file wstag551.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 99 of file wstag551.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 100 of file wstag551.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 101 of file wstag551.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 102 of file wstag551.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 103 of file wstag551.c.
| BattleList area2Battles |
Definition at line 104 of file wstag551.c.
| AreaBattle area3Battle0 = { 234, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 109 of file wstag551.c.
| AreaBattle area3Battle1 = { 282, 3, (0x60000000 | ( 3 ) << 18 | ( 0 )) } |
Definition at line 110 of file wstag551.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 111 of file wstag551.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 112 of file wstag551.c.
| AreaBattle area3Battle4 = { 334, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 113 of file wstag551.c.
| AreaBattle area3Battle5 = { 169, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 114 of file wstag551.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 115 of file wstag551.c.
| AreaBattle area3Battle7 = { 180, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 116 of file wstag551.c.
| BattleList area3Battles |
Definition at line 117 of file wstag551.c.
| FieldBattles stageBattles[] |
| ActorImage stageImages[] |
Definition at line 125 of file wstag551.c.
Referenced by setupStage().
| u16 actor0Talk0Actions[] = { (0x9000 | ( 0x12 )) , 1, 0xFFFF } |
Definition at line 135 of file wstag551.c.
| u16 actor1Talk0Conditions[] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 136 of file wstag551.c.
| u16 actor1Talk0Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 137 of file wstag551.c.
| u16 actor1Talk1Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 7 )) , 0, 0xFFFF } |
Definition at line 138 of file wstag551.c.
| u16 actor1Talk2Conditions[] = { (0x7200 | ( 7 )) , 1, (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF } |
Definition at line 139 of file wstag551.c.
| u16 actor1Talk2Actions[] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x32 )) , 1, 0xFFFF } |
Definition at line 140 of file wstag551.c.
| u16 actor1Talk3Conditions[] |
Definition at line 141 of file wstag551.c.
| u16 actor1Talk3Actions[] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x25 )) , 1, 0xFFFF } |
Definition at line 148 of file wstag551.c.
| u16 actor1Talk4Conditions[] |
Definition at line 149 of file wstag551.c.
| u16 actor2Talk0Conditions[] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 156 of file wstag551.c.
| u16 actor2Talk0Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 157 of file wstag551.c.
| u16 actor2Talk1Conditions[] = { (0x7200 | ( 0xA )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 158 of file wstag551.c.
| u16 actor2Talk2Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x46 )) , 0, (0x7200 | ( 0xA )) , 1, 0xFFFF } |
Definition at line 159 of file wstag551.c.
| u16 actor2Talk2Actions[] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x46 )) , 1, 0xFFFF } |
Definition at line 160 of file wstag551.c.
| u16 actor2Talk3Conditions[] |
Definition at line 161 of file wstag551.c.
| u16 actor2Talk4Conditions[] |
Definition at line 168 of file wstag551.c.
| u16 actor2Talk4Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x32 )) , 1, 0xFFFF } |
Definition at line 175 of file wstag551.c.
| u16 actor3Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF } |
Definition at line 176 of file wstag551.c.
| u16 actor3Talk1Conditions[] = { (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF } |
Definition at line 177 of file wstag551.c.
| u16 actor3Talk1Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF } |
Definition at line 178 of file wstag551.c.
| u16 actor3Talk2Conditions[] = { (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF } |
Definition at line 179 of file wstag551.c.
| u16 actor3Talk2Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF } |
Definition at line 180 of file wstag551.c.
| FieldTalk actor0Talks[] |
Definition at line 181 of file wstag551.c.
| FieldTalk actor1Talks[] |
Definition at line 185 of file wstag551.c.
| FieldTalk actor2Talks[] |
Definition at line 193 of file wstag551.c.
| FieldTalk actor3Talks[] |
Definition at line 201 of file wstag551.c.
| FieldTalk actor4Talks[] |
Definition at line 207 of file wstag551.c.
| u16 actor0Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 211 of file wstag551.c.
| u16 actor1Conditions[] |
Definition at line 212 of file wstag551.c.
| u16 actor2Conditions[] |
Definition at line 219 of file wstag551.c.
| u16 actor3Conditions[] |
Definition at line 226 of file wstag551.c.
| u16 actor4Conditions[] |
Definition at line 232 of file wstag551.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x15, 4, 369, 209, 7 } |
Definition at line 237 of file wstag551.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x45, 5, 752, 690, 5 } |
Definition at line 238 of file wstag551.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x45, 5, 752, 690, 5 } |
Definition at line 239 of file wstag551.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x45, 5, 752, 690, 5 } |
Definition at line 240 of file wstag551.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x45, 5, 752, 690, 5 } |
Definition at line 241 of file wstag551.c.
| FieldActorEntry* stageActors[] |
Definition at line 242 of file wstag551.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 250 of file wstag551.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 268 of file wstag551.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 287 of file wstag551.c.
| FieldEvent stageEvents[] |
Definition at line 290 of file wstag551.c.
Referenced by setupStage().