|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG211: Main Lobby, Amaterasu City. 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_03) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
| #define | STAGE_FILE 0x4A4 |
Functions | |
| void | endEvent925 (void) |
| After event 925, with Attacker: starts the stage's event battle 0, sets flag 0x0C23 (which decides whether actors 30 to 32 appear) and keeps it from playing again. | |
| void | setupStage (void) |
| 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. | |
WSTAG211: Main Lobby, Amaterasu City.
On the Amaterasu server; its Asuka server twin is WSTAG210.
Definition in file wstag211.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_03) |
Definition at line 29 of file wstag211.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
Definition at line 30 of file wstag211.c.
| #define STAGE_FILE 0x4A4 |
Definition at line 31 of file wstag211.c.
| void endEvent925 | ( | void | ) |
After event 925, with Attacker: starts the stage's event battle 0, sets flag 0x0C23 (which decides whether actors 30 to 32 appear) and keeps it from playing again.
< 0xC 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 17 of file wstag211.c.
| void setupStage | ( | void | ) |
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)
< 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 37 of file wstag211.c.
| const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 } |
Definition at line 23 of file wstag211.c.
Referenced by setupStage().
| s16 script925[] |
Definition at line 62 of file wstag211.c.
| AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 97 of file wstag211.c.
| AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 98 of file wstag211.c.
| AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 99 of file wstag211.c.
| AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 100 of file wstag211.c.
| AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 101 of file wstag211.c.
| AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 102 of file wstag211.c.
| AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 103 of file wstag211.c.
| AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 104 of file wstag211.c.
| BattleList area0Battles |
Definition at line 105 of file wstag211.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 110 of file wstag211.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 111 of file wstag211.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 112 of file wstag211.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 113 of file wstag211.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 114 of file wstag211.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 115 of file wstag211.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 116 of file wstag211.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 117 of file wstag211.c.
| BattleList area1Battles |
Definition at line 118 of file wstag211.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 123 of file wstag211.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 124 of file wstag211.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 125 of file wstag211.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 126 of file wstag211.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 127 of file wstag211.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 128 of file wstag211.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 129 of file wstag211.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 130 of file wstag211.c.
| BattleList area2Battles |
Definition at line 131 of file wstag211.c.
| AreaBattle area3Battle0 = { 195, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 136 of file wstag211.c.
| AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 137 of file wstag211.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 138 of file wstag211.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 139 of file wstag211.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 140 of file wstag211.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 141 of file wstag211.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 142 of file wstag211.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 143 of file wstag211.c.
| BattleList area3Battles |
Definition at line 144 of file wstag211.c.
| FieldBattles stageBattles[] |
| ActorImage stageImages[] |
Definition at line 152 of file wstag211.c.
Referenced by setupStage().
| u16 actor30Talk0Actions[] |
Definition at line 187 of file wstag211.c.
| u16 actor31Talk0Actions[] |
Definition at line 192 of file wstag211.c.
| u16 actor32Talk0Actions[] |
Definition at line 197 of file wstag211.c.
| FieldTalk actor0Talks[] |
Definition at line 202 of file wstag211.c.
| FieldTalk actor1Talks[] |
Definition at line 206 of file wstag211.c.
| FieldTalk actor2Talks[] |
Definition at line 210 of file wstag211.c.
| FieldTalk actor3Talks[] |
Definition at line 214 of file wstag211.c.
| FieldTalk actor4Talks[] |
Definition at line 218 of file wstag211.c.
| FieldTalk actor5Talks[] |
Definition at line 222 of file wstag211.c.
| FieldTalk actor6Talks[] |
Definition at line 226 of file wstag211.c.
| FieldTalk actor7Talks[] |
Definition at line 230 of file wstag211.c.
| FieldTalk actor8Talks[] |
Definition at line 234 of file wstag211.c.
| FieldTalk actor9Talks[] |
Definition at line 238 of file wstag211.c.
| FieldTalk actor10Talks[] |
Definition at line 242 of file wstag211.c.
| FieldTalk actor11Talks[] |
Definition at line 246 of file wstag211.c.
| FieldTalk actor12Talks[] |
Definition at line 250 of file wstag211.c.
| FieldTalk actor13Talks[] |
Definition at line 254 of file wstag211.c.
| FieldTalk actor18Talks[] |
Definition at line 258 of file wstag211.c.
| FieldTalk actor19Talks[] |
Definition at line 262 of file wstag211.c.
| FieldTalk actor20Talks[] |
Definition at line 266 of file wstag211.c.
| FieldTalk actor21Talks[] |
Definition at line 270 of file wstag211.c.
| FieldTalk actor22Talks[] |
Definition at line 274 of file wstag211.c.
| FieldTalk actor23Talks[] |
Definition at line 278 of file wstag211.c.
| FieldTalk actor24Talks[] |
Definition at line 282 of file wstag211.c.
| FieldTalk actor25Talks[] |
Definition at line 286 of file wstag211.c.
| FieldTalk actor26Talks[] |
Definition at line 290 of file wstag211.c.
| FieldTalk actor27Talks[] |
Definition at line 294 of file wstag211.c.
| FieldTalk actor28Talks[] |
Definition at line 298 of file wstag211.c.
| FieldTalk actor29Talks[] |
Definition at line 302 of file wstag211.c.
| FieldTalk actor30Talks[] |
Definition at line 306 of file wstag211.c.
| FieldTalk actor31Talks[] |
Definition at line 310 of file wstag211.c.
| FieldTalk actor32Talks[] |
Definition at line 314 of file wstag211.c.
| u16 actor0Conditions[] |
Definition at line 318 of file wstag211.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 323 of file wstag211.c.
| u16 actor2Conditions[] |
Definition at line 324 of file wstag211.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 329 of file wstag211.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 330 of file wstag211.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 331 of file wstag211.c.
| u16 actor6Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 332 of file wstag211.c.
| u16 actor7Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 333 of file wstag211.c.
| u16 actor8Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 334 of file wstag211.c.
| u16 actor9Conditions[] |
Definition at line 335 of file wstag211.c.
| u16 actor10Conditions[] |
Definition at line 340 of file wstag211.c.
| u16 actor11Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 345 of file wstag211.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 346 of file wstag211.c.
| u16 actor13Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 347 of file wstag211.c.
| u16 actor14Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 348 of file wstag211.c.
| u16 actor15Conditions[] |
Definition at line 349 of file wstag211.c.
| u16 actor16Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 354 of file wstag211.c.
| u16 actor17Conditions[] |
Definition at line 355 of file wstag211.c.
| u16 actor18Conditions[] |
Definition at line 360 of file wstag211.c.
| u16 actor19Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 365 of file wstag211.c.
| u16 actor20Conditions[] |
Definition at line 366 of file wstag211.c.
| u16 actor21Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 371 of file wstag211.c.
| u16 actor22Conditions[] |
Definition at line 372 of file wstag211.c.
| u16 actor23Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 377 of file wstag211.c.
| u16 actor24Conditions[] |
Definition at line 378 of file wstag211.c.
| u16 actor25Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 383 of file wstag211.c.
| u16 actor26Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 384 of file wstag211.c.
| u16 actor27Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 385 of file wstag211.c.
| u16 actor28Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 386 of file wstag211.c.
| u16 actor29Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 387 of file wstag211.c.
| u16 actor30Conditions[] |
Definition at line 388 of file wstag211.c.
| u16 actor31Conditions[] |
Definition at line 393 of file wstag211.c.
| u16 actor32Conditions[] |
Definition at line 398 of file wstag211.c.
| u16 actor33Conditions[] |
Definition at line 403 of file wstag211.c.
| u16 actor34Conditions[] |
Definition at line 408 of file wstag211.c.
| u16 actor35Conditions[] |
Definition at line 413 of file wstag211.c.
| u16 actor36Conditions[] |
Definition at line 418 of file wstag211.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x20, 4, 384, 255, 1 } |
Definition at line 423 of file wstag211.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x20, 4, 384, 255, 1 } |
Definition at line 424 of file wstag211.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x24, 5, 434, 247, 7 } |
Definition at line 425 of file wstag211.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x24, 5, 434, 247, 7 } |
Definition at line 426 of file wstag211.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x25, 6, 304, 193, 7 } |
Definition at line 427 of file wstag211.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x26, 7, 305, 353, 1 } |
Definition at line 428 of file wstag211.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x27, 8, 193, 257, 7 } |
Definition at line 429 of file wstag211.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2D, 9, 529, 505, 7 } |
Definition at line 430 of file wstag211.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x30, 0xA, 617, 501, 1 } |
Definition at line 431 of file wstag211.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x31, 0xB, 328, 260, 5 } |
Definition at line 432 of file wstag211.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x32, 0xC, 617, 501, 1 } |
Definition at line 433 of file wstag211.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x37, 0xD, 391, 359, 1 } |
Definition at line 434 of file wstag211.c.
| FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x39, 0xE, 684, 363, 7 } |
Definition at line 435 of file wstag211.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x6F, 0xF, 529, 505, 7 } |
Definition at line 436 of file wstag211.c.
| FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x70, 0x10, 360, 268, 1 } |
Definition at line 437 of file wstag211.c.
| FieldActorEntry actor15 = { actor15Conditions, ((void *)0) , 0x70, 0x10, 360, 268, 1 } |
Definition at line 438 of file wstag211.c.
| FieldActorEntry actor16 = { actor16Conditions, ((void *)0) , 0x71, 0x11, 450, 254, 7 } |
Definition at line 439 of file wstag211.c.
| FieldActorEntry actor17 = { actor17Conditions, ((void *)0) , 0x71, 0x11, 450, 254, 7 } |
Definition at line 440 of file wstag211.c.
| FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x9D, 0x12, 384, 255, 1 } |
Definition at line 441 of file wstag211.c.
| FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x9D, 0x12, 384, 255, 1 } |
Definition at line 442 of file wstag211.c.
| FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x9E, 0x13, 434, 247, 7 } |
Definition at line 443 of file wstag211.c.
| FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x9E, 0x13, 434, 247, 7 } |
Definition at line 444 of file wstag211.c.
| FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x9F, 0x14, 617, 501, 1 } |
Definition at line 445 of file wstag211.c.
| FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x9F, 0x14, 617, 501, 1 } |
Definition at line 446 of file wstag211.c.
| FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0xA0, 0x15, 328, 260, 5 } |
Definition at line 447 of file wstag211.c.
| FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0xA0, 0x15, 328, 260, 5 } |
Definition at line 448 of file wstag211.c.
| FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0xA1, 0x16, 304, 193, 7 } |
Definition at line 449 of file wstag211.c.
| FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0xA2, 0x17, 305, 303, 1 } |
Definition at line 450 of file wstag211.c.
| FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0xAE, 0x18, 193, 257, 5 } |
Definition at line 451 of file wstag211.c.
| FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0xAF, 0x19, 529, 505, 7 } |
Definition at line 452 of file wstag211.c.
| FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0xC2, 0x1A, 329, 205, 1 } |
Definition at line 453 of file wstag211.c.
| FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0xC3, 0x1B, 352, 217, 1 } |
Definition at line 454 of file wstag211.c.
| FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0xC4, 0x1C, 304, 192, 1 } |
Definition at line 455 of file wstag211.c.
| FieldActorEntry actor33 = { actor33Conditions, ((void *)0) , 0x10E, 0x1D, 360, 268, 1 } |
Definition at line 456 of file wstag211.c.
| FieldActorEntry actor34 = { actor34Conditions, ((void *)0) , 0x10E, 0x1D, 360, 268, 1 } |
Definition at line 457 of file wstag211.c.
| FieldActorEntry actor35 = { actor35Conditions, ((void *)0) , 0x10F, 0x1E, 450, 254, 7 } |
Definition at line 458 of file wstag211.c.
| FieldActorEntry actor36 = { actor36Conditions, ((void *)0) , 0x10F, 0x1E, 450, 254, 7 } |
Definition at line 459 of file wstag211.c.
| FieldActorEntry* stageActors[] |
Definition at line 460 of file wstag211.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 500 of file wstag211.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 575 of file wstag211.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 585 of file wstag211.c.
Referenced by closeListMenu(), and startStage().
| FieldEvent stageEvents[] |
Definition at line 588 of file wstag211.c.
Referenced by setupStage().