|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG285: Admin Center 1F, Asuka City. More...
Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
| #define | STAGE_FILE 0x2B5 |
| #define | STAGE_ARCHIVE 0x32D |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of the story so far, the first that applies. | |
| void | endEvent272 (void) |
| Clears the flag of the story so far. | |
| void | endEvent340 (void) |
| After event 340, with DO Guard: keeps it from playing again. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28. | |
Variables | |
| s16 | script40 [] |
| s16 | script272 [] |
| s16 | script340 [] |
| 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 = { 189, 15, (0x60000000 | ( 2 ) << 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 | actor1Talk0Actions [] |
| u16 | actor7Talk0Actions [] |
| u16 | actor8Talk0Actions [] |
| u16 | actor9Talk0Actions [] |
| u16 | actor10Talk0Actions [] |
| FieldTalk | actor1Talks [] |
| FieldTalk | actor3Talks [] |
| FieldTalk | actor7Talks [] |
| FieldTalk | actor8Talks [] |
| FieldTalk | actor9Talks [] |
| FieldTalk | actor10Talks [] |
| FieldTalk | actor11Talks [] |
| FieldTalk | actor12Talks [] |
| u16 | actor0Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] = { (( 2 ) << 8 | ( 0x15 )) , 0, 0xFFFF } |
| u16 | actor2Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
| u16 | actor3Conditions [] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF } |
| u16 | actor4Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
| u16 | actor5Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
| u16 | actor6Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
| u16 | actor7Conditions [] |
| u16 | actor8Conditions [] |
| u16 | actor9Conditions [] |
| u16 | actor10Conditions [] |
| u16 | actor11Conditions [] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF } |
| u16 | actor12Conditions [] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, ((void *)0) , 0xB, 4, 0, 0, 1 } |
| FieldActorEntry | actor1 = { actor1Conditions, actor1Talks, 0x21, 5, 825, 285, 1 } |
| FieldActorEntry | actor2 = { actor2Conditions, ((void *)0) , 0x25, 6, 560, 673, 1 } |
| FieldActorEntry | actor3 = { actor3Conditions, actor3Talks, 0x25, 6, 560, 673, 1 } |
| FieldActorEntry | actor4 = { actor4Conditions, ((void *)0) , 0x26, 7, 823, 819, 3 } |
| FieldActorEntry | actor5 = { actor5Conditions, ((void *)0) , 0x27, 8, 438, 244, 1 } |
| FieldActorEntry | actor6 = { actor6Conditions, ((void *)0) , 0x6A, 9, 0, 0, 1 } |
| FieldActorEntry | actor7 = { actor7Conditions, actor7Talks, 0x132, 0xA, 823, 819, 3 } |
| FieldActorEntry | actor8 = { actor8Conditions, actor8Talks, 0x133, 0xB, 438, 244, 1 } |
| FieldActorEntry | actor9 = { actor9Conditions, actor9Talks, 0x134, 0xC, 370, 574, 3 } |
| FieldActorEntry | actor10 = { actor10Conditions, actor10Talks, 0x135, 0xD, 349, 586, 7 } |
| FieldActorEntry | actor11 = { actor11Conditions, actor11Talks, 0x17D, 0xE, 823, 819, 3 } |
| FieldActorEntry | actor12 = { actor12Conditions, actor12Talks, 0x17E, 0xF, 438, 244, 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. | |
| FieldEvent | stageEvents [] |
WSTAG285: Admin Center 1F, Asuka City.
Definition in file wstag285.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 36 of file wstag285.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
Definition at line 55 of file wstag285.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
Definition at line 56 of file wstag285.c.
| #define STAGE_FILE 0x2B5 |
Definition at line 57 of file wstag285.c.
| #define STAGE_ARCHIVE 0x32D |
Definition at line 58 of file wstag285.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of the story so far, the first that applies.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 9 of file wstag285.c.
| void endEvent272 | ( | void | ) |
Clears the flag of the story so far.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 40 of file wstag285.c.
| void endEvent340 | ( | void | ) |
After event 340, with DO Guard: keeps it from playing again.
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 45 of file wstag285.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.
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
< a cell's value: a direction (3 bits) and a StageSlot (5)
< 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)
< 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 64 of file wstag285.c.
| s16 script40[] |
Definition at line 92 of file wstag285.c.
| s16 script272[] |
Definition at line 124 of file wstag285.c.
| s16 script340[] |
Definition at line 167 of file wstag285.c.
| AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 204 of file wstag285.c.
| AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 205 of file wstag285.c.
| AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 206 of file wstag285.c.
| AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 207 of file wstag285.c.
| AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 208 of file wstag285.c.
| AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 209 of file wstag285.c.
| AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 210 of file wstag285.c.
| AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 211 of file wstag285.c.
| BattleList area0Battles |
Definition at line 212 of file wstag285.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 217 of file wstag285.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 218 of file wstag285.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 219 of file wstag285.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 220 of file wstag285.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 221 of file wstag285.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 222 of file wstag285.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 223 of file wstag285.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 224 of file wstag285.c.
| BattleList area1Battles |
Definition at line 225 of file wstag285.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 230 of file wstag285.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 231 of file wstag285.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 232 of file wstag285.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 233 of file wstag285.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 234 of file wstag285.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 235 of file wstag285.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 236 of file wstag285.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 237 of file wstag285.c.
| BattleList area2Battles |
Definition at line 238 of file wstag285.c.
| AreaBattle area3Battle0 = { 189, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 243 of file wstag285.c.
| AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 244 of file wstag285.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 245 of file wstag285.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 246 of file wstag285.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 247 of file wstag285.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 248 of file wstag285.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 249 of file wstag285.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 250 of file wstag285.c.
| BattleList area3Battles |
Definition at line 251 of file wstag285.c.
| FieldBattles stageBattles[] |
| ActorImage stageImages[] |
Definition at line 259 of file wstag285.c.
Referenced by setupStage().
| u16 actor1Talk0Actions[] |
Definition at line 279 of file wstag285.c.
| u16 actor7Talk0Actions[] |
Definition at line 285 of file wstag285.c.
| u16 actor8Talk0Actions[] |
Definition at line 290 of file wstag285.c.
| u16 actor9Talk0Actions[] |
Definition at line 295 of file wstag285.c.
| u16 actor10Talk0Actions[] |
Definition at line 300 of file wstag285.c.
| FieldTalk actor1Talks[] |
Definition at line 305 of file wstag285.c.
| FieldTalk actor3Talks[] |
Definition at line 309 of file wstag285.c.
| FieldTalk actor7Talks[] |
Definition at line 313 of file wstag285.c.
| FieldTalk actor8Talks[] |
Definition at line 317 of file wstag285.c.
| FieldTalk actor9Talks[] |
Definition at line 321 of file wstag285.c.
| FieldTalk actor10Talks[] |
Definition at line 325 of file wstag285.c.
| FieldTalk actor11Talks[] |
Definition at line 329 of file wstag285.c.
| FieldTalk actor12Talks[] |
Definition at line 333 of file wstag285.c.
| u16 actor0Conditions[] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF } |
Definition at line 337 of file wstag285.c.
| u16 actor1Conditions[] = { (( 2 ) << 8 | ( 0x15 )) , 0, 0xFFFF } |
Definition at line 338 of file wstag285.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
Definition at line 339 of file wstag285.c.
| u16 actor3Conditions[] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF } |
Definition at line 340 of file wstag285.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
Definition at line 341 of file wstag285.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
Definition at line 342 of file wstag285.c.
| u16 actor6Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 343 of file wstag285.c.
| u16 actor7Conditions[] |
Definition at line 344 of file wstag285.c.
| u16 actor8Conditions[] |
Definition at line 349 of file wstag285.c.
| u16 actor9Conditions[] |
Definition at line 354 of file wstag285.c.
| u16 actor10Conditions[] |
Definition at line 359 of file wstag285.c.
| u16 actor11Conditions[] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF } |
Definition at line 364 of file wstag285.c.
| u16 actor12Conditions[] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF } |
Definition at line 365 of file wstag285.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 0xB, 4, 0, 0, 1 } |
Definition at line 366 of file wstag285.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x21, 5, 825, 285, 1 } |
Definition at line 367 of file wstag285.c.
| FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x25, 6, 560, 673, 1 } |
Definition at line 368 of file wstag285.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x25, 6, 560, 673, 1 } |
Definition at line 369 of file wstag285.c.
| FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x26, 7, 823, 819, 3 } |
Definition at line 370 of file wstag285.c.
| FieldActorEntry actor5 = { actor5Conditions, ((void *)0) , 0x27, 8, 438, 244, 1 } |
Definition at line 371 of file wstag285.c.
| FieldActorEntry actor6 = { actor6Conditions, ((void *)0) , 0x6A, 9, 0, 0, 1 } |
Definition at line 372 of file wstag285.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x132, 0xA, 823, 819, 3 } |
Definition at line 373 of file wstag285.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x133, 0xB, 438, 244, 1 } |
Definition at line 374 of file wstag285.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x134, 0xC, 370, 574, 3 } |
Definition at line 375 of file wstag285.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x135, 0xD, 349, 586, 7 } |
Definition at line 376 of file wstag285.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x17D, 0xE, 823, 819, 3 } |
Definition at line 377 of file wstag285.c.
| FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x17E, 0xF, 438, 244, 1 } |
Definition at line 378 of file wstag285.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 395 of file wstag285.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 441 of file wstag285.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 447 of file wstag285.c.
| FieldEvent stageEvents[] |
Definition at line 450 of file wstag285.c.
Referenced by setupStage().