|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG300: Admin Center 2F, 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_300 - 1) |
| #define | STAGE_FILE 0x34F |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of progress 0x16, which depends on flags 0x404A to 0x404C. | |
| void | endEvent570 (void) |
| After event 570, with Soldier: starts the stage's event battle 1, sets flag 0x0C11 (which decides whether actor 15 appears) and keeps it from playing again. | |
| void | endEvent571 (void) |
| After event 571, with the player: starts the stage's event battle 2 and keeps it from playing again. | |
| void | endEvent572 (void) |
| After event 572, with the player: 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. | |
WSTAG300: Admin Center 2F, Asuka City.
Definition in file wstag300.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 27 of file wstag300.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
Definition at line 60 of file wstag300.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_300 - 1) |
Definition at line 61 of file wstag300.c.
| #define STAGE_FILE 0x34F |
Definition at line 62 of file wstag300.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of progress 0x16, which depends on flags 0x404A to 0x404C.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 9 of file wstag300.c.
| void endEvent570 | ( | void | ) |
After event 570, with Soldier: starts the stage's event battle 1, sets flag 0x0C11 (which decides whether actor 15 appears) and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0xC 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 35 of file wstag300.c.
| void endEvent571 | ( | void | ) |
After event 571, with the player: starts the stage's event battle 2 and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 45 of file wstag300.c.
| void endEvent572 | ( | void | ) |
After event 572, with the player: keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 51 of file wstag300.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 68 of file wstag300.c.
| s16 script349[] |
Definition at line 96 of file wstag300.c.
| s16 script570[] |
Definition at line 154 of file wstag300.c.
| s16 script571[] |
Definition at line 176 of file wstag300.c.
| s16 script572[] |
Definition at line 236 of file wstag300.c.
| AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 264 of file wstag300.c.
| AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 265 of file wstag300.c.
| AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 266 of file wstag300.c.
| AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 267 of file wstag300.c.
| AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 268 of file wstag300.c.
| AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 269 of file wstag300.c.
| AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 270 of file wstag300.c.
| AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 271 of file wstag300.c.
| BattleList area0Battles |
Definition at line 272 of file wstag300.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 277 of file wstag300.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 278 of file wstag300.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 279 of file wstag300.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 280 of file wstag300.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 281 of file wstag300.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 282 of file wstag300.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 283 of file wstag300.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 284 of file wstag300.c.
| BattleList area1Battles |
Definition at line 285 of file wstag300.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 290 of file wstag300.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 291 of file wstag300.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 292 of file wstag300.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 293 of file wstag300.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 294 of file wstag300.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 295 of file wstag300.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 296 of file wstag300.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 297 of file wstag300.c.
| BattleList area2Battles |
Definition at line 298 of file wstag300.c.
| AreaBattle area3Battle0 = { 189, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 303 of file wstag300.c.
| AreaBattle area3Battle1 = { 190, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 304 of file wstag300.c.
| AreaBattle area3Battle2 = { 322, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 305 of file wstag300.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 306 of file wstag300.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 307 of file wstag300.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 308 of file wstag300.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 309 of file wstag300.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 310 of file wstag300.c.
| BattleList area3Battles |
Definition at line 311 of file wstag300.c.
| FieldBattles stageBattles[] |
| ActorImage stageImages[] |
Definition at line 319 of file wstag300.c.
Referenced by setupStage().
| u16 actor0Talk0Actions[] |
Definition at line 343 of file wstag300.c.
| u16 actor13Talk0Actions[] |
Definition at line 349 of file wstag300.c.
| u16 actor14Talk0Actions[] |
Definition at line 354 of file wstag300.c.
| u16 actor15Talk0Actions[] |
Definition at line 359 of file wstag300.c.
| u16 actor16Talk0Actions[] |
Definition at line 364 of file wstag300.c.
| u16 actor17Talk0Actions[] |
Definition at line 369 of file wstag300.c.
| u16 actor18Talk0Actions[] |
Definition at line 374 of file wstag300.c.
| u16 actor19Talk0Actions[] |
Definition at line 379 of file wstag300.c.
| FieldTalk actor0Talks[] |
Definition at line 384 of file wstag300.c.
| FieldTalk actor1Talks[] |
Definition at line 388 of file wstag300.c.
| FieldTalk actor2Talks[] |
Definition at line 392 of file wstag300.c.
| FieldTalk actor3Talks[] |
Definition at line 396 of file wstag300.c.
| FieldTalk actor4Talks[] |
Definition at line 400 of file wstag300.c.
| FieldTalk actor5Talks[] |
Definition at line 404 of file wstag300.c.
| FieldTalk actor6Talks[] |
Definition at line 408 of file wstag300.c.
| FieldTalk actor7Talks[] |
Definition at line 412 of file wstag300.c.
| FieldTalk actor8Talks[] |
Definition at line 416 of file wstag300.c.
| FieldTalk actor9Talks[] |
Definition at line 420 of file wstag300.c.
| FieldTalk actor10Talks[] |
Definition at line 424 of file wstag300.c.
| FieldTalk actor13Talks[] |
Definition at line 428 of file wstag300.c.
| FieldTalk actor14Talks[] |
Definition at line 432 of file wstag300.c.
| FieldTalk actor15Talks[] |
Definition at line 436 of file wstag300.c.
| FieldTalk actor16Talks[] |
Definition at line 440 of file wstag300.c.
| FieldTalk actor17Talks[] |
Definition at line 444 of file wstag300.c.
| FieldTalk actor18Talks[] |
Definition at line 448 of file wstag300.c.
| FieldTalk actor19Talks[] |
Definition at line 452 of file wstag300.c.
| FieldTalk actor21Talks[] |
Definition at line 456 of file wstag300.c.
| FieldTalk actor22Talks[] |
Definition at line 460 of file wstag300.c.
| FieldTalk actor23Talks[] |
Definition at line 464 of file wstag300.c.
| FieldTalk actor24Talks[] |
Definition at line 468 of file wstag300.c.
| u16 actor0Conditions[] = { (( 2 ) << 8 | ( 0x14 )) , 0, 0xFFFF } |
Definition at line 472 of file wstag300.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
Definition at line 473 of file wstag300.c.
| u16 actor2Conditions[] |
Definition at line 474 of file wstag300.c.
| u16 actor3Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 479 of file wstag300.c.
| u16 actor4Conditions[] |
Definition at line 480 of file wstag300.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
Definition at line 485 of file wstag300.c.
| u16 actor6Conditions[] |
Definition at line 486 of file wstag300.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 491 of file wstag300.c.
| u16 actor8Conditions[] |
Definition at line 492 of file wstag300.c.
| u16 actor9Conditions[] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
Definition at line 497 of file wstag300.c.
| u16 actor10Conditions[] |
Definition at line 498 of file wstag300.c.
| u16 actor11Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 503 of file wstag300.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 504 of file wstag300.c.
| u16 actor13Conditions[] |
Definition at line 505 of file wstag300.c.
| u16 actor14Conditions[] |
Definition at line 510 of file wstag300.c.
| u16 actor15Conditions[] |
Definition at line 515 of file wstag300.c.
| u16 actor16Conditions[] |
Definition at line 520 of file wstag300.c.
| u16 actor17Conditions[] |
Definition at line 525 of file wstag300.c.
| u16 actor18Conditions[] |
Definition at line 530 of file wstag300.c.
| u16 actor19Conditions[] |
Definition at line 535 of file wstag300.c.
| u16 actor20Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 540 of file wstag300.c.
| u16 actor21Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 541 of file wstag300.c.
| u16 actor22Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 542 of file wstag300.c.
| u16 actor23Conditions[] |
Definition at line 543 of file wstag300.c.
| u16 actor24Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 548 of file wstag300.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 700, 283, 1 } |
Definition at line 549 of file wstag300.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x25, 5, 880, 225, 1 } |
Definition at line 550 of file wstag300.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x25, 5, 880, 225, 1 } |
Definition at line 551 of file wstag300.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x26, 6, 905, 188, 1 } |
Definition at line 552 of file wstag300.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x26, 6, 905, 188, 1 } |
Definition at line 553 of file wstag300.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x26, 6, 848, 209, 3 } |
Definition at line 554 of file wstag300.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x26, 6, 848, 209, 3 } |
Definition at line 555 of file wstag300.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x27, 7, 953, 213, 1 } |
Definition at line 556 of file wstag300.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x27, 7, 953, 213, 1 } |
Definition at line 557 of file wstag300.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x27, 7, 912, 240, 7 } |
Definition at line 558 of file wstag300.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x27, 7, 912, 240, 7 } |
Definition at line 559 of file wstag300.c.
| FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x6A, 8, 0, 0, 1 } |
Definition at line 560 of file wstag300.c.
| FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x76, 9, 0, 0, 1 } |
Definition at line 561 of file wstag300.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x12B, 0xA, 992, 282, 1 } |
Definition at line 562 of file wstag300.c.
| FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x12F, 0xB, 769, 169, 1 } |
Definition at line 563 of file wstag300.c.
| FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x130, 0xC, 929, 201, 1 } |
Definition at line 564 of file wstag300.c.
| FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x132, 0xD, 936, 477, 1 } |
Definition at line 565 of file wstag300.c.
| FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x133, 0xE, 1225, 429, 3 } |
Definition at line 566 of file wstag300.c.
| FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x134, 0xF, 321, 201, 7 } |
Definition at line 567 of file wstag300.c.
| FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x135, 0x10, 1120, 281, 1 } |
Definition at line 568 of file wstag300.c.
| FieldActorEntry actor20 = { actor20Conditions, ((void *)0) , 0x14A, 0x11, 880, 225, 5 } |
Definition at line 569 of file wstag300.c.
| FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x17D, 0x12, 1225, 429, 3 } |
Definition at line 570 of file wstag300.c.
| FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x17D, 0x12, 929, 201, 1 } |
Definition at line 571 of file wstag300.c.
| FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x17D, 0x12, 929, 201, 1 } |
Definition at line 572 of file wstag300.c.
| FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x17E, 0x13, 318, 199, 7 } |
Definition at line 573 of file wstag300.c.
| FieldActorEntry* stageActors[] |
Definition at line 574 of file wstag300.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 602 of file wstag300.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 628 of file wstag300.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 638 of file wstag300.c.
| FieldEvent stageEvents[] |
Definition at line 641 of file wstag300.c.
Referenced by setupStage().