|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG926: Arena Front Desk, Amaterasu City, 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_TEXT TEXT_FILE(TEXT_TALKS_08) |
| #define | STAGE_FILE 0x8EB |
| #define | STAGE_FILE_8 0x1A0 |
| #define | EVENT_TEXT_FILE EXTRA_TEXT |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing KANRIBGM. | |
| void | updateTileTimer (StageTileTimer *task) |
| Shows the map object with animation 1 and moves it and the player down a pixel a frame for 150 frames. | |
| void * | createCommand854 (s32 arg) |
| Command 854 of the event scripts: the lift that takes the player down to the Arena in event 1606 (updateTileTimer) | |
Variables | |
| s16 | script1606 [] |
| Defined below, after the tables that use them. | |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Conditions [] = { (0x7000 | ( 0x54 )) , 0, 0xFFFF } |
| u16 | actor0Talk1Conditions [] |
| u16 | actor0Talk1Actions [] = { (0x9000 | ( 0x6F )) , 1, 0xFFFF } |
| u16 | actor0Talk2Conditions [] |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor2Talks [] |
| FieldActorEntry | actor0 = { ((void *)0) , actor0Talks, 0x20, 4, 272, 344, 7 } |
| FieldActorEntry | actor1 = { ((void *)0) , ((void *)0) , 0x24, 5, 240, 329, 3 } |
| FieldActorEntry | actor2 = { ((void *)0) , actor2Talks, 0x175, 6, 203, 218, 3 } |
| 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 [] |
WSTAG926: Arena Front Desk, Amaterasu City, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 631 starts it instead of WSTAG231.
Definition in file wstag926.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
Definition at line 14 of file wstag926.c.
| #define STAGE_FILE 0x8EB |
Definition at line 15 of file wstag926.c.
| #define STAGE_FILE_8 0x1A0 |
Definition at line 16 of file wstag926.c.
| #define EVENT_TEXT_FILE EXTRA_TEXT |
Definition at line 163 of file wstag926.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing KANRIBGM.
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.
< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room
< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 23 of file wstag926.c.
| void updateTileTimer | ( | StageTileTimer * | task | ) |
Shows the map object with animation 1 and moves it and the player down a pixel a frame for 150 frames.
< every character (FIELDSTG_createActor)
Definition at line 43 of file wstag926.c.
Referenced by createCommand854().
| void * createCommand854 | ( | s32 | arg | ) |
Command 854 of the event scripts: the lift that takes the player down to the Arena in event 1606 (updateTileTimer)
Definition at line 81 of file wstag926.c.
| s16 script1606 |
Defined below, after the tables that use them.
Definition at line 168 of file wstag926.c.
| ActorImage stageImages[] |
Definition at line 88 of file wstag926.c.
Referenced by setupStage().
| u16 actor0Talk0Conditions[] = { (0x7000 | ( 0x54 )) , 0, 0xFFFF } |
Definition at line 99 of file wstag926.c.
| u16 actor0Talk1Conditions[] |
Definition at line 100 of file wstag926.c.
| u16 actor0Talk1Actions[] = { (0x9000 | ( 0x6F )) , 1, 0xFFFF } |
Definition at line 105 of file wstag926.c.
| u16 actor0Talk2Conditions[] |
Definition at line 106 of file wstag926.c.
| FieldTalk actor0Talks[] |
Definition at line 111 of file wstag926.c.
| FieldTalk actor2Talks[] |
Definition at line 117 of file wstag926.c.
| FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x20, 4, 272, 344, 7 } |
Definition at line 121 of file wstag926.c.
| FieldActorEntry actor1 = { ((void *)0) , ((void *)0) , 0x24, 5, 240, 329, 3 } |
Definition at line 122 of file wstag926.c.
| FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x175, 6, 203, 218, 3 } |
Definition at line 123 of file wstag926.c.
| FieldActorEntry* stageActors[] |
Definition at line 124 of file wstag926.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 130 of file wstag926.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 156 of file wstag926.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 160 of file wstag926.c.
| FieldEvent stageEvents[] |
Definition at line 164 of file wstag926.c.
Referenced by setupStage().