|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG441: South Station, South 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 0x6FD |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map and actors, playing BGM_0012; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set. | |
WSTAG441: South Station, South Sector.
On the Amaterasu server; its Asuka server twin is WSTAG440.
Definition in file wstag441.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_07) |
Definition at line 17 of file wstag441.c.
| #define STAGE_FILE 0x6FD |
Definition at line 18 of file wstag441.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map and actors, playing BGM_0012; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.
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_0012: the East and South Stations
< BGM_0012: the East and South Stations
< 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 24 of file wstag441.c.
| const CVECTOR stageColor = { 0x80, 0x80, 0x80, 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 12 of file wstag441.c.
Referenced by setupStage().
| ActorImage stageImages[] |
Definition at line 47 of file wstag441.c.
Referenced by setupStage().
| FieldTalk actor0Talks[] |
Definition at line 61 of file wstag441.c.
| FieldTalk actor1Talks[] |
Definition at line 65 of file wstag441.c.
| FieldTalk actor2Talks[] |
Definition at line 69 of file wstag441.c.
| FieldTalk actor3Talks[] |
Definition at line 73 of file wstag441.c.
| FieldTalk actor4Talks[] |
Definition at line 77 of file wstag441.c.
| FieldTalk actor5Talks[] |
Definition at line 81 of file wstag441.c.
| FieldTalk actor6Talks[] |
Definition at line 85 of file wstag441.c.
| FieldTalk actor7Talks[] |
Definition at line 89 of file wstag441.c.
| u16 actor0Conditions[] |
Definition at line 93 of file wstag441.c.
| u16 actor1Conditions[] |
Definition at line 98 of file wstag441.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 103 of file wstag441.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 104 of file wstag441.c.
| u16 actor4Conditions[] |
Definition at line 105 of file wstag441.c.
| u16 actor5Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 110 of file wstag441.c.
| u16 actor6Conditions[] |
Definition at line 111 of file wstag441.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 116 of file wstag441.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x31, 4, 145, 329, 5 } |
Definition at line 117 of file wstag441.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x32, 5, 177, 313, 7 } |
Definition at line 118 of file wstag441.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x39, 6, 177, 313, 7 } |
Definition at line 119 of file wstag441.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x3A, 7, 145, 329, 5 } |
Definition at line 120 of file wstag441.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x9D, 8, 177, 313, 7 } |
Definition at line 121 of file wstag441.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x9D, 8, 177, 313, 7 } |
Definition at line 122 of file wstag441.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x9E, 9, 145, 329, 5 } |
Definition at line 123 of file wstag441.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9E, 9, 145, 329, 5 } |
Definition at line 124 of file wstag441.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 136 of file wstag441.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 143 of file wstag441.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 147 of file wstag441.c.