|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG226: Login Room, Amaterasu City. More...
#include "common.h"#include "field/stage.h"#include "common/step_animation_once.inc.c"#include "common/reset_tile_effect.inc.c"#include "common/create_tile_effect.inc.c"#include "common/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 0x8 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_03) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
| #define | STAGE_FILE 0x4B8 |
Functions | |
| void | updateTileEffect (StageTileEffect *task) |
| Moves its map objects to (x, y) and animates them when the substate is set to 1. | |
| void | startTileEffect (StageTileEffect *task, s32 id) |
| Starts the effect at the place of map 0 or 1. | |
| void * | createTileEffectTask (void) |
| Creates the effect of map objects that startTileEffect sets off (updateTileEffect) | |
| void | updateStage (StageTask *task, void **children) |
| Creates the stage helper task and the event object of progress 0x25 when flag 0x4060 is set. | |
| void | endEvent935 (void) |
| After event 935, with Teddy, Kail and Kurt: moves the story on to STORY_PRESIDENT_ARRESTED. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set. | |
WSTAG226: Login Room, Amaterasu City.
On the Amaterasu server; its Asuka server twin is WSTAG225.
Definition in file wstag226.c.
| #define STAGE_CHILDREN_SIZE 0x8 |
Definition at line 144 of file wstag226.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_03) |
Definition at line 157 of file wstag226.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
Definition at line 158 of file wstag226.c.
| #define STAGE_FILE 0x4B8 |
Definition at line 159 of file wstag226.c.
| void updateTileEffect | ( | StageTileEffect * | task | ) |
Moves its map objects to (x, y) and animates them when the substate is set to 1.
Definition at line 19 of file wstag226.c.
Referenced by createTileEffect(), and createTileEffectTask().
| void startTileEffect | ( | StageTileEffect * | task, |
| s32 | id | ||
| ) |
Starts the effect at the place of map 0 or 1.
Definition at line 98 of file wstag226.c.
| void * createTileEffectTask | ( | void | ) |
Creates the effect of map objects that startTileEffect sets off (updateTileEffect)
Definition at line 119 of file wstag226.c.
Referenced by updateStage().
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the stage helper task and the event object of progress 0x25 when flag 0x4060 is set.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 124 of file wstag226.c.
| void endEvent935 | ( | void | ) |
After event 935, with Teddy, Kail and Kurt: moves the story on to STORY_PRESIDENT_ARRESTED.
Definition at line 148 of file wstag226.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing KANRIBGM; 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.
< 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)
< 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 165 of file wstag226.c.
| AnimFrame * updateTileEffectFrames |
Defined below, after the code that uses them.
Definition at line 340 of file wstag226.c.
Referenced by resetTileEffect(), and updateTileEffect().
| s8 tileEffectSortY |
Definition at line 343 of file wstag226.c.
Referenced by updateTileEffect().
| s8 tileEffectY |
Definition at line 346 of file wstag226.c.
Referenced by updateTileEffect().
| s16 tileEffectPlaces |
Definition at line 349 of file wstag226.c.
Referenced by startTileEffect().
| s16 script935[] |
Definition at line 188 of file wstag226.c.
| AnimFrame updateTileEffectFrames_0[] |
Definition at line 323 of file wstag226.c.
| AnimFrame updateTileEffectFrames_2[] |
Definition at line 327 of file wstag226.c.
| AnimFrame updateTileEffectFrames_1[] |
Definition at line 334 of file wstag226.c.
| ActorImage stageImages[] |
Definition at line 352 of file wstag226.c.
Referenced by setupStage().
| u16 actor3Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 0, 0xFFFF } |
Definition at line 368 of file wstag226.c.
| u16 actor3Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 1, 0xFFFF } |
Definition at line 369 of file wstag226.c.
| u16 actor6Talk0Conditions[] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 370 of file wstag226.c.
| u16 actor6Talk0Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 371 of file wstag226.c.
| u16 actor6Talk1Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 372 of file wstag226.c.
| u16 actor9Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 0, 0xFFFF } |
Definition at line 373 of file wstag226.c.
| u16 actor9Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 1, 0xFFFF } |
Definition at line 374 of file wstag226.c.
| FieldTalk actor3Talks[] |
Definition at line 375 of file wstag226.c.
| FieldTalk actor4Talks[] |
Definition at line 380 of file wstag226.c.
| FieldTalk actor5Talks[] |
Definition at line 384 of file wstag226.c.
| FieldTalk actor6Talks[] |
Definition at line 388 of file wstag226.c.
| FieldTalk actor7Talks[] |
Definition at line 393 of file wstag226.c.
| FieldTalk actor8Talks[] |
Definition at line 397 of file wstag226.c.
| FieldTalk actor9Talks[] |
Definition at line 401 of file wstag226.c.
| FieldTalk actor10Talks[] |
Definition at line 406 of file wstag226.c.
| u16 actor0Conditions[] |
Definition at line 410 of file wstag226.c.
| u16 actor1Conditions[] |
Definition at line 415 of file wstag226.c.
| u16 actor2Conditions[] |
Definition at line 420 of file wstag226.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 425 of file wstag226.c.
| u16 actor4Conditions[] |
Definition at line 426 of file wstag226.c.
| u16 actor5Conditions[] = { (0x8000 | ( 4 ) << 9 | ( 0x2B )), 1, (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 431 of file wstag226.c.
| u16 actor6Conditions[] |
Definition at line 432 of file wstag226.c.
| u16 actor7Conditions[] |
Definition at line 437 of file wstag226.c.
| u16 actor8Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 442 of file wstag226.c.
| u16 actor9Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 443 of file wstag226.c.
| u16 actor10Conditions[] |
Definition at line 444 of file wstag226.c.
| u16 actor11Conditions[] |
Definition at line 449 of file wstag226.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
Definition at line 454 of file wstag226.c.
| FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xB, 5, 0, 0, 1 } |
Definition at line 455 of file wstag226.c.
| FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0xC, 6, 0, 0, 1 } |
Definition at line 456 of file wstag226.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0xC, 6, 208, 376, 7 } |
Definition at line 457 of file wstag226.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 7, 265, 397, 3 } |
Definition at line 458 of file wstag226.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 7, 265, 397, 3 } |
Definition at line 459 of file wstag226.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x68, 8, 255, 352, 7 } |
Definition at line 460 of file wstag226.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9D, 9, 265, 397, 3 } |
Definition at line 461 of file wstag226.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x9D, 9, 265, 397, 3 } |
Definition at line 462 of file wstag226.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xB2, 0xA, 277, 363, 3 } |
Definition at line 463 of file wstag226.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x13D, 0xB, 255, 352, 7 } |
Definition at line 464 of file wstag226.c.
| FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x13D, 0xB, 0, 0, 1 } |
Definition at line 465 of file wstag226.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 481 of file wstag226.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 495 of file wstag226.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 499 of file wstag226.c.
| FieldEvent stageEvents[] |
Definition at line 502 of file wstag226.c.
Referenced by setupStage().