|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG920: Amaterasu City, Central Sector: the streets by the bridge, in the extra chapter. 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_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
| #define | STAGE_FILE 0x8AA |
| #define | STAGE_FILE_8 0x196 |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing ASKA_BGM. | |
Variables | |
| const CVECTOR | stageColor = { 0x54, 0x67, 0x96, 0x00 } |
| the color the setup copies to FIELDSTG_state.spriteColor | |
| ActorImage | stageImages [] |
| u16 | actor1Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF } |
| u16 | actor1Talk0Actions [] |
| u16 | actor1Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF } |
| u16 | actor1Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor1Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor1Talk2Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor1Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor1Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x32 )) , 1, 0xFFFF } |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor1Talks [] |
| FieldTalk | actor2Talks [] |
| FieldTalk | actor3Talks [] |
| FieldTalk | actor4Talks [] |
| FieldTalk | actor5Talks [] |
| FieldTalk | actor6Talks [] |
| u16 | actor1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF } |
| u16 | actor2Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF } |
| FieldActorEntry | actor0 = { ((void *)0) , actor0Talks, 0x37, 4, 225, 720, 5 } |
| FieldActorEntry | actor1 = { actor1Conditions, actor1Talks, 0x39, 5, 1088, 288, 3 } |
| FieldActorEntry | actor2 = { actor2Conditions, actor2Talks, 0x39, 5, 1088, 288, 3 } |
| FieldActorEntry | actor3 = { ((void *)0) , actor3Talks, 0xB2, 6, 555, 474, 7 } |
| FieldActorEntry | actor4 = { ((void *)0) , actor4Talks, 0x16D, 7, 257, 704, 1 } |
| FieldActorEntry | actor5 = { ((void *)0) , actor5Talks, 0x16F, 8, 564, 558, 5 } |
| FieldActorEntry | actor6 = { ((void *)0) , actor6Talks, 0x171, 9, 595, 542, 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 [] |
WSTAG920: Amaterasu City, Central Sector: the streets by the bridge, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 624 starts it instead of WSTAG201.
Definition in file wstag920.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 11 of file wstag920.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
Definition at line 16 of file wstag920.c.
| #define STAGE_FILE 0x8AA |
Definition at line 17 of file wstag920.c.
| #define STAGE_FILE_8 0x196 |
Definition at line 18 of file wstag920.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing ASKA_BGM.
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.
< ASKA_BGM: the Central Sector's streets and bridges, the Underground Path
< ASKA_BGM: the Central Sector's streets and bridges, the Underground Path
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 25 of file wstag920.c.
| const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x00 } |
the color the setup copies to FIELDSTG_state.spriteColor
the color the setup copies to FIELDSTG_state.spriteColor
It starts the stage, before its jump tables: in wstag924.c GCC would align them to 8 bytes after it, so it is a file of its own, linked first
Definition at line 14 of file wstag920.c.
Referenced by setupStage().
| ActorImage stageImages[] |
Definition at line 45 of file wstag920.c.
Referenced by setupStage().
| u16 actor1Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF } |
Definition at line 59 of file wstag920.c.
| u16 actor1Talk0Actions[] |
Definition at line 60 of file wstag920.c.
| u16 actor1Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF } |
Definition at line 66 of file wstag920.c.
| u16 actor1Talk1Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 67 of file wstag920.c.
| u16 actor1Talk2Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 68 of file wstag920.c.
| u16 actor1Talk2Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 69 of file wstag920.c.
| u16 actor1Talk3Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 70 of file wstag920.c.
| u16 actor1Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x32 )) , 1, 0xFFFF } |
Definition at line 71 of file wstag920.c.
| FieldTalk actor0Talks[] |
Definition at line 72 of file wstag920.c.
| FieldTalk actor1Talks[] |
Definition at line 76 of file wstag920.c.
| FieldTalk actor2Talks[] |
Definition at line 83 of file wstag920.c.
| FieldTalk actor3Talks[] |
Definition at line 87 of file wstag920.c.
| FieldTalk actor4Talks[] |
Definition at line 91 of file wstag920.c.
| FieldTalk actor5Talks[] |
Definition at line 95 of file wstag920.c.
| FieldTalk actor6Talks[] |
Definition at line 99 of file wstag920.c.
| u16 actor1Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF } |
Definition at line 103 of file wstag920.c.
| u16 actor2Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF } |
Definition at line 104 of file wstag920.c.
| FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x37, 4, 225, 720, 5 } |
Definition at line 105 of file wstag920.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x39, 5, 1088, 288, 3 } |
Definition at line 106 of file wstag920.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x39, 5, 1088, 288, 3 } |
Definition at line 107 of file wstag920.c.
| FieldActorEntry actor3 = { ((void *)0) , actor3Talks, 0xB2, 6, 555, 474, 7 } |
Definition at line 108 of file wstag920.c.
| FieldActorEntry actor4 = { ((void *)0) , actor4Talks, 0x16D, 7, 257, 704, 1 } |
Definition at line 109 of file wstag920.c.
| FieldActorEntry actor5 = { ((void *)0) , actor5Talks, 0x16F, 8, 564, 558, 5 } |
Definition at line 110 of file wstag920.c.
| FieldActorEntry actor6 = { ((void *)0) , actor6Talks, 0x171, 9, 595, 542, 1 } |
Definition at line 111 of file wstag920.c.
| FieldActorEntry* stageActors[] |
Definition at line 112 of file wstag920.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 122 of file wstag920.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 251 of file wstag920.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 261 of file wstag920.c.
| FieldEvent stageEvents[] |
Definition at line 264 of file wstag920.c.
Referenced by setupStage().