|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG225: Login Room, Asuka 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/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
| #define | STAGE_FILE 0x19F |
| #define | STAGE_ARCHIVE 0x3CD |
Functions | |
| void | updateTileEffect (StageTileEffect *task) |
| Once the substate is set to 1, moves the map objects of animations 1-3 to (x, y), plays a sound and animates them once. | |
| void | handleCommand815 (StageTileEffect *task, s32 id) |
| Starts the effect at the place of map object 0x346 or 0x347. | |
| void * | createCommand815 (s32 arg) |
| Command 815 of the event scripts: the effect of event 5, the player's arrival at the Asuka Server. | |
| void * | createTileEffect (void) |
| Creates the arrival effect (updateTileEffect) without an id; nothing in the game calls it. | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of progress 1. | |
| void | endEvent5 (void) |
| After event 5, with Account Clerk: moves the story on to STORY_LOGGED_IN. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing the ambience ENV_0011; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28. | |
WSTAG225: Login Room, Asuka City.
Definition in file wstag225.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 145 of file wstag225.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
Definition at line 159 of file wstag225.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1) |
Definition at line 160 of file wstag225.c.
| #define STAGE_FILE 0x19F |
Definition at line 161 of file wstag225.c.
| #define STAGE_ARCHIVE 0x3CD |
Definition at line 162 of file wstag225.c.
| void updateTileEffect | ( | StageTileEffect * | task | ) |
Once the substate is set to 1, moves the map objects of animations 1-3 to (x, y), plays a sound and animates them once.
Definition at line 18 of file wstag225.c.
Referenced by createCommand815(), and createTileEffect().
| void handleCommand815 | ( | StageTileEffect * | task, |
| s32 | id | ||
| ) |
Starts the effect at the place of map object 0x346 or 0x347.
Definition at line 97 of file wstag225.c.
| void * createCommand815 | ( | s32 | arg | ) |
Command 815 of the event scripts: the effect of event 5, the player's arrival at the Asuka Server.
Definition at line 119 of file wstag225.c.
| void * createTileEffect | ( | void | ) |
Creates the arrival effect (updateTileEffect) without an id; nothing in the game calls it.
Definition at line 124 of file wstag225.c.
Referenced by updateStage().
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of progress 1.
Definition at line 129 of file wstag225.c.
| void endEvent5 | ( | void | ) |
After event 5, with Account Clerk: moves the story on to STORY_LOGGED_IN.
Definition at line 149 of file wstag225.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing the ambience ENV_0011; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.
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)
< 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)
< 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 168 of file wstag225.c.
| AnimFrame* updateTileEffectFrames[] |
Defined below, after the code that uses them.
Definition at line 264 of file wstag225.c.
Referenced by updateTileEffect().
| s8 tileEffectSortY[] |
Definition at line 267 of file wstag225.c.
Referenced by updateTileEffect().
| s8 tileEffectY[] |
Definition at line 270 of file wstag225.c.
Referenced by updateTileEffect().
| s16 tileEffectPlaces[][2] |
Definition at line 273 of file wstag225.c.
Referenced by handleCommand815().
| s16 script5[] |
Definition at line 195 of file wstag225.c.
| AnimFrame updateTileEffectFrames_0[] |
Definition at line 247 of file wstag225.c.
| AnimFrame updateTileEffectFrames_2[] |
Definition at line 251 of file wstag225.c.
| AnimFrame updateTileEffectFrames_1[] |
Definition at line 258 of file wstag225.c.
| ActorImage stageImages[] |
Definition at line 276 of file wstag225.c.
Referenced by setupStage().
| FieldTalk actor2Talks[] |
Definition at line 289 of file wstag225.c.
| FieldTalk actor3Talks[] |
Definition at line 293 of file wstag225.c.
| FieldTalk actor4Talks[] |
Definition at line 297 of file wstag225.c.
| FieldTalk actor5Talks[] |
Definition at line 301 of file wstag225.c.
| FieldTalk actor6Talks[] |
Definition at line 305 of file wstag225.c.
| FieldTalk actor7Talks[] |
Definition at line 309 of file wstag225.c.
| FieldTalk actor8Talks[] |
Definition at line 313 of file wstag225.c.
| FieldTalk actor9Talks[] |
Definition at line 317 of file wstag225.c.
| FieldTalk actor10Talks[] |
Definition at line 321 of file wstag225.c.
| FieldTalk actor11Talks[] |
Definition at line 325 of file wstag225.c.
| FieldTalk actor12Talks[] |
Definition at line 329 of file wstag225.c.
| FieldTalk actor13Talks[] |
Definition at line 333 of file wstag225.c.
| FieldTalk actor15Talks[] |
Definition at line 337 of file wstag225.c.
| u16 actor0Conditions[] = { (0x6000 | ( STORY_ACCOUNT_REGISTERED )) , 1, 0xFFFF } |
Definition at line 341 of file wstag225.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_ACCOUNT_REGISTERED )) , 1, 0xFFFF } |
Definition at line 342 of file wstag225.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF } |
Definition at line 343 of file wstag225.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 344 of file wstag225.c.
| u16 actor4Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
Definition at line 345 of file wstag225.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 346 of file wstag225.c.
| u16 actor6Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 347 of file wstag225.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 348 of file wstag225.c.
| u16 actor8Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF } |
Definition at line 349 of file wstag225.c.
| u16 actor9Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
Definition at line 350 of file wstag225.c.
| u16 actor10Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 351 of file wstag225.c.
| u16 actor11Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 352 of file wstag225.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 353 of file wstag225.c.
| u16 actor13Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 354 of file wstag225.c.
| u16 actor14Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF } |
Definition at line 355 of file wstag225.c.
| u16 actor15Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 356 of file wstag225.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
Definition at line 357 of file wstag225.c.
| FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xD, 5, 0, 0, 3 } |
Definition at line 358 of file wstag225.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 359 of file wstag225.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 360 of file wstag225.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 361 of file wstag225.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 362 of file wstag225.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 363 of file wstag225.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 364 of file wstag225.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 365 of file wstag225.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 366 of file wstag225.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 367 of file wstag225.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 368 of file wstag225.c.
| FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 369 of file wstag225.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x20, 6, 265, 397, 3 } |
Definition at line 370 of file wstag225.c.
| FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x6A, 7, 0, 0, 1 } |
Definition at line 371 of file wstag225.c.
| FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 8, 265, 397, 3 } |
Definition at line 372 of file wstag225.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 392 of file wstag225.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 406 of file wstag225.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 410 of file wstag225.c.
| FieldEvent stageEvents[] |
Definition at line 413 of file wstag225.c.
Referenced by setupStage().