|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG685: Underground Cave, Byakko City. More...
Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_01) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_600 - 1) |
| #define | STAGE_FILE 0x4C4 |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of story progress 0xF. | |
| void | endEvent413 (void) |
| After event 413, with the player: moves the story on to STORY_NUMEMON_FOUND. | |
| void | endEvent421 (void) |
| After event 421, with Numemon: sets flag 0x4020. | |
| void | endEvent690 (void) |
| After event 690, with General: moves the story on to STORY_CODE_PASSES_NEEDED. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing the ambience ENV_0020. | |
WSTAG685: Underground Cave, Byakko City.
Definition in file wstag685.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 25 of file wstag685.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_01) |
Definition at line 48 of file wstag685.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_600 - 1) |
Definition at line 49 of file wstag685.c.
| #define STAGE_FILE 0x4C4 |
Definition at line 50 of file wstag685.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of story progress 0xF.
Definition at line 9 of file wstag685.c.
| void endEvent413 | ( | void | ) |
After event 413, with the player: moves the story on to STORY_NUMEMON_FOUND.
Definition at line 29 of file wstag685.c.
| void endEvent421 | ( | void | ) |
After event 421, with Numemon: sets flag 0x4020.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 34 of file wstag685.c.
| void endEvent690 | ( | void | ) |
After event 690, with General: moves the story on to STORY_CODE_PASSES_NEEDED.
Definition at line 39 of file wstag685.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing the ambience ENV_0020.
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_0020: the Underground Cave
< ENV_0020: the Underground Cave
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 53 of file wstag685.c.
| s16 script413[] |
Definition at line 72 of file wstag685.c.
| s16 script421[] |
Definition at line 99 of file wstag685.c.
| s16 script690[] |
Definition at line 141 of file wstag685.c.
| ActorImage stageImages[] |
Definition at line 206 of file wstag685.c.
Referenced by setupStage().
| u16 actor5Talk0Conditions[] = { (0x6000 | ( STORY_NUMEMON_FOUND )) , 1, 0xFFFF } |
Definition at line 233 of file wstag685.c.
| u16 actor5Talk1Conditions[] = { (0x7000 | ( 8 )) , 1, 0xFFFF } |
Definition at line 234 of file wstag685.c.
| u16 actor6Talk0Conditions[] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF } |
Definition at line 235 of file wstag685.c.
| u16 actor6Talk1Conditions[] |
Definition at line 236 of file wstag685.c.
| u16 actor9Talk0Conditions[] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF } |
Definition at line 241 of file wstag685.c.
| u16 actor9Talk1Conditions[] |
Definition at line 242 of file wstag685.c.
| u16 actor13Talk0Conditions[] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 0, 0xFFFF } |
Definition at line 247 of file wstag685.c.
| u16 actor13Talk1Conditions[] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF } |
Definition at line 248 of file wstag685.c.
| u16 actor13Talk1Actions[] = { (0x9000 | ( 0x43 )) , 1, 0xFFFF } |
Definition at line 249 of file wstag685.c.
| u16 actor22Talk0Actions[] = { (( 0x1A ) << 8 | ( 3 )) , 1, 0xFFFF } |
Definition at line 250 of file wstag685.c.
| u16 actor23Talk0Actions[] = { (( 0x1A ) << 8 | ( 3 )) , 1, 0xFFFF } |
Definition at line 251 of file wstag685.c.
| FieldTalk actor1Talks[] |
Definition at line 252 of file wstag685.c.
| FieldTalk actor2Talks[] |
Definition at line 256 of file wstag685.c.
| FieldTalk actor3Talks[] |
Definition at line 260 of file wstag685.c.
| FieldTalk actor4Talks[] |
Definition at line 264 of file wstag685.c.
| FieldTalk actor5Talks[] |
Definition at line 268 of file wstag685.c.
| FieldTalk actor6Talks[] |
Definition at line 273 of file wstag685.c.
| FieldTalk actor7Talks[] |
Definition at line 278 of file wstag685.c.
| FieldTalk actor8Talks[] |
Definition at line 282 of file wstag685.c.
| FieldTalk actor9Talks[] |
Definition at line 286 of file wstag685.c.
| FieldTalk actor10Talks[] |
Definition at line 291 of file wstag685.c.
| FieldTalk actor11Talks[] |
Definition at line 295 of file wstag685.c.
| FieldTalk actor13Talks[] |
Definition at line 299 of file wstag685.c.
| FieldTalk actor14Talks[] |
Definition at line 304 of file wstag685.c.
| FieldTalk actor15Talks[] |
Definition at line 308 of file wstag685.c.
| FieldTalk actor16Talks[] |
Definition at line 312 of file wstag685.c.
| FieldTalk actor17Talks[] |
Definition at line 316 of file wstag685.c.
| FieldTalk actor18Talks[] |
Definition at line 320 of file wstag685.c.
| FieldTalk actor19Talks[] |
Definition at line 324 of file wstag685.c.
| FieldTalk actor20Talks[] |
Definition at line 328 of file wstag685.c.
| FieldTalk actor22Talks[] |
Definition at line 332 of file wstag685.c.
| FieldTalk actor23Talks[] |
Definition at line 336 of file wstag685.c.
| FieldTalk actor24Talks[] |
Definition at line 340 of file wstag685.c.
| FieldTalk actor25Talks[] |
Definition at line 344 of file wstag685.c.
| FieldTalk actor26Talks[] |
Definition at line 348 of file wstag685.c.
| u16 actor0Conditions[] = { (0x6000 | ( STORY_DE_SINCERITY )) , 1, 0xFFFF } |
Definition at line 352 of file wstag685.c.
| u16 actor1Conditions[] = { (0x7000 | ( 4 )) , 1, 0xFFFF } |
Definition at line 353 of file wstag685.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 354 of file wstag685.c.
| u16 actor3Conditions[] = { (0x7000 | ( 4 )) , 1, 0xFFFF } |
Definition at line 355 of file wstag685.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 356 of file wstag685.c.
| u16 actor6Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 357 of file wstag685.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 358 of file wstag685.c.
| u16 actor8Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 359 of file wstag685.c.
| u16 actor9Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 360 of file wstag685.c.
| u16 actor10Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 361 of file wstag685.c.
| u16 actor11Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 362 of file wstag685.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_NUMEMON_FOUND )) , 1, 0xFFFF } |
Definition at line 363 of file wstag685.c.
| u16 actor13Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 364 of file wstag685.c.
| u16 actor14Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 365 of file wstag685.c.
| u16 actor15Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 366 of file wstag685.c.
| u16 actor16Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 367 of file wstag685.c.
| u16 actor17Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 368 of file wstag685.c.
| u16 actor18Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 369 of file wstag685.c.
| u16 actor19Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 370 of file wstag685.c.
| u16 actor20Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 371 of file wstag685.c.
| u16 actor21Conditions[] = { (0x6000 | ( STORY_DE_SINCERITY )) , 1, 0xFFFF } |
Definition at line 372 of file wstag685.c.
| u16 actor22Conditions[] = { (0x6000 | ( STORY_NUMEMON_FOUND )) , 1, 0xFFFF } |
Definition at line 373 of file wstag685.c.
| u16 actor23Conditions[] = { (0x6000 | ( STORY_NUMEMON_FOUND )) , 1, 0xFFFF } |
Definition at line 374 of file wstag685.c.
| u16 actor24Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 375 of file wstag685.c.
| u16 actor25Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 376 of file wstag685.c.
| u16 actor26Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 377 of file wstag685.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
Definition at line 378 of file wstag685.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x25, 5, 386, 129, 1 } |
Definition at line 379 of file wstag685.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x25, 5, 386, 129, 1 } |
Definition at line 380 of file wstag685.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x26, 6, 415, 145, 7 } |
Definition at line 381 of file wstag685.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x26, 6, 415, 145, 7 } |
Definition at line 382 of file wstag685.c.
| FieldActorEntry actor5 = { ((void *)0) , actor5Talks, 0x3F, 7, 1040, 298, 1 } |
Definition at line 383 of file wstag685.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x45, 8, 561, 305, 1 } |
Definition at line 384 of file wstag685.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x45, 8, 561, 305, 1 } |
Definition at line 385 of file wstag685.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x45, 8, 561, 305, 1 } |
Definition at line 386 of file wstag685.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x46, 9, 993, 321, 5 } |
Definition at line 387 of file wstag685.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x46, 9, 993, 321, 5 } |
Definition at line 388 of file wstag685.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x46, 9, 993, 321, 5 } |
Definition at line 389 of file wstag685.c.
| FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x69, 0xA, 1045, 295, 5 } |
Definition at line 390 of file wstag685.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x98, 0xB, 560, 449, 7 } |
Definition at line 391 of file wstag685.c.
| FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x98, 0xB, 560, 449, 7 } |
Definition at line 392 of file wstag685.c.
| FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x98, 0xB, 560, 449, 7 } |
Definition at line 393 of file wstag685.c.
| FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x9D, 0xC, 560, 449, 7 } |
Definition at line 394 of file wstag685.c.
| FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x9E, 0xD, 561, 305, 1 } |
Definition at line 395 of file wstag685.c.
| FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x9F, 0xE, 993, 321, 5 } |
Definition at line 396 of file wstag685.c.
| FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0xA0, 0xF, 386, 129, 1 } |
Definition at line 397 of file wstag685.c.
| FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0xA1, 0x10, 415, 145, 7 } |
Definition at line 398 of file wstag685.c.
| FieldActorEntry actor21 = { actor21Conditions, ((void *)0) , 0x11F, 0x11, 0, 0, 1 } |
Definition at line 399 of file wstag685.c.
| FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x132, 0x12, 328, 142, 7 } |
Definition at line 400 of file wstag685.c.
| FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x133, 0x13, 354, 128, 7 } |
Definition at line 401 of file wstag685.c.
| FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x16D, 0x14, 825, 269, 7 } |
Definition at line 402 of file wstag685.c.
| FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x16F, 0x15, 560, 449, 7 } |
Definition at line 403 of file wstag685.c.
| FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x171, 0x16, 561, 305, 1 } |
Definition at line 404 of file wstag685.c.
| FieldActorEntry* stageActors[] |
Definition at line 405 of file wstag685.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 435 of file wstag685.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 446 of file wstag685.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 456 of file wstag685.c.
| FieldEvent stageEvents[] |
Definition at line 459 of file wstag685.c.
Referenced by setupStage().