|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG621: Secret Room, West Sector. 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_07) |
| #define | STAGE_FILE 0x617 |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map and actors, playing BGM_0019. | |
Variables | |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Conditions [] = { (0x7000 | ( 0x1D )) , 1, 0xFFFF } |
| u16 | actor0Talk1Conditions [] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF } |
| u16 | actor0Talk2Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor1Talk0Conditions [] = { (0x7000 | ( 0x1D )) , 1, 0xFFFF } |
| u16 | actor1Talk1Conditions [] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF } |
| u16 | actor1Talk2Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor2Talk0Conditions [] = { (0x7000 | ( 0x1D )) , 1, 0xFFFF } |
| u16 | actor2Talk1Conditions [] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF } |
| u16 | actor2Talk2Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor9Talk0Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 1, 0xFFFF } |
| u16 | actor9Talk1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor9Talk1Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor9Talk2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x64 )), 0, 0xFFFF } |
| u16 | actor9Talk3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x64 )), 1, 0xFFFF } |
| u16 | actor9Talk3Actions [] |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor1Talks [] |
| FieldTalk | actor2Talks [] |
| FieldTalk | actor6Talks [] |
| FieldTalk | actor7Talks [] |
| FieldTalk | actor8Talks [] |
| FieldTalk | actor9Talks [] |
| u16 | actor0Conditions [] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
| u16 | actor2Conditions [] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
| u16 | actor6Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor7Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor8Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor9Conditions [] |
| FieldActorEntry | actor0 = { actor0Conditions, actor0Talks, 0x20, 4, 385, 417, 3 } |
| FieldActorEntry | actor1 = { actor1Conditions, actor1Talks, 0x24, 5, 449, 360, 5 } |
| FieldActorEntry | actor2 = { actor2Conditions, actor2Talks, 0x59, 6, 515, 414, 7 } |
| FieldActorEntry | actor3 = { ((void *)0) , ((void *)0) , 0x9A, 7, 641, 350, 0 } |
| FieldActorEntry | actor4 = { ((void *)0) , ((void *)0) , 0x9B, 8, 593, 325, 1 } |
| FieldActorEntry | actor5 = { ((void *)0) , ((void *)0) , 0x9C, 9, 545, 301, 2 } |
| FieldActorEntry | actor6 = { actor6Conditions, actor6Talks, 0x9D, 0xA, 385, 417, 3 } |
| FieldActorEntry | actor7 = { actor7Conditions, actor7Talks, 0x9E, 0xB, 449, 360, 5 } |
| FieldActorEntry | actor8 = { actor8Conditions, actor8Talks, 0x9F, 0xC, 515, 414, 7 } |
| FieldActorEntry | actor9 = { actor9Conditions, actor9Talks, 0xAC, 0xD, 400, 232, 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. | |
WSTAG621: Secret Room, West Sector.
On the Amaterasu server; its Asuka server twin is WSTAG620.
Definition in file wstag621.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_07) |
Definition at line 16 of file wstag621.c.
| #define STAGE_FILE 0x617 |
Definition at line 17 of file wstag621.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map and actors, playing BGM_0019.
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_0019: the Secret Room, the rebels' hideout
< BGM_0019: the Secret Room, the rebels' hideout
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 20 of file wstag621.c.
| ActorImage stageImages[] |
Definition at line 38 of file wstag621.c.
Referenced by setupStage().
| u16 actor0Talk0Conditions[] = { (0x7000 | ( 0x1D )) , 1, 0xFFFF } |
Definition at line 56 of file wstag621.c.
| u16 actor0Talk1Conditions[] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF } |
Definition at line 57 of file wstag621.c.
| u16 actor0Talk2Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 58 of file wstag621.c.
| u16 actor1Talk0Conditions[] = { (0x7000 | ( 0x1D )) , 1, 0xFFFF } |
Definition at line 59 of file wstag621.c.
| u16 actor1Talk1Conditions[] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF } |
Definition at line 60 of file wstag621.c.
| u16 actor1Talk2Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 61 of file wstag621.c.
| u16 actor2Talk0Conditions[] = { (0x7000 | ( 0x1D )) , 1, 0xFFFF } |
Definition at line 62 of file wstag621.c.
| u16 actor2Talk1Conditions[] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF } |
Definition at line 63 of file wstag621.c.
| u16 actor2Talk2Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 64 of file wstag621.c.
| u16 actor9Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 1, 0xFFFF } |
Definition at line 65 of file wstag621.c.
| u16 actor9Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 66 of file wstag621.c.
| u16 actor9Talk1Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 67 of file wstag621.c.
| u16 actor9Talk2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x64 )), 0, 0xFFFF } |
Definition at line 68 of file wstag621.c.
| u16 actor9Talk3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x68 )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x64 )), 1, 0xFFFF } |
Definition at line 69 of file wstag621.c.
| u16 actor9Talk3Actions[] |
Definition at line 70 of file wstag621.c.
| FieldTalk actor0Talks[] |
Definition at line 77 of file wstag621.c.
| FieldTalk actor1Talks[] |
Definition at line 83 of file wstag621.c.
| FieldTalk actor2Talks[] |
Definition at line 89 of file wstag621.c.
| FieldTalk actor6Talks[] |
Definition at line 95 of file wstag621.c.
| FieldTalk actor7Talks[] |
Definition at line 99 of file wstag621.c.
| FieldTalk actor8Talks[] |
Definition at line 103 of file wstag621.c.
| FieldTalk actor9Talks[] |
Definition at line 107 of file wstag621.c.
| u16 actor0Conditions[] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
Definition at line 114 of file wstag621.c.
| u16 actor1Conditions[] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
Definition at line 115 of file wstag621.c.
| u16 actor2Conditions[] = { (0x7000 | ( 0x1E )) , 1, 0xFFFF } |
Definition at line 116 of file wstag621.c.
| u16 actor6Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 117 of file wstag621.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 118 of file wstag621.c.
| u16 actor8Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 119 of file wstag621.c.
| u16 actor9Conditions[] |
Definition at line 120 of file wstag621.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x20, 4, 385, 417, 3 } |
Definition at line 127 of file wstag621.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x24, 5, 449, 360, 5 } |
Definition at line 128 of file wstag621.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x59, 6, 515, 414, 7 } |
Definition at line 129 of file wstag621.c.
| FieldActorEntry actor3 = { ((void *)0) , ((void *)0) , 0x9A, 7, 641, 350, 0 } |
Definition at line 130 of file wstag621.c.
| FieldActorEntry actor4 = { ((void *)0) , ((void *)0) , 0x9B, 8, 593, 325, 1 } |
Definition at line 131 of file wstag621.c.
| FieldActorEntry actor5 = { ((void *)0) , ((void *)0) , 0x9C, 9, 545, 301, 2 } |
Definition at line 132 of file wstag621.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x9D, 0xA, 385, 417, 3 } |
Definition at line 133 of file wstag621.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9E, 0xB, 449, 360, 5 } |
Definition at line 134 of file wstag621.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x9F, 0xC, 515, 414, 7 } |
Definition at line 135 of file wstag621.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xAC, 0xD, 400, 232, 7 } |
Definition at line 136 of file wstag621.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 150 of file wstag621.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 161 of file wstag621.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 167 of file wstag621.c.