|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG924: Digimon Lab, 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"#include "common/start_tween.inc.c"#include "common/update_tween.inc.c"#include "common/list_menu.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_TWEEN |
| stageFuncs is a StageFuncs (stage.h) | |
| #define | MENU_TEXT EXTRA_TEXT |
| The text file of the menus. | |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
| #define | STAGE_FILE 0x8E7 |
| #define | STAGE_FILE_8 0x19C |
| #define | STAGE_ARCHIVE 0x8E5 |
| #define | EVENT_TEXT_FILE EXTRA_TEXT |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing the ambience ENV_0011. | |
| void | updateEvent1602 (StageListMenu *task, StageListMenuChildren *children) |
| A list of up to eight options that each open a message. | |
| void * | startEvent1602 (void) |
| Starts event 1602, the starters' digivolutions: a list of Kotemon, Monmon, Kumamon, Renamon, Patamon, Agumon and Guilmon that each open a message. | |
| void | updateEvent1604 (StageListMenu *task, StageListMenuChildren *children) |
| A list of up to eight options that each open a message. | |
| void * | startEvent1604 (void) |
| Starts event 1604, tips on raising partners: a list of topics (Raise efficiently, Techniques, Growth limits...) that each open a message. | |
Variables | |
| s32 | event1602WindowFrames [] |
| Defined below, after the code that uses them. | |
| s32 | event1604WindowFrames [] |
| MENU_SPRITES' frame of the list's window, by the number of options (5 to 8) | |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Actions [] = { (0x9000 | ( 0x6E )) , 1, 0xFFFF } |
| u16 | actor1Talk0Actions [] = { (0x9000 | ( 0x6D )) , 1, 0xFFFF } |
| u16 | actor5Talk0Actions [] = { 0x7C00, 1, 0xFFFF } |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor1Talks [] |
| FieldTalk | actor5Talks [] |
| FieldTalk | actor6Talks [] |
| FieldActorEntry | actor0 = { ((void *)0) , actor0Talks, 0x20, 4, 220, 232, 1 } |
| FieldActorEntry | actor1 = { ((void *)0) , actor1Talks, 0x24, 5, 187, 215, 1 } |
| FieldActorEntry | actor2 = { ((void *)0) , ((void *)0) , 0x59, 6, 300, 217, 5 } |
| FieldActorEntry | actor3 = { ((void *)0) , ((void *)0) , 0x70, 7, 202, 241, 1 } |
| FieldActorEntry | actor4 = { ((void *)0) , ((void *)0) , 0x71, 8, 169, 224, 1 } |
| FieldActorEntry | actor5 = { ((void *)0) , actor5Talks, 0xFE, 9, 399, 248, 1 } |
| FieldActorEntry | actor6 = { ((void *)0) , actor6Talks, 0x177, 0xA, 65, 263, 1 } |
| FieldActorEntry * | stageActors [] |
| StageTile | stageObjects [] |
| The tables and color setupStage gives FIELDSTG_state (FieldState) | |
| StageSlot | stageSlots [] |
| StageFuncs | stageFuncs = { setupStage, startTween, updateTween } |
| 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 [] |
WSTAG924: Digimon Lab, Amaterasu City, in the extra chapter.
The European version's: in its extra chapter (STORY_EXTRA), mode 629 starts it instead of WSTAG221.
Definition in file wstag924.c.
| #define STAGE_TWEEN |
stageFuncs is a StageFuncs (stage.h)
Definition at line 8 of file wstag924.c.
| #define MENU_TEXT EXTRA_TEXT |
The text file of the menus.
Definition at line 15 of file wstag924.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08) |
Definition at line 22 of file wstag924.c.
| #define STAGE_FILE 0x8E7 |
Definition at line 23 of file wstag924.c.
| #define STAGE_FILE_8 0x19C |
Definition at line 24 of file wstag924.c.
| #define STAGE_ARCHIVE 0x8E5 |
Definition at line 25 of file wstag924.c.
| #define EVENT_TEXT_FILE EXTRA_TEXT |
Definition at line 419 of file wstag924.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing the ambience ENV_0011.
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.
< ENV_0011: Asuka's Digimon Lab and Login Room
< ENV_0011: Asuka's Digimon Lab and Login Room
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 33 of file wstag924.c.
| void updateEvent1602 | ( | StageListMenu * | task, |
| StageListMenuChildren * | children | ||
| ) |
A list of up to eight options that each open a message.
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
< what is unavailable
< the map, its objects and characters, and the menus
Definition at line 59 of file wstag924.c.
Referenced by startEvent1602().
| void * startEvent1602 | ( | void | ) |
Starts event 1602, the starters' digivolutions: a list of Kotemon, Monmon, Kumamon, Renamon, Patamon, Agumon and Guilmon that each open a message.
Definition at line 180 of file wstag924.c.
| void updateEvent1604 | ( | StageListMenu * | task, |
| StageListMenuChildren * | children | ||
| ) |
A list of up to eight options that each open a message.
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
< what is unavailable
< the map, its objects and characters, and the menus
Definition at line 185 of file wstag924.c.
Referenced by startEvent1604().
| void * startEvent1604 | ( | void | ) |
Starts event 1604, tips on raising partners: a list of topics (Raise efficiently, Techniques, Growth limits...) that each open a message.
Definition at line 306 of file wstag924.c.
| s32 event1602WindowFrames |
Defined below, after the code that uses them.
MENU_SPRITES' frame of the list's window, by the number of options (5 to 8)
Definition at line 426 of file wstag924.c.
Referenced by updateEvent1602().
| s32 event1604WindowFrames |
MENU_SPRITES' frame of the list's window, by the number of options (5 to 8)
Definition at line 430 of file wstag924.c.
Referenced by updateEvent1604().
| ActorImage stageImages[] |
Definition at line 310 of file wstag924.c.
Referenced by setupStage().
| u16 actor0Talk0Actions[] = { (0x9000 | ( 0x6E )) , 1, 0xFFFF } |
Definition at line 325 of file wstag924.c.
| u16 actor1Talk0Actions[] = { (0x9000 | ( 0x6D )) , 1, 0xFFFF } |
Definition at line 326 of file wstag924.c.
| u16 actor5Talk0Actions[] = { 0x7C00, 1, 0xFFFF } |
Definition at line 327 of file wstag924.c.
| FieldTalk actor0Talks[] |
Definition at line 328 of file wstag924.c.
| FieldTalk actor1Talks[] |
Definition at line 332 of file wstag924.c.
| FieldTalk actor5Talks[] |
Definition at line 336 of file wstag924.c.
| FieldTalk actor6Talks[] |
Definition at line 340 of file wstag924.c.
| FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x20, 4, 220, 232, 1 } |
Definition at line 344 of file wstag924.c.
| FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x24, 5, 187, 215, 1 } |
Definition at line 345 of file wstag924.c.
| FieldActorEntry actor2 = { ((void *)0) , ((void *)0) , 0x59, 6, 300, 217, 5 } |
Definition at line 346 of file wstag924.c.
| FieldActorEntry actor3 = { ((void *)0) , ((void *)0) , 0x70, 7, 202, 241, 1 } |
Definition at line 347 of file wstag924.c.
| FieldActorEntry actor4 = { ((void *)0) , ((void *)0) , 0x71, 8, 169, 224, 1 } |
Definition at line 348 of file wstag924.c.
| FieldActorEntry actor5 = { ((void *)0) , actor5Talks, 0xFE, 9, 399, 248, 1 } |
Definition at line 349 of file wstag924.c.
| FieldActorEntry actor6 = { ((void *)0) , actor6Talks, 0x177, 0xA, 65, 263, 1 } |
Definition at line 350 of file wstag924.c.
| FieldActorEntry* stageActors[] |
Definition at line 351 of file wstag924.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 361 of file wstag924.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 413 of file wstag924.c.
Referenced by setupStage().
| StageFuncs stageFuncs | ( | void | ) | = { setupStage, startTween, updateTween } |
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 418 of file wstag924.c.
Referenced by updateEvent1602(), and updateEvent1604().
| FieldEvent stageEvents[] |
Definition at line 420 of file wstag924.c.
Referenced by setupStage().