|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG295: Prison Tower, 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 0x60F |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of progress 0x21, which depends on flags 0x1C39, 0x4057 and 0x4058. | |
| void | endEvent580 (void) |
| After event 580, with Teddy, Dr. | |
| void | endEvent891 (void) |
| After event 891, with Lisa, Game Master and Teddy: keeps it from playing again. | |
| void | endEvent892 (void) |
| After event 892, with Game Master, Lisa, Teddy and Nick: lets events 893 and 894 of WSTAG305 start. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing BGM_0029. | |
Variables | |
| s16 | script580 [] |
| s16 | script891 [] |
| s16 | script892 [] |
| ActorImage | stageImages [] |
| FieldTalk | actor2Talks [] |
| FieldTalk | actor11Talks [] |
| u16 | actor0Conditions [] = { (( 0x1C ) << 8 | ( 0x1A )) , 0, (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
| u16 | actor2Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, (( 0x1C ) << 8 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor3Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
| u16 | actor4Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
| u16 | actor5Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
| u16 | actor6Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
| u16 | actor7Conditions [] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
| u16 | actor8Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
| u16 | actor9Conditions [] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
| u16 | actor10Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
| u16 | actor11Conditions [] |
| u16 | actor12Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
| u16 | actor13Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
| u16 | actor14Conditions [] |
| u16 | actor15Conditions [] |
| u16 | actor16Conditions [] |
| u16 | actor17Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor18Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor19Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor20Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, (( 0x1C ) << 8 | ( 0x1A )) , 1, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, ((void *)0) , 0xC, 4, 123, 110, 7 } |
| FieldActorEntry | actor1 = { actor1Conditions, ((void *)0) , 0xC, 4, 0, 0, 1 } |
| FieldActorEntry | actor2 = { actor2Conditions, actor2Talks, 0xC, 4, 197, 139, 7 } |
| FieldActorEntry | actor3 = { actor3Conditions, ((void *)0) , 0x20, 5, 178, 74, 6 } |
| FieldActorEntry | actor4 = { actor4Conditions, ((void *)0) , 0x25, 6, 210, 74, 2 } |
| FieldActorEntry | actor5 = { actor5Conditions, ((void *)0) , 0x43, 7, 146, 97, 7 } |
| FieldActorEntry | actor6 = { actor6Conditions, ((void *)0) , 0x45, 8, 210, 74, 1 } |
| FieldActorEntry | actor7 = { actor7Conditions, ((void *)0) , 0x45, 8, 210, 74, 1 } |
| FieldActorEntry | actor8 = { actor8Conditions, ((void *)0) , 0x46, 9, 178, 74, 3 } |
| FieldActorEntry | actor9 = { actor9Conditions, ((void *)0) , 0x46, 9, 178, 74, 3 } |
| FieldActorEntry | actor10 = { actor10Conditions, ((void *)0) , 0x65, 0xA, 0, 0, 1 } |
| FieldActorEntry | actor11 = { actor11Conditions, actor11Talks, 0x67, 0xB, 352, 192, 1 } |
| FieldActorEntry | actor12 = { actor12Conditions, ((void *)0) , 0x67, 0xB, 0, 0, 1 } |
| FieldActorEntry | actor13 = { actor13Conditions, ((void *)0) , 0x6C, 0xC, 146, 97, 7 } |
| FieldActorEntry | actor14 = { actor14Conditions, ((void *)0) , 0x6C, 0xC, 146, 97, 7 } |
| FieldActorEntry | actor15 = { actor15Conditions, ((void *)0) , 0x6C, 0xC, 146, 97, 7 } |
| FieldActorEntry | actor16 = { actor16Conditions, ((void *)0) , 0x6C, 0xC, 196, 138, 7 } |
| FieldActorEntry | actor17 = { actor17Conditions, ((void *)0) , 0x9D, 0xD, 146, 97, 7 } |
| FieldActorEntry | actor18 = { actor18Conditions, ((void *)0) , 0x9E, 0xE, 210, 74, 1 } |
| FieldActorEntry | actor19 = { actor19Conditions, ((void *)0) , 0x9F, 0xF, 178, 74, 3 } |
| FieldActorEntry | actor20 = { actor20Conditions, ((void *)0) , 0x120, 0x10, 233, 156, 7 } |
| 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 [] |
WSTAG295: Prison Tower, Asuka City.
Definition in file wstag295.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 29 of file wstag295.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
Definition at line 60 of file wstag295.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
Definition at line 61 of file wstag295.c.
| #define STAGE_FILE 0x60F |
Definition at line 62 of file wstag295.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of progress 0x21, which depends on flags 0x1C39, 0x4057 and 0x4058.
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 9 of file wstag295.c.
| void endEvent580 | ( | void | ) |
After event 580, with Teddy, Dr.
Kadomatsu, DO Operator and DO Guard: sets flag 0x1C1A (which decides whether actors 0, 2 and 20 appear) and keeps it from playing again
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 37 of file wstag295.c.
| void endEvent891 | ( | void | ) |
After event 891, with Lisa, Game Master and Teddy: keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 43 of file wstag295.c.
| void endEvent892 | ( | void | ) |
After event 892, with Game Master, Lisa, Teddy and Nick: lets events 893 and 894 of WSTAG305 start.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 51 of file wstag295.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing BGM_0029.
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_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)
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 65 of file wstag295.c.
| s16 script580[] |
Definition at line 84 of file wstag295.c.
| s16 script891[] |
Definition at line 194 of file wstag295.c.
| s16 script892[] |
Definition at line 330 of file wstag295.c.
| ActorImage stageImages[] |
Definition at line 373 of file wstag295.c.
Referenced by setupStage().
| FieldTalk actor2Talks[] |
Definition at line 394 of file wstag295.c.
| FieldTalk actor11Talks[] |
Definition at line 398 of file wstag295.c.
| u16 actor0Conditions[] = { (( 0x1C ) << 8 | ( 0x1A )) , 0, (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 402 of file wstag295.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
Definition at line 403 of file wstag295.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, (( 0x1C ) << 8 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 404 of file wstag295.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 405 of file wstag295.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 406 of file wstag295.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 407 of file wstag295.c.
| u16 actor6Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 408 of file wstag295.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
Definition at line 409 of file wstag295.c.
| u16 actor8Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 410 of file wstag295.c.
| u16 actor9Conditions[] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
Definition at line 411 of file wstag295.c.
| u16 actor10Conditions[] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
Definition at line 412 of file wstag295.c.
| u16 actor11Conditions[] |
Definition at line 413 of file wstag295.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF } |
Definition at line 418 of file wstag295.c.
| u16 actor13Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 419 of file wstag295.c.
| u16 actor14Conditions[] |
Definition at line 420 of file wstag295.c.
| u16 actor15Conditions[] |
Definition at line 425 of file wstag295.c.
| u16 actor16Conditions[] |
Definition at line 430 of file wstag295.c.
| u16 actor17Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 435 of file wstag295.c.
| u16 actor18Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 436 of file wstag295.c.
| u16 actor19Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 437 of file wstag295.c.
| u16 actor20Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, (( 0x1C ) << 8 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 438 of file wstag295.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 0xC, 4, 123, 110, 7 } |
Definition at line 439 of file wstag295.c.
| FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xC, 4, 0, 0, 1 } |
Definition at line 440 of file wstag295.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0xC, 4, 197, 139, 7 } |
Definition at line 441 of file wstag295.c.
| FieldActorEntry actor3 = { actor3Conditions, ((void *)0) , 0x20, 5, 178, 74, 6 } |
Definition at line 442 of file wstag295.c.
| FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x25, 6, 210, 74, 2 } |
Definition at line 443 of file wstag295.c.
| FieldActorEntry actor5 = { actor5Conditions, ((void *)0) , 0x43, 7, 146, 97, 7 } |
Definition at line 444 of file wstag295.c.
| FieldActorEntry actor6 = { actor6Conditions, ((void *)0) , 0x45, 8, 210, 74, 1 } |
Definition at line 445 of file wstag295.c.
| FieldActorEntry actor7 = { actor7Conditions, ((void *)0) , 0x45, 8, 210, 74, 1 } |
Definition at line 446 of file wstag295.c.
| FieldActorEntry actor8 = { actor8Conditions, ((void *)0) , 0x46, 9, 178, 74, 3 } |
Definition at line 447 of file wstag295.c.
| FieldActorEntry actor9 = { actor9Conditions, ((void *)0) , 0x46, 9, 178, 74, 3 } |
Definition at line 448 of file wstag295.c.
| FieldActorEntry actor10 = { actor10Conditions, ((void *)0) , 0x65, 0xA, 0, 0, 1 } |
Definition at line 449 of file wstag295.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x67, 0xB, 352, 192, 1 } |
Definition at line 450 of file wstag295.c.
| FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x67, 0xB, 0, 0, 1 } |
Definition at line 451 of file wstag295.c.
| FieldActorEntry actor13 = { actor13Conditions, ((void *)0) , 0x6C, 0xC, 146, 97, 7 } |
Definition at line 452 of file wstag295.c.
| FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x6C, 0xC, 146, 97, 7 } |
Definition at line 453 of file wstag295.c.
| FieldActorEntry actor15 = { actor15Conditions, ((void *)0) , 0x6C, 0xC, 146, 97, 7 } |
Definition at line 454 of file wstag295.c.
| FieldActorEntry actor16 = { actor16Conditions, ((void *)0) , 0x6C, 0xC, 196, 138, 7 } |
Definition at line 455 of file wstag295.c.
| FieldActorEntry actor17 = { actor17Conditions, ((void *)0) , 0x9D, 0xD, 146, 97, 7 } |
Definition at line 456 of file wstag295.c.
| FieldActorEntry actor18 = { actor18Conditions, ((void *)0) , 0x9E, 0xE, 210, 74, 1 } |
Definition at line 457 of file wstag295.c.
| FieldActorEntry actor19 = { actor19Conditions, ((void *)0) , 0x9F, 0xF, 178, 74, 3 } |
Definition at line 458 of file wstag295.c.
| FieldActorEntry actor20 = { actor20Conditions, ((void *)0) , 0x120, 0x10, 233, 156, 7 } |
Definition at line 459 of file wstag295.c.
| FieldActorEntry* stageActors[] |
Definition at line 460 of file wstag295.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 484 of file wstag295.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 499 of file wstag295.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 504 of file wstag295.c.
| FieldEvent stageEvents[] |
Definition at line 507 of file wstag295.c.
Referenced by setupStage().